#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) |
void | doesNotCompute () const |
void | doesNotCompute (std::string var) const |
const std::string & | name () const |
VariableComputer (CachingVariable::CachingVariableFactoryArg arg) | |
virtual | ~VariableComputer () |
Protected Attributes | |
CachingVariable::CachingVariableFactoryArg & | arg_ |
std::map< std::string,const ComputedVariable * > | iCompute_ |
std::string | method_ |
std::string | name_ |
std::string | separator_ |
Definition at line 106 of file CachingVariable.h.
VariableComputer::VariableComputer | ( | CachingVariable::CachingVariableFactoryArg | arg | ) |
Definition at line 35 of file CachingVariable.cc.
References arg_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), CachingVariable::CachingVariableFactoryArg::iConfig, method_, CachingVariable::CachingVariableFactoryArg::n, name_, and separator_.
|
inlinevirtual |
Definition at line 109 of file CachingVariable.h.
void VariableComputer::assign | ( | std::string | var, |
double & | value | ||
) | const |
Definition at line 54 of file CachingVariable.cc.
References iCompute_.
Referenced by L1BitComputer::compute(), HLTBitComputer::compute(), and VariableComputerTest::compute().
|
pure virtual |
Implemented in VariableComputerTest, HLTBitComputer, and L1BitComputer.
Referenced by ComputedVariable::eval().
void VariableComputer::declare | ( | std::string | var | ) |
Definition at line 43 of file CachingVariable.cc.
References arg_, iCompute_, CachingVariable::CachingVariableFactoryArg::iConfig, CachingVariable::CachingVariableFactoryArg::m, method_, name_, and separator_.
Referenced by HLTBitComputer::HLTBitComputer(), L1BitComputer::L1BitComputer(), 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 112 of file CachingVariable.h.
References name_.
Referenced by ComputedVariable::eval().
|
protected |
Definition at line 119 of file CachingVariable.h.
Referenced by declare(), and VariableComputer().
|
mutableprotected |
Definition at line 122 of file CachingVariable.h.
Referenced by assign(), declare(), and doesNotCompute().
|
protected |
Definition at line 121 of file CachingVariable.h.
Referenced by declare(), and VariableComputer().
|
protected |
Definition at line 120 of file CachingVariable.h.
Referenced by declare(), name(), and VariableComputer().
|
protected |
Definition at line 123 of file CachingVariable.h.
Referenced by declare(), and VariableComputer().