44SimpleInterval::SimpleInterval(
const char*
name) :
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;
virtual void removeAll()
Remove all arguments from our set, deleting them if we own them.
RooAbsArg * first() const
Bool_t equals(const RooAbsCollection &otherColl) const
Check if this and other collection have identically-named contents.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Double_t getVal(const RooArgSet *normalisationSet=nullptr) const
Evaluate object.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
virtual Bool_t add(const RooAbsCollection &col, Bool_t silent=kFALSE)
Add a collection of arguments to this collection by calling add() for each element in the source coll...
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.
virtual Bool_t IsInInterval(const RooArgSet &) const
Method to determine if a parameter point is in the interval.
virtual ~SimpleInterval()
Destructor.
SimpleInterval(const char *name=0)
Default constructor.
virtual RooArgSet * GetParameters() const
return cloned list of parameters
Bool_t CheckParameters(const RooArgSet &) const
check if parameters are correct (i.e. they are the POI of this interval)
Double_t fConfidenceLevel
SimpleInterval & operator=(const SimpleInterval &other)
Namespace for the RooStats classes.