32 _relParam(paramRelative)
40 const char* vname =
Form(
"%s_gamma_bin_%i",
GetName(),i) ;
67 const char* vname =
Form(
"%s_gamma_bin_%i",
GetName(),i) ;
98 _x(
"x",this,other.
_x),
99 _p(
"p",this,other.
_p),
165 list<Double_t>* hint =
new list<Double_t> ;
168 xlo = xlo - 0.01*(xhi-xlo) ;
169 xhi = xhi + 0.01*(xhi-xlo) ;
176 if (boundaries[i]>=xlo && boundaries[i]<=xhi) {
177 hint->push_back(boundaries[i]-delta) ;
178 hint->push_back(boundaries[i]+delta) ;
202 list<Double_t>* hint =
new list<Double_t> ;
207 if (boundaries[i]>=xlo && boundaries[i]<=xhi) {
208 hint->push_back(boundaries[i]) ;
224 delete allVarsCommon ;
254 while((obs=xiter.
next())) {
virtual Double_t getMin(const char *name=0) const
virtual const char * GetName() const
Returns name of object.
virtual Double_t getMax(const char *name=0) const
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...
virtual const RooArgSet * get() const
RooAbsCollection * selectCommon(const RooAbsCollection &refColl) const
Create a subset of the current collection, consisting only of those elements that are contained as we...
Bool_t matchArgs(const RooArgSet &allDeps, RooArgSet &numDeps, const RooArgProxy &a) const
Utility function for use in getAnalyticalIntegral().
virtual Int_t numBins(const char *rangeName=0) const
Double_t getVal(const RooArgSet *set=0) const
Double_t getActual(Int_t ibin)
Double_t getNominalError(Int_t ibin) const
Bool_t addOwnedComponents(const RooArgSet &comps)
Take ownership of the contents of 'comps'.
Double_t getNominal(Int_t ibin) const
virtual Int_t numBoundaries() const =0
Double_t evaluate() const
virtual std::list< Double_t > * plotSamplingHint(RooAbsRealLValue &obs, Double_t xlo, Double_t xhi) const
Return sampling hint for making curves of (projections) of this function as the recursive division st...
RooDataSet is a container class to hold N-dimensional binned data.
virtual const RooAbsBinning * getBinningPtr(const char *rangeName) const =0
virtual Double_t weight() const
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Reimplementation of standard RooArgList::add()
virtual void weightError(Double_t &lo, Double_t &hi, ErrorType etype=Poisson) const
Return the error on current weight.
RooRealVar represents a fundamental (non-derived) real valued object.
virtual void setVal(Double_t value)
Set value of variable to 'value'.
RooAbsArg * at(Int_t idx) const
void setConstant(Bool_t value=kTRUE)
char * Form(const char *fmt,...)
RooAbsBinning is the abstract base class for RooRealVar binning definitions This class defines the in...
RooAbsArg * find(const char *name) const
Find object with given name in list.
virtual Int_t numEntries() const
Return the number of bins.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooFIter fwdIterator() const
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
virtual std::list< Double_t > * binBoundaries(RooAbsRealLValue &, Double_t, Double_t) const
Return sampling hint for making curves of (projections) of this function as the recursive division st...
Double_t analyticalIntegralWN(Int_t code, const RooArgSet *normSet, const char *rangeName=0) const
Implement analytical integrations by doing appropriate weighting from component integrals functions t...
RooAbsCollection is an abstract container object that can hold multiple RooAbsArg objects...
RooAbsRealLValue is the common abstract base class for objects that represent a real value that may a...
void setActual(Int_t ibin, Double_t newVal)
virtual Double_t * array() const =0
Int_t getAnalyticalIntegralWN(RooArgSet &allVars, RooArgSet &analVars, const RooArgSet *normSet, const char *rangeName=0) const
Advertise that all integrals can be handled internally.
Abstract base class for objects that are lvalues, i.e.
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
void setError(Double_t value)