Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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, RooArgSet const &refCoefNormSet, std::string const &refCoefNormRange, int verboseEval)
 Create a RooAddPdf cache element for a given normalization set and projection configuration.
 
RooArgList containedArgs (Action) override
 List all RooAbsArg derived contents in this cache element.
 
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 void findConstantNodes (const RooArgSet &obs, RooArgSet &cacheList, RooLinkedList &processedNodes)
 Interface for constant term optimization calls.
 
virtual TClassIsA () const
 
virtual void operModeHook (RooAbsArg::OperMode)
 Interface for changes of operation mode.
 
virtual void optimizeCacheMode (const RooArgSet &obs, RooArgSet &optNodes, RooLinkedList &processedNodes)
 Interface for cache optimization calls.
 
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.
 
virtual bool redirectServersHook (const RooAbsCollection &, bool, bool, bool)
 Interface for server redirect calls.
 
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.
 
OwningArgVector _rangeProjList
 Range integrals to be multiplied with coefficients (reference to target range)
 
OwningArgVector _suppNormList
 Supplemental normalization list.
 
OwningArgVector _suppProjList
 Projection integrals to multiply with coefficients for supplemental normalization.
 

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 constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Protected Attributes inherited from RooAbsCacheElement
RooAbsArg_owner
 ! Pointer to owning RooAbsArg
 

#include </home/sftnight/build/workspace/root-makedoc-v632/rootspi/rdoc/src/v6-32-00-patches/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,
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 26 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 169 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.

  • roofit/roofitcore/src/RooAddHelpers.h
  • roofit/roofitcore/src/RooAddHelpers.cxx