31 #ifndef RooStats_SimpleInterval 49 SimpleInterval::SimpleInterval(
const char*
name) :
50 ConfInterval(name), fLowerLimit(0), fUpperLimit(0), fConfidenceLevel(0)
116 if(parameterPoint.
getSize() != 1 )
143 std::cout <<
"size is wrong, parameters don't match" << std::endl;
147 std::cout <<
"size is ok, but parameters don't match" << std::endl;
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...
SimpleInterval(const char *name=0)
Default constructor.
Double_t getVal(const RooArgSet *set=0) const
Bool_t equals(const RooAbsCollection &otherColl) const
Check if this and other collection have identically named contents.
SimpleInterval & operator=(const SimpleInterval &other)
virtual void removeAll()
Remove all arguments from our set, deleting them if we own them.
Double_t fConfidenceLevel
RooRealVar represents a fundamental (non-derived) real valued object.
virtual RooArgSet * GetParameters() const
return cloned list of parameters
RooAbsArg * first() const
virtual ~SimpleInterval()
Destructor.
ConfInterval & operator=(const ConfInterval &other)
operator=
ConfInterval is an interface class for a generic interval in the RooStats framework.
Namespace for the RooStats classes.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
virtual Bool_t IsInInterval(const RooArgSet &) const
check if given point is in the interval
Bool_t CheckParameters(const RooArgSet &) const
check if parameters are correct (i.e. they are the POI of this interval)