76 if (hist->
weight(parameterPoint, 0) > 0) {
87 thisPoint = tree->
get(i);
88 bool samePoint =
true;
90 if(samePoint ==
false)
92 if(myarg->getVal() != thisPoint->
getRealValue(myarg->GetName()))
101 coutE(InputArguments) <<
"dataset is not initialized properly" << std::endl;
121 coutE(InputArguments) <<
"PointSetInterval: argument size is wrong, parameters don't match: arg=" << parameterPoint
126 coutE(InputArguments) <<
"PointSetInterval: size is ok, but parameters don't match" << std::endl;
ROOT::RRangeCast< T, false, Range_t > static_range_cast(Range_t &&coll)
int Int_t
Signed integer 4 bytes (int).
bool equals(const RooAbsCollection &otherColl) const
Check if this and other collection have identically-named contents.
double getRealValue(const char *name, double defVal=0.0, bool verbose=false) const
Get value of a RooAbsReal stored in set with given name.
Storage_t::size_type size() const
Abstract base class for binned and unbinned datasets.
bool getRange(const RooAbsRealLValue &var, double &lowest, double &highest, double marginFrac=0.0, bool symMode=false) const
Fill Doubles 'lowest' and 'highest' with the lowest and highest value of observable 'var' in this dat...
virtual Int_t numEntries() const
Return number of entries in dataset, i.e., count unweighted entries.
virtual double getMax(const char *name=nullptr) const
Get maximum of currently defined range.
virtual double getMin(const char *name=nullptr) const
Get minimum of currently defined range.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Container class to hold N-dimensional binned data.
double weight(std::size_t i) const
Return weight of i-th bin.
Container class to hold unbinned data.
const RooArgSet * get(Int_t index) const override
Return RooArgSet with coordinates of event 'index'.
Variable that can be changed from the outside.
ConfInterval(const char *name=nullptr)
constructor given name and title
double UpperLimit(RooRealVar ¶m)
return upper limit on a given parameter
bool IsInInterval(const RooArgSet &) const override
check if parameter is in the interval
PointSetInterval(const char *name=nullptr)
default constructors
RooArgSet * GetParameters() const override
return a cloned list with the parameter of interest
bool CheckParameters(const RooArgSet &) const override
return a cloned list with the parameter of interest
RooAbsData * fParameterPointsInInterval
either a histogram (RooDataHist) or a tree (RooDataSet)
double fConfidenceLevel
confidence level
double LowerLimit(RooRealVar ¶m)
return lower limit on a given parameter
Namespace for the RooStats classes.