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...
virtual TObject * clone(const char *newname) const
Bool_t isBinnedDistribution(const RooArgSet &obs) const
If all components that depend on obs are binned that so is the product.
RooAddPdf is an efficient implementation of a sum of PDFs of the form.
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...
Bool_t _haveLastCoef
Iterator over coefficient list.
virtual RooArgList containedArgs(Action)
List all RooAbsArg derived contents in this cache element.
void fixCoefNormalization(const RooArgSet &refCoefNorm)
By default the interpretation of the fraction coefficients is performed in the contextual choice of o...
void updateCoefficients(CacheElem &cache, const RooArgSet *nset) const
Update the coefficient values in the given cache element: calculate new remainder fraction...
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.
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...
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...
void printMetaArgs(std::ostream &os) const
Customized printing of arguments of a RooAddPdf to more intuitively reflect the contents of the produ...
Transiet cache with transformed values of coefficients.
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 Bool_t forceAnalyticalInt(const RooAbsArg &) const
virtual Bool_t checkObservables(const RooArgSet *nset) const
Check if PDF is valid for given normalization set.
Iterator abstract base class.
#define ClassDef(name, id)
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.
The TNamed class is the base class for all named ROOT classes.
virtual Bool_t selfNormalized() const
virtual CacheMode canNodeBeCached() const
TIterator * _pdfIter
List of supplemental normalization factors.
Double_t evaluate() const
Calculate and return the current value.
RooAbsGenContext is the abstract base class for generator contexts of RooAbsPdf objects.
Double_t analyticalIntegralWN(Int_t code, const RooArgSet *normSet, const char *rangeName=0) const
Return analytical integral defined by given scenario code.
virtual ~RooAddPdf()
Destructor.
const RooArgList & pdfList() const
RooArgList _refRangeProjList
RooAbsCacheElement is the abstract base class for objects to be stored in RooAbsCache cache manager o...
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...
RooDataSet is a container class to hold unbinned data.
const RooArgList & coefList() const
RooListProxy is the concrete proxy for RooArgList objects.
TNamed * _refCoefRangeName
virtual ExtendMode extendMode() 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...
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.
RooObjCacheManager _projCacheMgr
virtual void setCacheAndTrackHints(RooArgSet &)
Label OK'ed components of a RooAddPdf with cache-and-track.
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...
TIterator * _coefIter
Iterator over PDF list.
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.
const RooArgSet & getCoefNormalization() const
Mother of all ROOT objects.
virtual Double_t expectedEvents(const RooArgSet &nset) const
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...
const char * getCoefRange() const
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