Logo ROOT  
Reference Guide
RooLagrangianMorphFunc::CacheElem Class Reference

Definition at line 1352 of file RooLagrangianMorphFunc.cxx.

Public Member Functions

 CacheElem ()
 
 ~CacheElem () override
 
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...
 
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 * > > &diagramProxyList, const std::vector< RooArgList * > &nonInterfering, const RooArgList &flags)
 create the basic objects required for the morphing More...
 
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 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)
 

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...
 
- Static Public Member Functions inherited from RooAbsCacheElement
static TClassClass ()
 
static const char * Class_Name ()
 
static Version_t Class_Version ()
 
static const char * DeclFileName ()
 

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
 ! Pointer to owning RooAbsArg More...
 
Inheritance diagram for RooLagrangianMorphFunc::CacheElem:
[legend]

Constructor & Destructor Documentation

◆ CacheElem()

RooLagrangianMorphFunc::CacheElem::CacheElem ( )
inline

Definition at line 1364 of file RooLagrangianMorphFunc.cxx.

◆ ~CacheElem()

RooLagrangianMorphFunc::CacheElem::~CacheElem ( )
inlineoverride

Definition at line 1384 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 1411 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 1473 of file RooLagrangianMorphFunc.cxx.

◆ containedArgs()

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

retrieve the list of contained args

Implements RooAbsCacheElement.

Definition at line 1370 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 1559 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 1592 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 * > > &  diagramProxyList,
const std::vector< RooArgList * > &  nonInterfering,
const RooArgList flags 
)
inline

create the basic objects required for the morphing

Definition at line 1389 of file RooLagrangianMorphFunc.cxx.

◆ operModeHook()

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

Interface for changes of operation mode.

Reimplemented from RooAbsCacheElement.

Definition at line 1365 of file RooLagrangianMorphFunc.cxx.

Member Data Documentation

◆ _condition

double RooLagrangianMorphFunc::CacheElem::_condition

Definition at line 1362 of file RooLagrangianMorphFunc.cxx.

◆ _couplings

RooArgList RooLagrangianMorphFunc::CacheElem::_couplings

Definition at line 1355 of file RooLagrangianMorphFunc.cxx.

◆ _formulas

FormulaList RooLagrangianMorphFunc::CacheElem::_formulas

Definition at line 1357 of file RooLagrangianMorphFunc.cxx.

◆ _inverse

Matrix RooLagrangianMorphFunc::CacheElem::_inverse

Definition at line 1361 of file RooLagrangianMorphFunc.cxx.

◆ _matrix

Matrix RooLagrangianMorphFunc::CacheElem::_matrix

Definition at line 1360 of file RooLagrangianMorphFunc.cxx.

◆ _sumFunc

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

Definition at line 1354 of file RooLagrangianMorphFunc.cxx.

◆ _weights

RooArgList RooLagrangianMorphFunc::CacheElem::_weights

Definition at line 1358 of file RooLagrangianMorphFunc.cxx.


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