Bool_t isDirectGenSafe(const RooAbsArg &arg) const
Direct generation is safe if all components say so.
TIterator * _pdfIter
List of supplemental normalization factors.
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...
Int_t getAnalyticalIntegralWN(RooArgSet &allVars, RooArgSet &numVars, const RooArgSet *normSet, const char *rangeName=0) const
Variant of getAnalyticalIntegral that is also passed the normalization set that should be applied to ...
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...
void fixCoefNormalization(const RooArgSet &refCoefNorm)
By default the interpretation of the fraction coefficients is performed in the contextual choice of o...
virtual Double_t expectedEvents(const RooArgSet &nset) const
RooArgList _rangeProjList
Iterator abstract base class.
void updateCoefficients(CacheElem &cache, const RooArgSet *nset) const
Update the coefficient values in the given cache element: calculate new remainder fraction...
const RooFormulaVar & basis() const
void getCompIntList(const RooArgSet *nset, const RooArgSet *iset, pRooArgList &compIntList, Int_t &code, const char *isetRangeName) const
Check if this configuration was created before.
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...
TNamed * _refCoefRangeName
Reference observable set for coefficient interpretation.
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
virtual Int_t basisCode(const char *name) const
Return code for basis function representing by 'name' string.
RooArgSet _ownedComps
Coefficient error counter.
virtual ~RooAddModel()
Destructor.
RooAbsGenContext is the abstract base class for generator contexts of RooAbsPdf objects.
RooListProxy _pdfList
Registry of component analytical integration codes.
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...
RooArgList _refRangeProjList
virtual Bool_t forceAnalyticalInt(const RooAbsArg &) const
TIterator * _coefIter
Iterator over PDF list.
RooAbsCacheElement is the abstract base class for objects to be stored in RooAbsCache cache manager o...
RooObjCacheManager _projCacheMgr
RooObjCacheManager _intCacheMgr
RooDataSet is a container class to hold unbinned data.
Int_t getGenerator(const RooArgSet &directVars, RooArgSet &generateVars, Bool_t staticInitOK=kTRUE) const
Return pseud-code that indicates if all components can do internal generation (1) or not (0) ...
void printMetaArgs(std::ostream &os) const
Customized printing of arguments of a RooAddModel to more intuitively reflect the contents of the pro...
void generateEvent(Int_t code)
This function should never be called as RooAddModel implements a custom generator context...
RooListProxy is the concrete proxy for RooArgList objects.
virtual RooArgList containedArgs(Action)
List all RooAbsArg derived contents in this cache element.
RooAICRegistry is a utility class for operator p.d.f classes that keeps track of analytical integrati...
const RooArgList & pdfList() const
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.
Class RooObjCacheManager is an implementation of class RooCacheManager<RooAbsCacheElement> and specia...
Double_t evaluate() const
Calculate the current value.
virtual Bool_t selfNormalized() const
Transiet cache with transformed values of coefficients.
Bool_t _haveLastCoef
Iterator over coefficient list.
Mother of all ROOT objects.
RooAddGenContext is an efficient implementation of the generator context specific for RooAddPdf PDFs...
RooSetProxy is the concrete proxy for RooArgSet objects.
virtual TObject * clone(const char *newname) const
const RooArgList & coefList() const
Bool_t _projectCoefs
Reference range name for coefficient interpreation.
virtual ExtendMode extendMode() const
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
void fixCoefRange(const char *rangeName)
By default the interpretation of the fraction coefficients is performed in the default range...
virtual RooResolutionModel * convolution(RooFormulaVar *basis, RooAbsArg *owner) const
Instantiate a clone of this resolution model representing a convolution with given basis function...
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...
virtual Bool_t checkObservables(const RooArgSet *nset) const
Check if PDF is valid for given normalization set.
Double_t analyticalIntegralWN(Int_t code, const RooArgSet *normSet, const char *rangeName=0) const
Return analytical integral defined by given scenario code.