#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 115 of file CachingVariable.h.
VariableComputer::VariableComputer | ( | const CachingVariable::CachingVariableFactoryArg & | arg, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 44 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 118 of file CachingVariable.h.
void VariableComputer::assign | ( | std::string | var, |
double & | value | ||
) | const |
Definition at line 66 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.
void VariableComputer::declare | ( | std::string | var, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 55 of file CachingVariable.cc.
References arg_, iCompute_, CachingVariable::CachingVariableFactoryArg::iConfig, CachingVariable::CachingVariableFactoryArg::m, method_, name_, separator_, AlCaHLTBitMon_QueryRunRegistry::string, and isotrackApplyRegressor::var.
Referenced by HLTBitComputer::HLTBitComputer(), L1BitComputer::L1BitComputer(), RazorComputer::RazorComputer(), and VariableComputerTest::VariableComputerTest().
void VariableComputer::doesNotCompute | ( | ) | const |
Definition at line 79 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 84 of file CachingVariable.cc.
References iCompute_, and contentValuesCheck::ss.
|
inline |
Definition at line 121 of file CachingVariable.h.
References name_.
Referenced by config.CFG::__str__(), geometryComparison.GeometryComparison::createScript(), validation.Sample::digest(), primaryVertexResolution.PrimaryVertexResolution::getRepMap(), primaryVertexValidation.PrimaryVertexValidation::getRepMap(), and zMuMuValidation.ZMuMuValidation::getRepMap().
|
inline |
Definition at line 127 of file CachingVariable.h.
References edm::Event::cacheIdentifier(), eventCacheID_, and SiStripPI::max.
|
protected |
Definition at line 137 of file CachingVariable.h.
Referenced by declare(), and VariableComputer().
|
mutableprotected |
Definition at line 143 of file CachingVariable.h.
Referenced by notSeenThisEventAlready().
|
mutableprotected |
Definition at line 140 of file CachingVariable.h.
Referenced by assign(), declare(), and doesNotCompute().
|
protected |
Definition at line 139 of file CachingVariable.h.
Referenced by declare(), and VariableComputer().
|
protected |
Definition at line 138 of file CachingVariable.h.
Referenced by declare(), name(), and VariableComputer().
|
protected |
Definition at line 141 of file CachingVariable.h.
Referenced by declare(), and VariableComputer().