Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooLagrangianMorphFunc::CacheElem Class Reference

Definition at line 1314 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
 
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
 
RooArgList containedArgs (Action) override
 retrieve the list of contained args
 
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
 
void operModeHook (RooAbsArg::OperMode) override
 Interface for changes of operation mode.
 
- 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 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_t redirectServersHook (const RooAbsCollection &, Bool_t, Bool_t, Bool_t)
 Interface for server redirect calls.
 
void setOwner (RooAbsArg *owner)
 

Static Public Member Functions

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

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 1326 of file RooLagrangianMorphFunc.cxx.

◆ ~CacheElem()

RooLagrangianMorphFunc::CacheElem::~CacheElem ( )
inlineoverride

Definition at line 1346 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 1372 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 1434 of file RooLagrangianMorphFunc.cxx.

◆ containedArgs()

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

retrieve the list of contained args

Implements RooAbsCacheElement.

Definition at line 1332 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 1519 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 1552 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 1351 of file RooLagrangianMorphFunc.cxx.

◆ operModeHook()

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

Interface for changes of operation mode.

Reimplemented from RooAbsCacheElement.

Definition at line 1327 of file RooLagrangianMorphFunc.cxx.

Member Data Documentation

◆ _condition

double RooLagrangianMorphFunc::CacheElem::_condition

Definition at line 1324 of file RooLagrangianMorphFunc.cxx.

◆ _couplings

RooArgList RooLagrangianMorphFunc::CacheElem::_couplings

Definition at line 1317 of file RooLagrangianMorphFunc.cxx.

◆ _formulas

FormulaList RooLagrangianMorphFunc::CacheElem::_formulas

Definition at line 1319 of file RooLagrangianMorphFunc.cxx.

◆ _inverse

Matrix RooLagrangianMorphFunc::CacheElem::_inverse

Definition at line 1323 of file RooLagrangianMorphFunc.cxx.

◆ _matrix

Matrix RooLagrangianMorphFunc::CacheElem::_matrix

Definition at line 1322 of file RooLagrangianMorphFunc.cxx.

◆ _sumFunc

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

Definition at line 1316 of file RooLagrangianMorphFunc.cxx.

◆ _weights

RooArgList RooLagrangianMorphFunc::CacheElem::_weights

Definition at line 1320 of file RooLagrangianMorphFunc.cxx.

  • roofit/roofit/src/RooLagrangianMorphFunc.cxx