59 ConfInterval(
name), fConfidenceLevel(0.95), fParameterPointsInInterval(&data)
87 if ( hist->
weight( parameterPoint , 0 ) > 0 )
95 for(
Int_t i = 0; i<
tree->numEntries(); ++i){
97 thisPoint =
tree->get(i);
98 bool samePoint =
true;
113 std::cout <<
"dataset is not initialized properly" << std::endl;
133 std::cout <<
"PointSetInterval: argument size is wrong, parameters don't match: arg=" << parameterPoint
138 std::cout <<
"PointSetInterval: size is ok, but parameters don't match" << std::endl;
152 tree->getRange(param, low, high);
165 tree->getRange(param, low, high);
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 equals(const RooAbsCollection &otherColl) const
Check if this and other collection have identically-named contents.
TIterator * createIterator(Bool_t dir=kIterForward) const
TIterator-style iteration over contained elements.
RooAbsData is the common abstract base class for binned and unbinned datasets.
virtual const RooArgSet * get() const
virtual Double_t getMax(const char *name=0) const
Get maximum of currently defined range.
virtual Double_t getMin(const char *name=0) const
Get miniminum of currently defined range.
Double_t getVal(const RooArgSet *normalisationSet=nullptr) const
Evaluate object.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
The RooDataHist is a container class to hold N-dimensional binned data.
double weight(std::size_t i) const
Return weight of i-th bin.
RooDataSet is a container class to hold unbinned data.
RooRealVar represents a variable that can be changed from the outside.
ConfInterval is an interface class for a generic interval in the RooStats framework.
PointSetInterval is a concrete implementation of the ConfInterval interface.
Bool_t CheckParameters(const RooArgSet &) const
return a cloned list with the parameter of interest
PointSetInterval(const char *name=0)
default constructors
Double_t UpperLimit(RooRealVar ¶m)
return upper limit on a given parameter
Double_t LowerLimit(RooRealVar ¶m)
return lower limit on a given parameter
virtual Bool_t IsInInterval(const RooArgSet &) const
check if parameter is in the interval
virtual ~PointSetInterval()
destructor
virtual RooArgSet * GetParameters() const
Method to return lower limit on a given parameter Double_t LowerLimit(RooRealVar& param) ; // could p...
RooAbsData * fParameterPointsInInterval
confidence level
virtual const char * GetName() const
Returns name of object.
Namespace for the RooStats classes.