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;
99 for (
auto const *myarg : static_range_cast<RooRealVar *>(parameterPoint)) {
100 if(samePoint ==
false)
102 if(myarg->getVal() != thisPoint->
getRealValue(myarg->GetName()))
111 std::cout <<
"dataset is not initialized properly" << std::endl;
131 std::cout <<
"PointSetInterval: argument size is wrong, parameters don't match: arg=" << parameterPoint
136 std::cout <<
"PointSetInterval: size is ok, but parameters don't match" << std::endl;
148 double low = 0, high = 0;
150 tree->getRange(param, low, high);
161 double low = 0, high = 0;
163 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.
Int_t getSize() const
Return the number of elements in the collection.
RooAbsData is the common 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.
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.
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
~PointSetInterval() override
destructor
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.