59 _data(0), _nll0h(0), _dll0h(0), _sig0h(0), _nullValue(nullHypoValue)
118 coutE(
InputArguments) <<
"RooDLLSignificanceMCSModule::initializeInstance:: ERROR: No parameter named " <<
_parName <<
" in RooMCStudy!" << endl ;
123 TString nll0hName =
Form(
"nll_nullhypo_%s",
_parName.c_str()) ;
124 TString nll0hTitle =
Form(
"-log(L) with null hypothesis for param %s",
_parName.c_str()) ;
128 TString dll0hName =
Form(
"dll_nullhypo_%s",
_parName.c_str()) ;
129 TString dll0hTitle =
Form(
"-log(L) difference w.r.t null hypo for param %s",
_parName.c_str()) ;
133 TString sig0hName =
Form(
"significance_nullhypo_%s",
_parName.c_str()) ;
134 TString sig0hTitle =
Form(
"Gaussian signficiance of Delta(-log(L)) w.r.t null hypo for param %s",
_parName.c_str()) ;
138 _data =
new RooDataSet(
"DeltaLLSigData",
"Additional data for Delta(-log(L)) study",
RooArgSet(*_nll0h,*_dll0h,*_sig0h)) ;
std::string GetName(const std::string &scope_name)
RooAbsMCStudyModule is a base class for add-on modules to RooMCStudy that can perform additional calc...
Double_t getVal(const RooArgSet *set=0) const
Bool_t initializeInstance()
Initialize module after attachment to RooMCStudy object.
RooDLLSignificanceMCSModule is an add-on modules to RooMCStudy that calculates the significance of a ...
RooDataSet * finalizeRun()
Return auxiliary dataset with results of delta(-log(L)) calculations of this module so that it is mer...
Bool_t processAfterFit(Int_t)
Save likelihood from nominal fit, fix chosen parameter to its null hypothesis value and rerun fit Sav...
RooRealVar represents a fundamental (non-derived) real valued object.
virtual void setVal(Double_t value)
Set value of variable to 'value'.
void setConstant(Bool_t value=kTRUE)
char * Form(const char *fmt,...)
RooDataSet is a container class to hold unbinned data.
virtual void add(const RooArgSet &row, Double_t weight=1.0, Double_t weightError=0)
Add a data point, with its coordinates specified in the 'data' argset, to the data set...
RooDLLSignificanceMCSModule(const RooRealVar ¶m, Double_t nullHypoValue=0)
Constructor of module with parameter to be interpreted as nSignal and the value of the null hypothesi...
RooAbsArg * find(const char *name) const
Find object with given name in list.
Bool_t initializeRun(Int_t)
Initialize module at beginning of RooCMStudy run.
virtual ~RooDLLSignificanceMCSModule()
Destructor.
RooFitResult * refit(RooAbsData *inGenSample=0)