Logo ROOT  
Reference Guide
RooLagrangianMorphFunc::CacheElem Class Reference

Definition at line 1402 of file RooLagrangianMorphFunc.cxx.

Public Member Functions

 CacheElem ()
 
virtual ~CacheElem ()
 
template<class List >
void buildMatrix (const RooLagrangianMorphFunc::ParamMap &inputParameters, const RooLagrangianMorphFunc::FlagMap &inputFlags, const List &flags)
 build and invert the morphing matrix More...
 
void buildMorphingFunction (const char *name, const RooLagrangianMorphFunc::ParamMap &inputParameters, const std::map< std::string, int > &storage, const RooArgList &physics, bool allowNegativeYields, RooRealVar *observable, RooRealVar *binWidth)
 build the final morphing function More...
 
virtual RooArgList containedArgs (Action) override
 retrieve the list of contained args More...
 
void createComponents (const RooLagrangianMorphFunc::ParamMap &inputParameters, const RooLagrangianMorphFunc::FlagMap &inputFlags, const char *funcname, const std::vector< std::vector< RooListProxy * > > &diagrams, const std::vector< RooListProxy * > &nonInterfering, const RooListProxy &flags)
 create the basic objects required for the morphing More...
 
virtual void operModeHook (RooAbsArg::OperMode) override
 Interface for changes of operation mode. More...
 
- 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 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_t redirectServersHook (const RooAbsCollection &, Bool_t, Bool_t, Bool_t)
 Interface for server redirect calls. More...
 
void setOwner (RooAbsArg *owner)
 

Static Public Member Functions

static RooLagrangianMorphFunc::CacheElemcreateCache (const RooLagrangianMorphFunc *func)
 create all the temporary objects required by the class More...
 
static RooLagrangianMorphFunc::CacheElemcreateCache (const RooLagrangianMorphFunc *func, const Matrix &inverse)
 create all the temporary objects required by the class function variant with precomputed inverse matrix More...
 

Public Attributes

double _condition
 
RooArgList _couplings
 
FormulaList _formulas
 
Matrix _inverse
 
Matrix _matrix
 
std::unique_ptr< RooRealSumFunc_sumFunc = nullptr
 
RooArgList _weights
 

Additional Inherited Members

- Public Types inherited from RooAbsCacheElement
enum  Action { OperModeChange , OptimizeCaching , FindConstantNodes }
 
- Protected Attributes inherited from RooAbsCacheElement
RooAbsArg_owner
 
Inheritance diagram for RooLagrangianMorphFunc::CacheElem:
[legend]

Constructor & Destructor Documentation

◆ CacheElem()

RooLagrangianMorphFunc::CacheElem::CacheElem ( )
inline

Definition at line 1414 of file RooLagrangianMorphFunc.cxx.

◆ ~CacheElem()

virtual RooLagrangianMorphFunc::CacheElem::~CacheElem ( )
inlinevirtual

Definition at line 1433 of file RooLagrangianMorphFunc.cxx.

Member Function Documentation

◆ buildMatrix()

template<class List >
void RooLagrangianMorphFunc::CacheElem::buildMatrix ( const RooLagrangianMorphFunc::ParamMap inputParameters,
const RooLagrangianMorphFunc::FlagMap inputFlags,
const List &  flags 
)
inline

build and invert the morphing matrix

Definition at line 1462 of file RooLagrangianMorphFunc.cxx.

◆ buildMorphingFunction()

void RooLagrangianMorphFunc::CacheElem::buildMorphingFunction ( const char *  name,
const RooLagrangianMorphFunc::ParamMap inputParameters,
const std::map< std::string, int > &  storage,
const RooArgList physics,
bool  allowNegativeYields,
RooRealVar observable,
RooRealVar binWidth 
)
inline

build the final morphing function

Definition at line 1532 of file RooLagrangianMorphFunc.cxx.

◆ containedArgs()

virtual RooArgList RooLagrangianMorphFunc::CacheElem::containedArgs ( Action  )
inlineoverridevirtual

retrieve the list of contained args

Implements RooAbsCacheElement.

Definition at line 1420 of file RooLagrangianMorphFunc.cxx.

◆ createCache() [1/2]

static RooLagrangianMorphFunc::CacheElem * RooLagrangianMorphFunc::CacheElem::createCache ( const RooLagrangianMorphFunc func)
inlinestatic

create all the temporary objects required by the class

Definition at line 1633 of file RooLagrangianMorphFunc.cxx.

◆ createCache() [2/2]

static RooLagrangianMorphFunc::CacheElem * RooLagrangianMorphFunc::CacheElem::createCache ( const RooLagrangianMorphFunc func,
const Matrix inverse 
)
inlinestatic

create all the temporary objects required by the class function variant with precomputed inverse matrix

Definition at line 1676 of file RooLagrangianMorphFunc.cxx.

◆ createComponents()

void RooLagrangianMorphFunc::CacheElem::createComponents ( const RooLagrangianMorphFunc::ParamMap inputParameters,
const RooLagrangianMorphFunc::FlagMap inputFlags,
const char *  funcname,
const std::vector< std::vector< RooListProxy * > > &  diagrams,
const std::vector< RooListProxy * > &  nonInterfering,
const RooListProxy flags 
)
inline

create the basic objects required for the morphing

Definition at line 1439 of file RooLagrangianMorphFunc.cxx.

◆ operModeHook()

virtual void RooLagrangianMorphFunc::CacheElem::operModeHook ( RooAbsArg::OperMode  )
inlineoverridevirtual

Interface for changes of operation mode.

Reimplemented from RooAbsCacheElement.

Definition at line 1415 of file RooLagrangianMorphFunc.cxx.

Member Data Documentation

◆ _condition

double RooLagrangianMorphFunc::CacheElem::_condition

Definition at line 1412 of file RooLagrangianMorphFunc.cxx.

◆ _couplings

RooArgList RooLagrangianMorphFunc::CacheElem::_couplings

Definition at line 1405 of file RooLagrangianMorphFunc.cxx.

◆ _formulas

FormulaList RooLagrangianMorphFunc::CacheElem::_formulas

Definition at line 1407 of file RooLagrangianMorphFunc.cxx.

◆ _inverse

Matrix RooLagrangianMorphFunc::CacheElem::_inverse

Definition at line 1411 of file RooLagrangianMorphFunc.cxx.

◆ _matrix

Matrix RooLagrangianMorphFunc::CacheElem::_matrix

Definition at line 1410 of file RooLagrangianMorphFunc.cxx.

◆ _sumFunc

std::unique_ptr<RooRealSumFunc> RooLagrangianMorphFunc::CacheElem::_sumFunc = nullptr

Definition at line 1404 of file RooLagrangianMorphFunc.cxx.

◆ _weights

RooArgList RooLagrangianMorphFunc::CacheElem::_weights

Definition at line 1408 of file RooLagrangianMorphFunc.cxx.


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