50 ConfInterval(
name), fConfidenceLevel(0.95), fParameterPointsInInterval(nullptr)
76 if (hist->
weight(parameterPoint, 0) > 0) {
85 for(
Int_t i = 0; i<tree->numEntries(); ++i){
87 thisPoint = tree->get(i);
88 bool samePoint =
true;
89 for (
auto const *myarg : static_range_cast<RooRealVar *>(parameterPoint)) {
90 if(samePoint ==
false)
92 if(myarg->getVal() != thisPoint->
getRealValue(myarg->GetName()))
101 std::cout <<
"dataset is not initialized properly" << std::endl;
121 std::cout <<
"PointSetInterval: argument size is wrong, parameters don't match: arg=" << parameterPoint
126 std::cout <<
"PointSetInterval: size is ok, but parameters don't match" << std::endl;
141 tree->getRange(param, low, high);
155 tree->getRange(param, low, high);
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
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.
virtual const RooArgSet * get() const
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.
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.
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 LowerLimit(RooRealVar ¶m)
return lower limit on a given parameter
Namespace for the RooStats classes.