23 #ifndef RooStats_PointSetInterval
35 using namespace RooStats;
41 PointSetInterval::PointSetInterval(
const char*
name) :
42 ConfInterval(name), fConfidenceLevel(0.95), fParameterPointsInInterval(0)
50 ConfInterval(name), fConfidenceLevel(0.95), fParameterPointsInInterval(&data)
78 if ( hist->
weight( parameterPoint , 0 ) > 0 )
88 thisPoint = tree->
get(i);
89 bool samePoint =
true;
104 std::cout <<
"dataset is not initialized properly" << std::endl;
124 std::cout <<
"PointSetInterval: argument size is wrong, parameters don't match: arg=" << parameterPoint
129 std::cout <<
"PointSetInterval: size is ok, but parameters don't match" << std::endl;
Bool_t equals(const RooAbsCollection &otherColl) const
Check if this and other collection have identically named contents.
ClassDef(PointSetInterval, 1) private RooAbsData * fParameterPointsInInterval
Concrete implementation of ConfInterval for simple 1-D intervals in the form [a,b].
virtual Double_t getMin(const char *name=0) const
virtual ~PointSetInterval()
destructor
RooDataSet is a container class to hold N-dimensional binned data.
TIterator * createIterator(Bool_t dir=kIterForward) const
Double_t getVal(const RooArgSet *set=0) const
virtual Bool_t IsInInterval(const RooArgSet &) const
check if parameter is in the interval
RooRealVar represents a fundamental (non-derived) real valued object.
Double_t LowerLimit(RooRealVar ¶m)
return lower limit on a given parameter
virtual Double_t weight() const
virtual Int_t numEntries() const
virtual const char * GetName() const
Returns name of object.
RooAbsData is the common abstract base class for binned and unbinned datasets.
RooDataSet is a container class to hold unbinned data.
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...
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.
PointSetInterval is a concrete implementation of the ConfInterval interface.
virtual Double_t getMax(const char *name=0) const
PointSetInterval(const char *name=0)
default constructors
ClassImp(RooStats::PointSetInterval)
Bool_t CheckParameters(const RooArgSet &) const
return a cloned list with the parameter of interest
virtual const RooArgSet * get(Int_t index) const
Return RooArgSet with coordinates of event 'index'.
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 RooArgSet * GetParameters() const
Method to return lower limit on a given parameter Double_t LowerLimit(RooRealVar& param) ; // could p...