virtual Bool_t selfNormalized() const
TIterator * _pdfIter
List of supplemental normalization factors.
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 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 checkObservables(const RooArgSet *nset) const
Check if PDF is valid for given normalization set.
void fixCoefNormalization(const RooArgSet &refCoefNorm)
By default the interpretation of the fraction coefficients is performed in the contextual choice of o...
virtual Int_t basisCode(const char *name) const
Return code for basis function representing by 'name' string.
const RooArgList & coefList() const
Bool_t isDirectGenSafe(const RooAbsArg &arg) const
Direct generation is safe if all components say so.
virtual ExtendMode extendMode() const
RooArgList _rangeProjList
Iterator abstract base class.
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...
virtual Bool_t forceAnalyticalInt(const RooAbsArg &) const
TNamed * _refCoefRangeName
Reference observable set for coefficient interpretation.
virtual TObject * clone(const char *newname) const
virtual Double_t expectedEvents(const RooArgSet &nset) const
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
RooArgSet _ownedComps
Coefficient error counter.
virtual ~RooAddModel()
Destructor.
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...
const RooArgList & pdfList() const
RooListProxy _pdfList
Registry of component analytical integration codes.
virtual RooArgList containedArgs(Action)
List all RooAbsArg derived contents in this cache element.
Double_t analyticalIntegralWN(Int_t code, const RooArgSet *normSet, const char *rangeName=0) const
Return analytical integral defined by given scenario code.
RooArgList _refRangeProjList
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) ...
TIterator * _coefIter
Iterator over PDF list.
RooObjCacheManager _projCacheMgr
RooObjCacheManager _intCacheMgr
virtual RooResolutionModel * convolution(RooFormulaVar *basis, RooAbsArg *owner) const
Instantiate a clone of this resolution model representing a convolution with given basis function...
void generateEvent(Int_t code)
This function should never be called as RooAddModel implements a custom generator context...
virtual RooArgList containedArgs(Action)
List all RooAbsArg derived contents in this cache element.
const RooFormulaVar & basis() const
Transiet cache with transformed values of coefficients.
Bool_t _haveLastCoef
Iterator over coefficient list.
Mother of all ROOT objects.
void updateCoefficients(CacheElem &cache, const RooArgSet *nset) const
Update the coefficient values in the given cache element: calculate new remainder fraction...
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.
Double_t evaluate() const
Calculate the current value.
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...
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 ...
Bool_t _projectCoefs
Reference range name for coefficient interpreation.
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 void resetErrorCounters(Int_t resetValue=10)
Reset error counter to given value, limiting the number of future error messages for this pdf to 'res...
void printMetaArgs(std::ostream &os) const
Customized printing of arguments of a RooAddModel to more intuitively reflect the contents of the pro...