40 using namespace RooStats ;
46 _parName(poi->
first()->GetName()),
47 _plc(0),_ul(0),_poi(0), _data(0),_cl(CL), _model(0)
49 std::cout<<
"RooUpperLimitConstructor ParName:"<<
_parName<<std::endl;
50 std::cout<<
"RooUpperLimitConstructor CL:"<<
_cl<<std::endl;
62 _parName(other._poi->
first()->GetName()),
63 _plc(0),_ul(0),_poi(other._poi), _data(0), _cl(other._cl), _model(other._model)
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;
182 std::cout<<
"after generation Test"<<std::endl;
200 if (!pllint)
return kFALSE;
215 std::cout<<
"UL:"<<
_ul->
getVal()<<std::endl;
RooAbsMCStudyModule is a base class for add-on modules to RooMCStudy that can perform additional calc...
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) ...
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 LikelihoodInterval * GetInterval() const
Return a likelihood interval.
const char * Data() const
RooAbsArg * first() const
virtual ~UpperLimitMCSModule()
Destructor.
RooDataSet * finalizeRun()
Return auxiliary dataset with results of delta(-log(L)) calculations of this module so that it is mer...
Double_t getVal(const RooArgSet *set=0) const
RooRealVar represents a fundamental (non-derived) real valued object.
virtual void setVal(Double_t value)
Set value of variable to 'value'.
RooArgSet * fitInitParams()
RooAbsArg * find(const char *name) const
Find object with given name in list.
virtual void Print(Option_t *options=0) const
This method must be overridden when a class wants to print itself.
virtual Int_t numEntries() 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.
ClassImp(RooStats::UpperLimitMCSModule)
Bool_t initializeInstance()
Initialize module after attachment to RooMCStudy object.
Bool_t processBetweenGenAndFit(Int_t)
UpperLimitMCSModule(const RooArgSet *poi, Double_t CL=0.95)