Logo ROOT  
Reference Guide
AddCacheElem Class Reference

Definition at line 21 of file RooAddHelpers.h.

Public Member Functions

 AddCacheElem (RooAbsPdf const &addPdf, RooArgList const &pdfList, RooArgList const &coefList, const RooArgSet *nset, const RooArgSet *iset, bool projectCoefs, RooArgSet const &refCoefNormSet, std::string const &refCoefNormRange, int verboseEval)
 Create a RooAddPdf cache element for a given normalization set and projection configuration. More...
 
RooArgList containedArgs (Action) override
 List all RooAbsArg derived contents in this cache element. More...
 
bool doProjection () const
 
void print () const
 
double projSuppNormVal (std::size_t idx) const
 
double projVal (std::size_t idx) const
 
double rangeProjScaleFactor (std::size_t idx) const
 
double suppNormVal (std::size_t idx) const
 
- Public Member Functions inherited from RooAbsCacheElement
 RooAbsCacheElement ()
 
virtual ~RooAbsCacheElement ()
 
virtual RooArgList containedArgs (Action)=0
 
virtual void findConstantNodes (const RooArgSet &obs, RooArgSet &cacheList, RooLinkedList &processedNodes)
 Interface for constant term optimization calls. More...
 
virtual TClassIsA () const
 
virtual void operModeHook (RooAbsArg::OperMode)
 Interface for changes of operation mode. More...
 
virtual void optimizeCacheMode (const RooArgSet &obs, RooArgSet &optNodes, RooLinkedList &processedNodes)
 Interface for cache optimization calls. More...
 
virtual void printCompactTreeHook (std::ostream &, const char *, Int_t curElem, Int_t totElem)
 Hook function to print cache guts in tree printing mode of RooAbsArgs. More...
 
virtual bool redirectServersHook (const RooAbsCollection &, bool, bool, bool)
 Interface for server redirect calls. More...
 
void setOwner (RooAbsArg *owner)
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Private Types

using OwningArgVector = std::vector< std::unique_ptr< RooAbsReal > >
 

Private Attributes

OwningArgVector _projList
 Projection integrals to be multiplied with coefficients. More...
 
OwningArgVector _rangeProjList
 Range integrals to be multiplied with coefficients (reference to target range) More...
 
OwningArgVector _suppNormList
 Supplemental normalization list. More...
 
OwningArgVector _suppProjList
 Projection integrals to multiply with coefficients for supplemental normalization. More...
 

Additional Inherited Members

- Public Types inherited from RooAbsCacheElement
enum  Action { OperModeChange , OptimizeCaching , FindConstantNodes }
 
- Static Public Member Functions inherited from RooAbsCacheElement
static TClassClass ()
 
static const char * Class_Name ()
 
static Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Protected Attributes inherited from RooAbsCacheElement
RooAbsArg_owner
 ! Pointer to owning RooAbsArg More...
 

#include </home/sftnight/build/workspace/root-makedoc-master/rootspi/rdoc/src/master/roofit/roofitcore/src/RooAddHelpers.h>

Inheritance diagram for AddCacheElem:
[legend]

Member Typedef Documentation

◆ OwningArgVector

using AddCacheElem::OwningArgVector = std::vector<std::unique_ptr<RooAbsReal> >
private

Definition at line 48 of file RooAddHelpers.h.

Constructor & Destructor Documentation

◆ AddCacheElem()

AddCacheElem::AddCacheElem ( RooAbsPdf const &  addPdf,
RooArgList const &  pdfList,
RooArgList const &  coefList,
const RooArgSet nset,
const RooArgSet iset,
bool  projectCoefs,
RooArgSet const &  refCoefNormSet,
std::string const &  refCoefNormRange,
int  verboseEval 
)

Create a RooAddPdf cache element for a given normalization set and projection configuration.

Definition at line 25 of file RooAddHelpers.cxx.

Member Function Documentation

◆ containedArgs()

RooArgList AddCacheElem::containedArgs ( Action  )
overridevirtual

List all RooAbsArg derived contents in this cache element.

Implements RooAbsCacheElement.

Definition at line 192 of file RooAddHelpers.cxx.

◆ doProjection()

bool AddCacheElem::doProjection ( ) const
inline

Definition at line 31 of file RooAddHelpers.h.

◆ print()

void AddCacheElem::print ( ) const

Definition at line 170 of file RooAddHelpers.cxx.

◆ projSuppNormVal()

double AddCacheElem::projSuppNormVal ( std::size_t  idx) const
inline

Definition at line 35 of file RooAddHelpers.h.

◆ projVal()

double AddCacheElem::projVal ( std::size_t  idx) const
inline

Definition at line 33 of file RooAddHelpers.h.

◆ rangeProjScaleFactor()

double AddCacheElem::rangeProjScaleFactor ( std::size_t  idx) const
inline

Definition at line 40 of file RooAddHelpers.h.

◆ suppNormVal()

double AddCacheElem::suppNormVal ( std::size_t  idx) const
inline

Definition at line 29 of file RooAddHelpers.h.

Member Data Documentation

◆ _projList

OwningArgVector AddCacheElem::_projList
private

Projection integrals to be multiplied with coefficients.

Definition at line 51 of file RooAddHelpers.h.

◆ _rangeProjList

OwningArgVector AddCacheElem::_rangeProjList
private

Range integrals to be multiplied with coefficients (reference to target range)

Definition at line 53 of file RooAddHelpers.h.

◆ _suppNormList

OwningArgVector AddCacheElem::_suppNormList
private

Supplemental normalization list.

Definition at line 50 of file RooAddHelpers.h.

◆ _suppProjList

OwningArgVector AddCacheElem::_suppProjList
private

Projection integrals to multiply with coefficients for supplemental normalization.

Definition at line 52 of file RooAddHelpers.h.


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