33 _relParam(paramRelative)
41 const char* vname =
Form(
"%s_gamma_bin_%i",
GetName(),i) ;
61 _relParam(paramRelative)
69 const char* vname =
Form(
"%s_gamma_bin_%i",
GetName(),i) ;
88 _relParam(paramRelative)
103 _x(
"x",this,other._x),
104 _p(
"p",this,other._p),
106 _relParam(other._relParam)
181 list<Double_t>* hint =
new list<Double_t> ;
184 xlo = xlo - 0.01*(xhi-xlo) ;
185 xhi = xhi + 0.01*(xhi-xlo) ;
192 if (boundaries[i]>=xlo && boundaries[i]<=xhi) {
193 hint->push_back(boundaries[i]-delta) ;
194 hint->push_back(boundaries[i]+delta) ;
219 list<Double_t>* hint =
new list<Double_t> ;
224 if (boundaries[i]>=xlo && boundaries[i]<=xhi) {
225 hint->push_back(boundaries[i]) ;
243 delete allVarsCommon ;
276 while((obs=xiter.
next())) {
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...
virtual Int_t numBins(const char *rangeName=0) const
RooAbsCollection * selectCommon(const RooAbsCollection &refColl) const
Create a subset of the current collection, consisting only of those elements that are contained as we...
RooFIter fwdIterator() const
Double_t getActual(Int_t ibin)
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...
virtual Double_t getMin(const char *name=0) const
Double_t evaluate() const
Bool_t addOwnedComponents(const RooArgSet &comps)
Take ownership of the contents of 'comps'.
Int_t getAnalyticalIntegralWN(RooArgSet &allVars, RooArgSet &analVars, const RooArgSet *normSet, const char *rangeName=0) const
Advertise that all integrals can be handled internally.
virtual Int_t numBoundaries() const =0
virtual const RooArgSet * get() const
ClassImp(RooParamHistFunc)
virtual const RooAbsBinning * getBinningPtr(const char *rangeName) const =0
std::map< std::string, std::string >::const_iterator iter
Double_t getVal(const RooArgSet *set=0) const
virtual void weightError(Double_t &lo, Double_t &hi, ErrorType etype=Poisson) const
Return the error on current weight.
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Reimplementation of standard RooArgList::add()
virtual void setVal(Double_t value)
Set value of variable to 'value'.
RooAbsArg * find(const char *name) const
Find object with given name in list.
virtual Double_t weight() const
void setConstant(Bool_t value=kTRUE)
char * Form(const char *fmt,...)
virtual const char * GetName() const
Returns name of object.
RooAbsArg * at(Int_t idx) const
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
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...
virtual Int_t numEntries() const
Return the number of bins.
Double_t getNominalError(Int_t ibin) const
virtual Double_t getMax(const char *name=0) const
void setActual(Int_t ibin, Double_t newVal)
Double_t getNominal(Int_t ibin) const
virtual Double_t * array() const =0
Bool_t matchArgs(const RooArgSet &allDeps, RooArgSet &numDeps, const RooArgProxy &a) const
Utility function for use in getAnalyticalIntegral().
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Add element to non-owning set.