50 PointSetInterval::PointSetInterval(
const char*
name) :
51 ConfInterval(name), fConfidenceLevel(0.95), fParameterPointsInInterval(0)
87 if ( hist->
weight( parameterPoint , 0 ) > 0 )
97 thisPoint = tree->
get(i);
98 bool samePoint =
true;
113 std::cout <<
"dataset is not initialized properly" << std::endl;
133 std::cout <<
"PointSetInterval: argument size is wrong, parameters don't match: arg=" << parameterPoint
138 std::cout <<
"PointSetInterval: size is ok, but parameters don't match" << std::endl;
virtual Double_t getMin(const char *name=0) const
virtual const char * GetName() const
Returns name of object.
TIterator * createIterator(Bool_t dir=kIterForward) const
virtual Double_t getMax(const char *name=0) const
Bool_t CheckParameters(const RooArgSet &) const
return a cloned list with the parameter of interest
virtual const RooArgSet * get() const
Double_t getVal(const RooArgSet *set=0) const
virtual RooArgSet * GetParameters() const
Method to return lower limit on a given parameter Double_t LowerLimit(RooRealVar& param) ; // could p...
Bool_t equals(const RooAbsCollection &otherColl) const
Check if this and other collection have identically named contents.
virtual ~PointSetInterval()
destructor
Bool_t getRange(RooRealVar &var, Double_t &lowest, Double_t &highest, Double_t marginFrac=0, Bool_t symMode=kFALSE) const
Fill Doubles 'lowest' and 'highest' with the lowest and highest value of observable 'var' in this dat...
RooDataSet is a container class to hold N-dimensional binned data.
virtual Double_t weight() const
RooRealVar represents a fundamental (non-derived) real valued object.
Double_t fConfidenceLevel
Double_t LowerLimit(RooRealVar ¶m)
return lower limit on a given parameter
RooAbsData * fParameterPointsInInterval
confidence level
RooAbsData is the common abstract base class for binned and unbinned datasets.
RooDataSet is a container class to hold unbinned data.
virtual const RooArgSet * get(Int_t index) const
Return RooArgSet with coordinates of event 'index'.
Double_t UpperLimit(RooRealVar ¶m)
return upper limit on a given parameter
ConfInterval is an interface class for a generic interval in the RooStats framework.
Namespace for the RooStats classes.
PointSetInterval is a concrete implementation of the ConfInterval interface.
PointSetInterval(const char *name=0)
default constructors
Double_t getRealValue(const char *name, Double_t defVal=0, Bool_t verbose=kFALSE) const
Get value of a RooAbsReal stored in set with given name.
virtual Int_t numEntries() const
virtual Bool_t IsInInterval(const RooArgSet &) const
check if parameter is in the interval