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

Definition at line 1322 of file RooLagrangianMorphFunc.cxx.

Public Types

enum  Action { OperModeChange , OptimizeCaching , FindConstantNodes }

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
virtual void findConstantNodes (const RooArgSet &obs, RooArgSet &cacheList, RooLinkedList &processedNodes)
 Interface for constant term optimization calls.
virtual TClassIsA () const
void operModeHook (RooAbsArg::OperMode) override
 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)

Static Public Member Functions

static TClassClass ()
static const char * Class_Name ()
static constexpr Version_t Class_Version ()
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 const char * DeclFileName ()

Public Attributes

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

Protected Attributes

RooAbsArg_owner
 ! Pointer to owning RooAbsArg
Inheritance diagram for RooLagrangianMorphFunc::CacheElem:
RooAbsCacheElement

Member Enumeration Documentation

◆ Action

Enumerator
OperModeChange 
OptimizeCaching 
FindConstantNodes 

Definition at line 39 of file RooAbsCacheElement.h.

Constructor & Destructor Documentation

◆ CacheElem()

RooLagrangianMorphFunc::CacheElem::CacheElem ( )
inline

Definition at line 1334 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 1375 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 1438 of file RooLagrangianMorphFunc.cxx.

◆ Class()

TClass * RooAbsCacheElement::Class ( )
staticinherited
Returns
TClass describing this class

◆ Class_Name()

const char * RooAbsCacheElement::Class_Name ( )
staticinherited
Returns
Name of this class

◆ Class_Version()

constexpr Version_t RooAbsCacheElement::Class_Version ( )
inlinestaticconstexprinherited
Returns
Version of this class

Definition at line 55 of file RooAbsCacheElement.h.

◆ containedArgs()

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

retrieve the list of contained args

Implements RooAbsCacheElement.

Definition at line 1340 of file RooLagrangianMorphFunc.cxx.

◆ createCache() [1/2]

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

create all the temporary objects required by the class

Definition at line 1523 of file RooLagrangianMorphFunc.cxx.

◆ createCache() [2/2]

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

◆ DeclFileName()

const char * RooAbsCacheElement::DeclFileName ( )
inlinestaticinherited
Returns
Name of the file containing the class declaration

Definition at line 55 of file RooAbsCacheElement.h.

◆ findConstantNodes()

void RooAbsCacheElement::findConstantNodes ( const RooArgSet & obs,
RooArgSet & cacheList,
RooLinkedList & processedNodes )
virtualinherited

Interface for constant term optimization calls.

The default implementation is to forward all these calls to all contained RooAbsArg objects as publicized through containedArg()

Definition at line 71 of file RooAbsCacheElement.cxx.

◆ IsA()

virtual TClass * RooAbsCacheElement::IsA ( ) const
inlinevirtualinherited
Returns
TClass describing current object

Definition at line 55 of file RooAbsCacheElement.h.

◆ operModeHook()

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

Interface for changes of operation mode.

Reimplemented from RooAbsCacheElement.

Definition at line 1335 of file RooLagrangianMorphFunc.cxx.

◆ optimizeCacheMode()

void RooAbsCacheElement::optimizeCacheMode ( const RooArgSet & obs,
RooArgSet & optNodes,
RooLinkedList & processedNodes )
virtualinherited

Interface for cache optimization calls.

The default implementation is to forward all these calls to all contained RooAbsArg objects as publicized through containedArg()

Definition at line 58 of file RooAbsCacheElement.cxx.

◆ printCompactTreeHook()

void RooAbsCacheElement::printCompactTreeHook ( std::ostream & ,
const char * ,
Int_t curElem,
Int_t totElem )
virtualinherited

Hook function to print cache guts in tree printing mode of RooAbsArgs.

Reimplemented in RooAbsCachedPdf::PdfCacheElem, RooAbsCachedReal::FuncCacheElem, RooProdPdf::CacheElem, and RooProjectedPdf::CacheElem.

Definition at line 48 of file RooAbsCacheElement.cxx.

◆ redirectServersHook()

bool RooAbsCacheElement::redirectServersHook ( const RooAbsCollection & ,
bool ,
bool ,
bool  )
virtualinherited

Interface for server redirect calls.

Definition at line 37 of file RooAbsCacheElement.cxx.

◆ setOwner()

void RooAbsCacheElement::setOwner ( RooAbsArg * owner)
inlineinherited

Definition at line 46 of file RooAbsCacheElement.h.

◆ Streamer()

virtual void RooAbsCacheElement::Streamer ( TBuffer & )
virtualinherited

◆ StreamerNVirtual()

void RooAbsCacheElement::StreamerNVirtual ( TBuffer & ClassDef_StreamerNVirtual_b)
inlineinherited

Definition at line 55 of file RooAbsCacheElement.h.

Member Data Documentation

◆ _condition

double RooLagrangianMorphFunc::CacheElem::_condition

Definition at line 1332 of file RooLagrangianMorphFunc.cxx.

◆ _couplings

RooArgList RooLagrangianMorphFunc::CacheElem::_couplings

Definition at line 1325 of file RooLagrangianMorphFunc.cxx.

◆ _formulas

FormulaList RooLagrangianMorphFunc::CacheElem::_formulas

Definition at line 1327 of file RooLagrangianMorphFunc.cxx.

◆ _inverse

Matrix RooLagrangianMorphFunc::CacheElem::_inverse

Definition at line 1331 of file RooLagrangianMorphFunc.cxx.

◆ _matrix

Matrix RooLagrangianMorphFunc::CacheElem::_matrix

Definition at line 1330 of file RooLagrangianMorphFunc.cxx.

◆ _owner

RooAbsArg* RooAbsCacheElement::_owner
protectedinherited

! Pointer to owning RooAbsArg

Definition at line 53 of file RooAbsCacheElement.h.

◆ _sumFunc

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

Definition at line 1324 of file RooLagrangianMorphFunc.cxx.

◆ _weights

RooArgList RooLagrangianMorphFunc::CacheElem::_weights

Definition at line 1328 of file RooLagrangianMorphFunc.cxx.


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