31    if (fFitInfo != 
NULL) {
    48    RooArgSet * allParams = fNullModel->GetPdf()->getParameters(*fData);
    57    bool doProfile = 
true;
    59    if( fNullModel->GetNuisanceParameters() ) {
    60       allButNuisance.
remove(*fNullModel->GetNuisanceParameters());
    61       if( fConditionalMLEsNull ) {
    63          *allParams = *fConditionalMLEsNull;
    65          allButNuisance.
add( *fConditionalMLEsNull );
    66          if (fNullModel->GetNuisanceParameters()) {
    67             RooArgSet remain(*fNullModel->GetNuisanceParameters());
    68             remain.
remove(*fConditionalMLEsNull,
true,
true);
    69             if( remain.getSize() == 0 ) doProfile = 
false;
    81       if (fNullModel->GetConditionalObservables()) conditionalObs.
add(*fNullModel->GetConditionalObservables());
    92          fFitInfo->addOwned(*detOutput);
   103    if(fNullModel->GetNuisanceParameters())
   104       parameterPoint->
add(*fNullModel->GetNuisanceParameters());
   118       if(fNToysNull >= 0) toymcs->
SetNToys(fNToysNull);
   126          if(GetTestStatSampler()->GetTestStatistic()->PValueIsRightTail()) {
   135       GetNullModel()->LoadSnapshot();
   147    RooArgSet * allParams = fAltModel->GetPdf()->getParameters(*fData);
   150    bool doProfile = 
true;
   152    if( fAltModel->GetNuisanceParameters() ) {
   153       allButNuisance.
remove(*fAltModel->GetNuisanceParameters());
   154       if( fConditionalMLEsAlt ) {
   156          *allParams = *fConditionalMLEsAlt;
   158          allButNuisance.
add( *fConditionalMLEsAlt );
   159          if (fAltModel->GetNuisanceParameters()) {
   160             RooArgSet remain(*fAltModel->GetNuisanceParameters());
   161             remain.
remove(*fConditionalMLEsAlt,
true,
true);
   162             if( remain.getSize() == 0 ) doProfile = 
false;
   174       if (fAltModel->GetConditionalObservables()) conditionalObs.
add(*fAltModel->GetConditionalObservables());
   186          fFitInfo->addOwned(*detOutput);
   197    if(fAltModel->GetNuisanceParameters())
   198       parameterPoint->
add(*fAltModel->GetNuisanceParameters());
   213       if(fNToysAlt >= 0) toymcs->
SetNToys(fNToysAlt);
   221          if(GetTestStatSampler()->GetTestStatistic()->PValueIsRightTail()) {
 RooCmdArg Offset(Bool_t flag=kTRUE)
 
virtual Bool_t add(const RooAbsCollection &col, Bool_t silent=kFALSE)
Add a collection of arguments to this collection by calling add() for each element in the source coll...
 
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)
 
RooCmdArg CloneData(Bool_t flag)
 
Double_t getVal(const RooArgSet *set=0) const
 
RooFit::MsgLevel globalKillBelow() const
 
static RooMsgService & instance()
Return reference to singleton instance. 
 
void SetToysRightTail(Double_t toys, Double_t threshold)
 
void SetToysBothTails(Double_t toys, Double_t low_threshold, Double_t high_threshold)
 
virtual void SetNToys(const Int_t ntoy)
 
int PreNullHook(RooArgSet *parameterPoint, double obsTestStat) const
configure TestStatSampler for the Null run 
 
int PreAltHook(RooArgSet *parameterPoint, double obsTestStat) const
configure TestStatSampler for the Alt run 
 
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)
 
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...
 
static RooArgSet * GetAsArgSet(RooFitResult *result, TString prefix="", bool withErrorsAndPulls=false)
 
RooCmdArg ConditionalObservables(const RooArgSet &set)
 
RooCmdArg Constrain(const RooArgSet ¶ms)