#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.
References bookConverter::compute(), and iEvent.
void VariableComputer::assign | ( | std::string | var, |
double & | value | ||
) | const |
Definition at line 54 of file CachingVariable.cc.
References iCompute_.
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 43 of file CachingVariable.cc.
References arg_, iCompute_, CachingVariable::CachingVariableFactoryArg::iConfig, CachingVariable::CachingVariableFactoryArg::m, method_, name_, separator_, AlCaHLTBitMon_QueryRunRegistry::string, and JetChargeProducer_cfi::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_.
|
inline |
Definition at line 120 of file CachingVariable.h.
References assign(), AlCaHLTBitMon_QueryRunRegistry::string, and JetChargeProducer_cfi::var.
Referenced by config.CFG::__str__(), and validation.Sample::digest().
|
inline |
Definition at line 126 of file CachingVariable.h.
References edm::Event::cacheIdentifier(), and hpstanc_transforms::max.
|
protected |
Definition at line 136 of file CachingVariable.h.
Referenced by declare(), and VariableComputer().
|
mutableprotected |
Definition at line 142 of file CachingVariable.h.
|
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(), and VariableComputer().
|
protected |
Definition at line 140 of file CachingVariable.h.
Referenced by declare(), and VariableComputer().