![]() |
MaCh3
2.2.3
Reference Guide
|
EW: As SampleHandlerBase is an abstract base class we have to do some gymnastics to get it to get it into python. More...
Public Member Functions | |
std::string | GetSampleName (int iSample) const override |
void | Reweight () override |
void | CleanMemoryBeforeFit () override |
Allow to clean not used memory before fit starts. More... | |
double | GetLikelihood () override |
SampleHandlerBase () | |
The main constructor. More... | |
![]() | |
SampleHandlerBase () | |
The main constructor. More... | |
virtual | ~SampleHandlerBase () |
destructor More... | |
virtual M3::int_t | GetNsamples () |
virtual std::string | GetTitle () const |
virtual double | GetSampleLikelihood (const int isample) |
virtual void | SaveAdditionalInfo (TDirectory *Dir) |
Store additional info in a chan. More... | |
MaCh3Modes * | GetMaCh3Modes () const |
Return pointer to MaCh3 modes. More... | |
unsigned int | GetNEvents () const |
virtual int | GetNOscChannels () |
virtual void | SetupBinning (const M3::int_t Selection, std::vector< double > &BinningX, std::vector< double > &BinningY) |
virtual TH1 * | GetData (const int Selection) |
virtual TH2Poly * | GetW2 (const int Selection) |
virtual TH1 * | GetPDF (const int Selection) |
virtual TH1 * | GetPDFMode (const int Selection, const int Mode) |
virtual std::string | GetKinVarLabel (const int sample, const int Dimension) |
double | GetPoissonLLH (const double data, const double mc) const |
Calculate test statistic for a single bin using Poisson. More... | |
double | GetTestStatLLH (const double data, const double mc, const double w2) const |
Calculate test statistic for a single bin. Calculation depends on setting of fTestStatistic . Data and mc -> 0 cut-offs are defined in M3::LOW_MC_BOUND. More... | |
void | SetTestStatistic (TestStatistic testStat) |
Set the test statistic to be used when calculating the binned likelihoods. More... | |
Additional Inherited Members | |
![]() | |
void | QuietPlease () |
CW: Redirect std::cout to silence some experiment specific libraries. More... | |
void | NowTalk () |
CW: Redirect std::cout to silence some experiment specific libraries. More... | |
template<typename T > | |
bool | MatchCondition (const std::vector< T > &allowedValues, const T &value) |
check if event is affected by following conditions, for example pdg, or modes etc More... | |
![]() | |
TestStatistic | fTestStatistic |
Test statistic tells what kind of likelihood sample is using. More... | |
std::streambuf * | buf |
Keep the cout buffer. More... | |
std::streambuf * | errbuf |
Keep the cerr buffer. More... | |
M3::int_t | nSamples |
Contains how many samples we've got. More... | |
unsigned int | nEvents |
Number of MC events are there. More... | |
std::unique_ptr< MaCh3Modes > | Modes |
Holds information about used Generator and MaCh3 modes. More... | |
EW: As SampleHandlerBase is an abstract base class we have to do some gymnastics to get it to get it into python.
Definition at line 10 of file samples.cpp.
|
inlineoverridevirtual |
Allow to clean not used memory before fit starts.
Implements SampleHandlerBase.
Definition at line 35 of file samples.cpp.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements SampleHandlerBase.
Definition at line 16 of file samples.cpp.
|
inlineoverridevirtual |
SampleHandlerBase::SampleHandlerBase |
The main constructor.
Definition at line 29 of file SampleHandlerBase.cpp.