#include <CachingVariable.h>
Public Member Functions | |
void | assign (std::string var, double &value) const |
virtual void | compute (const edm::Event &iEvent) const =0 |
void | declare (std::string var, edm::ConsumesCollector &iC) |
void | doesNotCompute () const |
void | doesNotCompute (std::string var) const |
const std::string & | name () const |
bool | notSeenThisEventAlready (const edm::Event &iEvent) const |
VariableComputer (const CachingVariable::CachingVariableFactoryArg &arg, edm::ConsumesCollector &iC) | |
virtual | ~VariableComputer () |
Protected Attributes | |
const CachingVariable::CachingVariableFactoryArg & | arg_ |
edm::Event::CacheIdentifier_t | eventCacheID_ =0 |
std::map< std::string,const ComputedVariable * > | iCompute_ |
std::string | method_ |
std::string | name_ |
std::string | separator_ |
Definition at line 114 of file CachingVariable.h.
VariableComputer::VariableComputer | ( | const CachingVariable::CachingVariableFactoryArg & | arg, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 35 of file CachingVariable.cc.
References arg_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), CachingVariable::CachingVariableFactoryArg::iConfig, method_, CachingVariable::CachingVariableFactoryArg::n, name_, separator_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinevirtual |
Definition at line 117 of file CachingVariable.h.
void VariableComputer::assign | ( | std::string | var, |
double & | value | ||
) | const |
Definition at line 54 of file CachingVariable.cc.
References iCompute_, and contentValuesCheck::ss.
Referenced by RazorComputer::compute(), L1BitComputer::compute(), HLTBitComputer::compute(), and VariableComputerTest::compute().
|
pure virtual |
Implemented in VariableComputerTest, HLTBitComputer, L1BitComputer, and RazorComputer.
Referenced by ComputedVariable::eval().
void VariableComputer::declare | ( | std::string | var, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 43 of file CachingVariable.cc.
References arg_, iCompute_, CachingVariable::CachingVariableFactoryArg::iConfig, CachingVariable::CachingVariableFactoryArg::m, method_, name_, separator_, AlCaHLTBitMon_QueryRunRegistry::string, and MetTreeProducer::var().
Referenced by HLTBitComputer::HLTBitComputer(), L1BitComputer::L1BitComputer(), RazorComputer::RazorComputer(), and VariableComputerTest::VariableComputerTest().
void VariableComputer::doesNotCompute | ( | ) | const |
Definition at line 67 of file CachingVariable.cc.
References iCompute_.
Referenced by L1BitComputer::compute(), HLTBitComputer::compute(), and VariableComputerTest::compute().
void VariableComputer::doesNotCompute | ( | std::string | var | ) | const |
Definition at line 71 of file CachingVariable.cc.
References iCompute_, and contentValuesCheck::ss.
|
inline |
Definition at line 120 of file CachingVariable.h.
References name_.
Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), config.CFG::__str__(), and validation.Sample::digest().
|
inline |
Definition at line 126 of file CachingVariable.h.
References edm::Event::cacheIdentifier(), eventCacheID_, and bookConverter::max.
Referenced by ComputedVariable::eval().
|
protected |
Definition at line 136 of file CachingVariable.h.
Referenced by declare(), and VariableComputer().
|
mutableprotected |
Definition at line 142 of file CachingVariable.h.
Referenced by notSeenThisEventAlready().
|
mutableprotected |
Definition at line 139 of file CachingVariable.h.
Referenced by assign(), declare(), and doesNotCompute().
|
protected |
Definition at line 138 of file CachingVariable.h.
Referenced by declare(), and VariableComputer().
|
protected |
Definition at line 137 of file CachingVariable.h.
Referenced by declare(), name(), and VariableComputer().
|
protected |
Definition at line 140 of file CachingVariable.h.
Referenced by declare(), and VariableComputer().