Definition at line 56 of file RooAddHelpers.h.
Static Public Member Functions | |
| static void | updateCoefficients (RooAbsPdf const &addPdf, std::vector< double > &coefCache, RooArgList const &pdfList, bool haveLastCoef, AddCacheElem &cache, const RooArgSet *nset, RooArgSet const &refCoefNormSet, bool allExtendable, int &coefErrCount) |
| Update the RooAddPdf coefficients for a given normalization set and projection configuration. | |
|
static |
Update the RooAddPdf coefficients for a given normalization set and projection configuration.
The coefCache argument should have the same size as pdfList. It needs to be initialized with the raw values of the coefficients, as obtained from the _coefList proxy in the RooAddPdf. If the last coefficient is not given, the initial value of the last element of _coefCache does not matter. After this function, the _coefCache will be filled with the correctly scaled coefficients for each pdf.
Definition at line 219 of file RooAddHelpers.cxx.