51 _plc(0),_ul(0),_poi(0), _data(0),_cl(CL), _model(0)
53 std::cout<<
"RooUpperLimitConstructor ParName:"<<
_parName<<std::endl;
54 std::cout<<
"RooUpperLimitConstructor CL:"<<
_cl<<std::endl;
101 coutE(
InputArguments) <<
"UpperLimitMCSModule::initializeInstance:: ERROR: No parameter named " <<
_parName <<
" in RooMCStudy!" << endl ;
107 std::cout<<
"RooUpperLimit Initialize Instance: POI Set:"<<std::endl;
109 std::cout<<
"RooUpperLimit Initialize Instance: End:"<<std::endl;
114 TString ulTitle =
Form(
"UL for parameter %s",
_parName.c_str()) ;
175 std::cout<<
"after generation Test"<<std::endl;
193 if (!pllint)
return kFALSE;
208 std::cout<<
"UL:"<<
_ul->
getVal()<<std::endl;
virtual const char * GetName() const
Returns name of object.
std::string GetName(const std::string &scope_name)
RooAbsMCStudyModule is a base class for add-on modules to RooMCStudy that can perform additional calc...
virtual LikelihoodInterval * GetInterval() const
Return a likelihood interval.
LikelihoodInterval is a concrete implementation of the RooStats::ConfInterval interface.
virtual void SetTestSize(Double_t size)
set the size of the test (rate of Type I error) ( Eg. 0.05 for a 95% Confidence Interval) ...
Double_t getVal(const RooArgSet *set=0) const
ProfileLikelihoodCalculator is a concrete implementation of CombinedCalculator (the interface class f...
Bool_t initializeRun(Int_t)
Initialize module at beginning of RooCMStudy run.
This class allow to compute in the ToyMcStudy framework the ProfileLikelihood upper limit for each to...
virtual ~UpperLimitMCSModule()
Destructor.
RooDataSet * finalizeRun()
Return auxiliary dataset with results of delta(-log(L)) calculations of this module so that it is mer...
virtual void Print(Option_t *options=0) const
This method must be overridden when a class wants to print itself.
RooRealVar represents a fundamental (non-derived) real valued object.
virtual void setVal(Double_t value)
Set value of variable to 'value'.
RooArgSet * fitInitParams()
RooAbsArg * first() const
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...
RooStats::ProfileLikelihoodCalculator * _plc
ConfInterval is an interface class for a generic interval in the RooStats framework.
Namespace for the RooStats classes.
RooAbsArg * find(const char *name) const
Find object with given name in list.
Bool_t initializeInstance()
Initialize module after attachment to RooMCStudy object.
Bool_t processBetweenGenAndFit(Int_t)
UpperLimitMCSModule(const RooArgSet *poi, Double_t CL=0.95)
virtual Int_t numEntries() const