48 TNamed(), fParameterPoints(0)
94 if(cl>0 || leftside > 0) cout <<
"using default cl, leftside for now" <<endl;
102 if(cl>0 || leftside > 0) cout <<
"using default cl, leftside for now" <<endl;
110 vector<Double_t> levels;
119 if(cl>0 || leftside > 0) cout <<
"using default cl, leftside for now" <<endl;
127 std::cout <<
"problem with parameters" << std::endl;
134 cout <<
"lookup index = " << luIndex << endl;
144 int index = hist->
getIndex(parameterPoint);
176 if(cl>0 || leftside > 0) cout <<
"using default cl, leftside for now" <<endl;
182 std::cout <<
"problem with parameters" << std::endl;
191 int index = hist->
getIndex(parameterPoint);
200 tree->
add( parameterPoint );
215 if(cl>0 || leftside > 0) cout <<
"using default cl, leftside for now" <<endl;
221 std::cout <<
"problem with parameters" << std::endl;
231 int index = hist->
getIndex(parameterPoint);
239 for(index=0; index<tree->
numEntries(); ++index){
240 thisPoint = tree->
get(index);
241 bool samePoint =
true;
255 std::cout <<
"dataset is not initialized properly" << std::endl;
275 std::cout <<
"size is wrong, parameters don't match" << std::endl;
279 std::cout <<
"size is ok, but parameters don't match" << std::endl;
virtual const char * GetName() const
Returns name of object.
TIterator * createIterator(Bool_t dir=kIterForward) const
ConfidenceBelt()
Default constructor.
virtual const RooArgSet * get() const
AcceptanceRegion * GetAcceptanceRegion(RooArgSet &, Double_t cl=-1., Double_t leftside=-1.)
Method to determine if a parameter point is in the interval.
Double_t getVal(const RooArgSet *set=0) const
void Add(Double_t cl, Double_t leftside)
Int_t getIndex(const RooArgSet &coord, Bool_t fast=kFALSE)
Bool_t equals(const RooAbsCollection &otherColl) const
Check if this and other collection have identically named contents.
virtual ~ConfidenceBelt()
Destructor.
void AddAcceptanceRegion(RooArgSet &, AcceptanceRegion region, Double_t cl=-1., Double_t leftside=-1.)
RooDataSet is a container class to hold N-dimensional binned data.
virtual RooArgSet * GetParameters() const
returns list of parameters
The TNamed class is the base class for all named ROOT classes.
ConfidenceBelt is a concrete implementation of the ConfInterval interface.
SamplingSummaryLookup fSamplingSummaryLookup
RooRealVar represents a fundamental (non-derived) real valued object.
Int_t GetLookupIndex(Double_t cl, Double_t leftside)
RooAbsData * fParameterPoints
RooAbsData is the common abstract base class for binned and unbinned datasets.
RooDataSet is a container class to hold unbinned data.
virtual const RooArgSet * get(Int_t index) const
Return RooArgSet with coordinates of event 'index'.
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...
Namespace for the RooStats classes.
virtual Int_t numEntries() const
Return the number of bins.
std::vector< Double_t > ConfidenceLevels() const
virtual TObject * Clone(const char *newname="") const
Make a clone of an object using the Streamer facility.
Double_t getRealValue(const char *name, Double_t defVal=0, Bool_t verbose=kFALSE) const
Get value of a RooAbsReal stored in set with given name.
Bool_t CheckParameters(RooArgSet &) const
Double_t GetAcceptanceRegionMax(RooArgSet &, Double_t cl=-1., Double_t leftside=-1.)
std::vector< SamplingSummary > fSamplingSummaries
virtual Int_t numEntries() const
Double_t GetAcceptanceRegionMin(RooArgSet &, Double_t cl=-1., Double_t leftside=-1.)