#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) | |
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 38 of file CachingVariable.h.
typedef std::pair<bool, valueType> CachingVariable::evalType |
Definition at line 42 of file CachingVariable.h.
typedef double CachingVariable::valueType |
Definition at line 41 of file CachingVariable.h.
typedef std::map<std::string, const CachingVariable*> CachingVariable::vMap |
Definition at line 43 of file CachingVariable.h.
|
inline |
Definition at line 52 of file CachingVariable.h.
|
inlinevirtual |
Definition at line 56 of file CachingVariable.h.
|
inline |
Definition at line 67 of file CachingVariable.h.
References Description::addLine(), and d_.
Referenced by ExpressionVariable< Object, label >::ExpressionVariable(), TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::TwoObjectVariable(), and VariablePower::VariablePower().
|
inlineprotected |
Definition at line 89 of file CachingVariable.h.
References cache_, eval(), holderName_, LogDebug, name_, and notSeenThisEventAlready().
Referenced by compute(), and operator()().
|
inline |
Definition at line 59 of file CachingVariable.h.
References baseEval().
Referenced by VarSplitter::eval(), VariablePower::eval(), ConfigurableHisto::fill(), SplittingConfigurableHisto::fill(), and VariableEventSelector::select().
|
inline |
|
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 106 of file CachingVariable.h.
Referenced by baseEval().
|
inline |
|
inline |
Definition at line 65 of file CachingVariable.h.
References method_.
Referenced by ExpressionVariable< Object, label >::eval().
|
inline |
Definition at line 64 of file CachingVariable.h.
References name_.
Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), SplittingConfigurableHisto::book(), ExpressionVariable< Object, label >::ExpressionVariable(), TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::objects(), print(), SplittingConfigurableHisto::SplittingConfigurableHisto(), and VarSplitter::VarSplitter().
|
inlineprotected |
Definition at line 96 of file CachingVariable.h.
References edm::Event::cacheIdentifier(), eventCacheID_, and max().
Referenced by baseEval().
|
inline |
Definition at line 62 of file CachingVariable.h.
References baseEval().
|
inline |
Definition at line 71 of file CachingVariable.h.
References description(), name(), and Description::text().
|
inlineprotected |
Definition at line 83 of file CachingVariable.h.
References cache_, eventCacheID_, max(), and findQualityFiles::v.
|
inline |
|
inlineprotected |
Definition at line 86 of file CachingVariable.h.
References cache_, eventCacheID_, and max().
|
friend |
Definition at line 110 of file CachingVariable.h.
|
mutableprotected |
Definition at line 77 of file CachingVariable.h.
Referenced by baseEval(), ComputedVariable::eval(), setCache(), and setNotCompute().
|
protected |
Definition at line 109 of file CachingVariable.h.
Referenced by Splitter::label(), Splitter::shortLabel(), and VarSplitter::VarSplitter().
|
protected |
Definition at line 106 of file CachingVariable.h.
Referenced by addDescriptionLine(), and description().
|
mutableprotected |
Definition at line 78 of file CachingVariable.h.
Referenced by notSeenThisEventAlready(), setCache(), and setNotCompute().
|
mutableprotected |
Definition at line 82 of file CachingVariable.h.
Referenced by baseEval(), holderName(), and setHolder().
|
protected |
Definition at line 80 of file CachingVariable.h.
Referenced by method().
|
protected |
Definition at line 81 of file CachingVariable.h.
Referenced by baseEval(), and name().