31 if (fFitInfo !=
NULL) {
40 void FrequentistCalculator::PostHook()
const {
57 bool doProfile =
true;
69 if( remain.getSize() == 0 ) doProfile =
false;
150 bool doProfile =
true;
162 if( remain.getSize() == 0 ) doProfile =
false;
virtual RooAbsReal * createNLL(RooAbsData &data, const RooLinkedList &cmdList)
Construct representation of -log(L) of PDFwith given dataset.
RooCmdArg Offset(Bool_t flag=kTRUE)
RooAbsPdf * GetPdf() const
get model PDF (return NULL if pdf has not been specified or does not exist)
Class RooProfileLL implements the profile likelihood estimator for a given likelihood and set of para...
void SetToysLeftTail(Double_t toys, Double_t threshold)
virtual void SetGlobalObservables(const RooArgSet &o)
const RooArgSet * GetConditionalObservables() const
get RooArgSet for conditional observables (return NULL if not existing)
const RooArgSet * GetGlobalObservables() const
get RooArgSet for global observables (return NULL if not existing)
RooCmdArg CloneData(Bool_t flag)
const RooArgSet * fConditionalMLEsAlt
int PreNullHook(RooArgSet *parameterPoint, double obsTestStat) const
configure TestStatSampler for the Null run
static RooMsgService & instance()
Return reference to singleton instance.
const RooArgSet * GetNuisanceParameters() const
get RooArgSet containing the nuisance parameters (return NULL if not existing)
void SetToysRightTail(Double_t toys, Double_t threshold)
void SetToysBothTails(Double_t toys, Double_t low_threshold, Double_t high_threshold)
virtual Bool_t addOwned(RooAbsArg &var, Bool_t silent=kFALSE)
Add element to an owning set.
TestStatSampler * GetTestStatSampler(void) const
void LoadSnapshot() const
Double_t getVal(const RooArgSet *set=0) const
int PreAltHook(RooArgSet *parameterPoint, double obsTestStat) const
configure TestStatSampler for the Alt run
RooArgSet * getParameters(const RooAbsData *data, Bool_t stripDisconnected=kTRUE) const
Create a list of leaf nodes in the arg tree starting with ourself as top node that don't match any of...
const ModelConfig * fNullModel
RooFit::MsgLevel globalKillBelow() const
virtual void SetNToys(const Int_t ntoy)
const ModelConfig * GetNullModel(void) const
void setGlobalKillBelow(RooFit::MsgLevel level)
ToyMCSampler is an implementation of the TestStatSampler interface.
Namespace for the RooStats classes.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Mother of all ROOT objects.
virtual Bool_t remove(const RooAbsArg &var, Bool_t silent=kFALSE, Bool_t matchByNameOnly=kFALSE)
Remove the specified argument from our list.
void RemoveConstantParameters(RooArgSet *set)
const ModelConfig * fAltModel
virtual RooAbsReal * createProfile(const RooArgSet ¶msOfInterest)
Create a RooProfileLL object that eliminates all nuisance parameters in the present function...
Hypothesis Test Calculator using a full frequentist procedure for sampling the test statistic distrib...
const RooArgSet * fConditionalMLEsNull
static RooArgSet * GetAsArgSet(RooFitResult *result, TString prefix="", bool withErrorsAndPulls=false)
RooCmdArg ConditionalObservables(const RooArgSet &set)
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Add element to non-owning set.
RooCmdArg Constrain(const RooArgSet ¶ms)