#include <CachingVariable.h>
Public Member Functions | |
ComputedVariable (const CachingVariableFactoryArg &arg) | |
ComputedVariable (const std::string &M, std::string &N, edm::ParameterSet &P, const VariableComputer *c) | |
virtual evalType | eval (const edm::Event &iEvent) const |
virtual | ~ComputedVariable () |
Public Member Functions inherited from CachingVariable | |
void | addDescriptionLine (const std::string &s) |
CachingVariable (std::string m, std::string n, const edm::ParameterSet &iConfig) | |
bool | compute (const edm::Event &iEvent) const |
const Description & | description () const |
const std::string & | holderName () const |
const std::string & | method () const |
const std::string & | name () const |
valueType | operator() (const edm::Event &iEvent) const |
void | print () const |
void | setHolder (std::string hn) const |
virtual | ~CachingVariable () |
Private Attributes | |
const VariableComputer * | myComputer |
Additional Inherited Members | |
Public Types inherited from CachingVariable | |
typedef std::pair< bool, valueType > | evalType |
typedef double | valueType |
typedef std::map< std::string, const CachingVariable * > | vMap |
Protected Member Functions inherited from CachingVariable | |
evalType & | baseEval (const edm::Event &iEvent) const |
bool | notSeenThisEventAlready (const edm::Event &iEvent) const |
void | setCache (valueType &v) const |
void | setNotCompute () const |
Protected Attributes inherited from CachingVariable | |
evalType | cache_ |
edm::ParameterSet | conf_ |
Description | d_ |
edm::Event::CacheIdentifier_t | eventCacheID_ =0 |
std::string | holderName_ |
std::string | method_ |
std::string | name_ |
Definition at line 153 of file CachingVariable.h.
ComputedVariable::ComputedVariable | ( | const CachingVariableFactoryArg & | arg | ) |
Definition at line 85 of file CachingVariable.cc.
References reco::get(), edm::ParameterSet::getParameter(), CachingVariable::CachingVariableFactoryArg::iConfig, myComputer, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 156 of file CachingVariable.h.
|
inlinevirtual |
Definition at line 158 of file CachingVariable.h.
|
inlinevirtual |
Reimplemented from CachingVariable.
Definition at line 160 of file CachingVariable.h.
References CachingVariable::cache_, VariableComputer::compute(), myComputer, and VariableComputer::notSeenThisEventAlready().
|
private |
Definition at line 166 of file CachingVariable.h.
Referenced by ComputedVariable(), and eval().