#include <CachingVariable.h>
Classes | |
struct | CachingVariableFactoryArg |
Public Types | |
typedef std::pair< bool, valueType > | evalType |
typedef double | valueType |
typedef std::map< std::string, const CachingVariable * > | vMap |
Public Member Functions | |
void | addDescriptionLine (const std::string &s) |
CachingVariable (std::string m, std::string n, const edm::ParameterSet &iConfig, edm::ConsumesCollector &iC) | |
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 () |
Protected Member Functions | |
evalType & | baseEval (const edm::Event &iEvent) const |
virtual evalType | eval (const edm::Event &iEvent) const |
bool | notSeenThisEventAlready (const edm::Event &iEvent) const |
void | setCache (valueType &v) const |
void | setNotCompute () const |
Protected Attributes | |
evalType | cache_ |
edm::ParameterSet | conf_ |
Description | d_ |
edm::Event::CacheIdentifier_t | eventCacheID_ =0 |
std::string | holderName_ |
std::string | method_ |
std::string | name_ |
Friends | |
class | VariableComputer |
Definition at line 39 of file CachingVariable.h.
typedef std::pair<bool, valueType> CachingVariable::evalType |
Definition at line 43 of file CachingVariable.h.
typedef double CachingVariable::valueType |
Definition at line 42 of file CachingVariable.h.
typedef std::map<std::string, const CachingVariable*> CachingVariable::vMap |
Definition at line 44 of file CachingVariable.h.
|
inline |
Definition at line 53 of file CachingVariable.h.
|
inlinevirtual |
Definition at line 57 of file CachingVariable.h.
|
inline |
Definition at line 68 of file CachingVariable.h.
|
inlineprotected |
Definition at line 88 of file CachingVariable.h.
References LogDebug.
|
inline |
Definition at line 60 of file CachingVariable.h.
Referenced by VarSplitter::eval(), VariablePower::eval(), SplittingConfigurableHisto::fill(), VariableFormulaEventSelector::select(), and VariableEventSelector::select().
|
inline |
Definition at line 67 of file CachingVariable.h.
|
inlineprotectedvirtual |
Reimplemented in SimpleValueVectorVariable< TYPE >, SimpleValueVariable< TYPE >, VariablePower, TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >, ExpressionVariable< Object, label >, VarSplitter, Splitter, ComputedVariable, and HLTBitVariable.
Definition at line 105 of file CachingVariable.h.
|
inline |
Definition at line 69 of file CachingVariable.h.
|
inline |
Definition at line 66 of file CachingVariable.h.
|
inline |
Definition at line 65 of file CachingVariable.h.
Referenced by config.CFG::__str__(), validation.Sample::digest(), and SplittingConfigurableHisto::SplittingConfigurableHisto().
|
inlineprotected |
Definition at line 95 of file CachingVariable.h.
References edm::Event::cacheIdentifier(), and hpstanc_transforms::max.
|
inline |
Definition at line 63 of file CachingVariable.h.
|
inline |
Definition at line 72 of file CachingVariable.h.
References heppy_report::description, and dataset::name.
|
inlineprotected |
|
inline |
Definition at line 70 of file CachingVariable.h.
|
inlineprotected |
Definition at line 86 of file CachingVariable.h.
|
friend |
Definition at line 109 of file CachingVariable.h.
|
mutableprotected |
Definition at line 78 of file CachingVariable.h.
|
protected |
Definition at line 108 of file CachingVariable.h.
|
protected |
Definition at line 105 of file CachingVariable.h.
|
mutableprotected |
Definition at line 79 of file CachingVariable.h.
|
mutableprotected |
Definition at line 83 of file CachingVariable.h.
|
protected |
Definition at line 81 of file CachingVariable.h.
|
protected |
Definition at line 82 of file CachingVariable.h.