Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooAddHelpers Class Reference

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.
 

#include </home/sftnight/build/workspace/root-makedoc-v628/rootspi/rdoc/src/v6-28-00-patches/roofit/roofitcore/src/RooAddHelpers.h>

Member Function Documentation

◆ updateCoefficients()

void RooAddHelpers::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 
)
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 220 of file RooAddHelpers.cxx.


The documentation for this class was generated from the following files: