34 RooAddPdf(
const char *name,
const char *title,
void fixCoefRange(const char *rangeName)
By default the interpretation of the fraction coefficients is performed in the default range...
void updateCoefficients(CacheElem &cache, const RooArgSet *nset) const
Update the coefficient values in the given cache element: calculate new remainder fraction...
RooAddPdf is an efficient implementation of a sum of PDFs of the form.
Bool_t _haveLastCoef
Iterator over coefficient list.
virtual RooArgList containedArgs(Action)
List all RooAbsArg derived contents in this cache element.
virtual TObject * clone(const char *newname) const
void fixCoefNormalization(const RooArgSet &refCoefNorm)
By default the interpretation of the fraction coefficients is performed in the contextual choice of o...
const char * getCoefRange() const
virtual Double_t expectedEvents(const RooArgSet *nset) const
Return the number of expected events, which is either the sum of all coefficients or the sum of the c...
static const char * str(const TNamed *ptr)
Return C++ string corresponding to given TNamed pointer.
RooListProxy _pdfList
Registry of component analytical integration codes.
RooAddPdf()
Default constructor used for persistence.
virtual void selectNormalization(const RooArgSet *depSet=0, Bool_t force=kFALSE)
Interface function used by test statistics to freeze choice of observables for interpretation of frac...
CacheElem * getProjCache(const RooArgSet *nset, const RooArgSet *iset=0, const char *rangeName=0) const
Retrieve cache element with for calculation of p.d.f value with normalization set nset and integrated...
Transiet cache with transformed values of coefficients.
const RooArgList & pdfList() const
void printMetaArgs(std::ostream &os) const
Customized printing of arguments of a RooAddPdf to more intuitively reflect the contents of the produ...
virtual void selectNormalizationRange(const char *rangeName=0, Bool_t force=kFALSE)
Interface function used by test statistics to freeze choice of range for interpretation of fraction c...
virtual std::list< Double_t > * plotSamplingHint(RooAbsRealLValue &obs, Double_t xlo, Double_t xhi) const
Loop over components for plot sampling hints and merge them if there are multiple.
virtual std::list< Double_t > * binBoundaries(RooAbsRealLValue &, Double_t, Double_t) const
Loop over components for plot sampling hints and merge them if there are multiple.
Iterator abstract base class.
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
const RooArgSet & getCoefNormalization() const
TIterator * _pdfIter
List of supplemental normalization factors.
virtual CacheMode canNodeBeCached() const
RooAbsGenContext is the abstract base class for generator contexts of RooAbsPdf objects.
virtual Bool_t checkObservables(const RooArgSet *nset) const
Check if PDF is valid for given normalization set.
virtual ~RooAddPdf()
Destructor.
virtual RooAbsGenContext * genContext(const RooArgSet &vars, const RooDataSet *prototype=0, const RooArgSet *auxProto=0, Bool_t verbose=kFALSE) const
Return specialized context to efficiently generate toy events from RooAddPdfs return RooAbsPdf::genCo...
RooArgList _refRangeProjList
RooAbsCacheElement is the abstract base class for objects to be stored in RooAbsCache cache manager o...
virtual ExtendMode extendMode() const
Double_t evaluate() const
Calculate and return the current value.
RooDataSet is a container class to hold unbinned data.
RooListProxy is the concrete proxy for RooArgList objects.
TNamed * _refCoefRangeName
virtual Double_t expectedEvents(const RooArgSet &nset) const
virtual void resetErrorCounters(Int_t resetValue=10)
Reset error counter to given value, limiting the number of future error messages for this pdf to 'res...
RooAICRegistry is a utility class for operator p.d.f classes that keeps track of analytical integrati...
const RooArgList & coefList() const
RooObjCacheManager _projCacheMgr
virtual void setCacheAndTrackHints(RooArgSet &)
Label OK'ed components of a RooAddPdf with cache-and-track.
virtual Bool_t selfNormalized() const
virtual Bool_t forceAnalyticalInt(const RooAbsArg &) const
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Class RooObjCacheManager is an implementation of class RooCacheManager<RooAbsCacheElement> and specia...
Int_t getAnalyticalIntegralWN(RooArgSet &allVars, RooArgSet &numVars, const RooArgSet *normSet, const char *rangeName=0) const
Determine which part (if any) of given integral can be performed analytically.
TIterator * _coefIter
Iterator over PDF list.
Mother of all ROOT objects.
RooAbsRealLValue is the common abstract base class for objects that represent a real value that may a...
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
Double_t analyticalIntegralWN(Int_t code, const RooArgSet *normSet, const char *rangeName=0) const
Return analytical integral defined by given scenario code.
RooAddGenContext is an efficient implementation of the generator context specific for RooAddPdf PDFs...
RooSetProxy is the concrete proxy for RooArgSet objects.
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
RooArgList _rangeProjList
Bool_t isBinnedDistribution(const RooArgSet &obs) const
If all components that depend on obs are binned that so is the product.