55 , fParameters(other.fParameters)
56 , fLowerLimit(other.fLowerLimit)
57 , fUpperLimit(other.fUpperLimit)
58 , fConfidenceLevel(other.fConfidenceLevel)
88 ConfInterval(
name), fParameters(var), fLowerLimit(lower), fUpperLimit(upper), fConfidenceLevel(cl)
107 if(parameterPoint.
getSize() != 1 )
134 std::cout <<
"size is wrong, parameters don't match" << std::endl;
138 std::cout <<
"size is ok, but parameters don't match" << std::endl;
bool equals(const RooAbsCollection &otherColl) const
Check if this and other collection have identically-named contents.
virtual void removeAll()
Remove all arguments from our set, deleting them if we own them.
Int_t getSize() const
Return the number of elements in the collection.
virtual bool add(const RooAbsArg &var, bool silent=false)
Add the specified argument to list.
RooAbsArg * first() const
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
double getVal(const RooArgSet *normalisationSet=nullptr) const
Evaluate object.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooRealVar represents a variable that can be changed from the outside.
ConfInterval is an interface class for a generic interval in the RooStats framework.
ConfInterval & operator=(const ConfInterval &other)
operator=
SimpleInterval is a concrete implementation of the ConfInterval interface.
double fUpperLimit
upper interval limit
SimpleInterval(const char *name=nullptr)
default constructor
RooArgSet fParameters
set containing the parameter of interest
bool IsInInterval(const RooArgSet &) const override
check if parameter is in the interval
double fLowerLimit
lower interval limit
~SimpleInterval() override
destructor
RooArgSet * GetParameters() const override
return a cloned list with the parameter of interest
bool CheckParameters(const RooArgSet &) const override
check if parameters are correct (i.e. they are the POI of this interval)
double fConfidenceLevel
confidence level
SimpleInterval & operator=(const SimpleInterval &other)
default constructor
Namespace for the RooStats classes.