Skip to content
Snippets Groups Projects
user avatar
Lorenzo Moneta authored
* New user interface:

The old user interface was very hard to use, and the documentation in the source was also not on par with the correct usage. The old interface was a single get-function with 12 arguments, and the user was supposed to figure out which ~ 5 arguments were relevant for a specific model (1 out of 7 models).
The new user interface is is easy to use correctly and hard to use incorrectly (TM). It's a single set-method for each method:

SetPoissonBkgBinomialEff(Int_t x,Int_t y,Int_t z,Double_t tau,Int_t m);
SetPoissonBkgGaussianEff(Int_t x,Int_t y,Double_t em, Double_t tau,Double_t sde);
SetGaussianBkgGaussianEff(Int_t x,Double_t bm,Double_t em, Double_t sde,Double_t sdb);
SetPoissondBkgknownEff(Int_t x,Int_t y,Double_t tau,Double_t e);
SetGaussianBkgknownEff(Int_t x,Double_t bm,Double_t sdb,Double_t e);
SetKnownBkgBinomialEff(Int_t x, Int_t z,Int_t m,Double_t b);
SetknownBkgGaussianEff(Int_t x,Double_t em,Double_t sde,Double_t b);


* New methods for getting:

- 'sensitivity' (average limits) and related quantities
- 'critical number' related to rejection of the null-hypothesis
 (no signal).

* Bug fixes. There was a few bugs in that some variables was used
 uninitialized. (Eg, input arguments which were not supposed to be
 used were used anyway.)


git-svn-id: http://root.cern.ch/svn/root/trunk@27566 27541ba8-7e3a-0410-8455-c3a389f83636
b0899086
History
Name Last commit Last update
..