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

Definition at line 1323 of file RooLagrangianMorphFunc.cxx.

Public Member Functions

 CacheElem ()
 
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< std::vector< std::string > > &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 TClassIsA () const
 
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)
 

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
 
- Static Public Member Functions inherited from RooAbsCacheElement
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr 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
 
Inheritance diagram for RooLagrangianMorphFunc::CacheElem:
[legend]

Constructor & Destructor Documentation

◆ CacheElem()

RooLagrangianMorphFunc::CacheElem::CacheElem ( )
inline

Definition at line 1335 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 1376 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 1439 of file RooLagrangianMorphFunc.cxx.

◆ containedArgs()

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

retrieve the list of contained args

Implements RooAbsCacheElement.

Definition at line 1341 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 1524 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 1557 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< std::vector< std::string > > &  nonInterfering,
const RooArgList flags 
)
inline

create the basic objects required for the morphing

Definition at line 1355 of file RooLagrangianMorphFunc.cxx.

◆ operModeHook()

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

Interface for changes of operation mode.

Reimplemented from RooAbsCacheElement.

Definition at line 1336 of file RooLagrangianMorphFunc.cxx.

Member Data Documentation

◆ _condition

double RooLagrangianMorphFunc::CacheElem::_condition

Definition at line 1333 of file RooLagrangianMorphFunc.cxx.

◆ _couplings

RooArgList RooLagrangianMorphFunc::CacheElem::_couplings

Definition at line 1326 of file RooLagrangianMorphFunc.cxx.

◆ _formulas

FormulaList RooLagrangianMorphFunc::CacheElem::_formulas

Definition at line 1328 of file RooLagrangianMorphFunc.cxx.

◆ _inverse

Matrix RooLagrangianMorphFunc::CacheElem::_inverse

Definition at line 1332 of file RooLagrangianMorphFunc.cxx.

◆ _matrix

Matrix RooLagrangianMorphFunc::CacheElem::_matrix

Definition at line 1331 of file RooLagrangianMorphFunc.cxx.

◆ _sumFunc

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

Definition at line 1325 of file RooLagrangianMorphFunc.cxx.

◆ _weights

RooArgList RooLagrangianMorphFunc::CacheElem::_weights

Definition at line 1329 of file RooLagrangianMorphFunc.cxx.

  • roofit/roofit/src/RooLagrangianMorphFunc.cxx