#include <CachingVariable.h>
Public Member Functions | |
CachingVariable::evalType | eval (const edm::Event &iEvent) const |
unsigned int | maxSlots () const |
VarSplitter (const CachingVariableFactoryArg &arg, edm::ConsumesCollector &iC) | |
Public Member Functions inherited from Splitter | |
const std::string & | label (unsigned int i) const |
unsigned int | maxIndex () const |
const std::string | shortLabel (unsigned int i) const |
Splitter (std::string method, std::string n, const edm::ParameterSet &iConfig, edm::ConsumesCollector &iC) | |
Public Member Functions inherited from CachingVariable | |
void | addDescriptionLine (const std::string &s) |
CachingVariable (std::string m, std::string n, const edm::ParameterSet &iConfig, edm::ConsumesCollector &iC) | |
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 Attributes | |
std::vector< double > | slots_ |
bool | useOverFlow_ |
bool | useUnderFlow_ |
std::string | var_ |
Protected Attributes inherited from Splitter | |
std::vector< std::string > | labels_ |
std::vector< std::string > | short_labels_ |
Protected Attributes inherited from CachingVariable | |
evalType | cache_ |
edm::ParameterSet | conf_ |
Description | d_ |
edm::Event::CacheIdentifier_t | eventCacheID_ =0 |
std::string | holderName_ |
std::string | method_ |
std::string | name_ |
Additional Inherited Members | |
Public Types inherited from CachingVariable | |
typedef std::pair< bool, valueType > | evalType |
typedef double | valueType |
typedef std::map< std::string, const CachingVariable * > | vMap |
Protected Member Functions inherited from CachingVariable | |
evalType & | baseEval (const edm::Event &iEvent) const |
bool | notSeenThisEventAlready (const edm::Event &iEvent) const |
void | setCache (valueType &v) const |
void | setNotCompute () const |
Definition at line 208 of file CachingVariable.h.
|
inline |
Definition at line 210 of file CachingVariable.h.
References edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), mps_fire::i, CachingVariable::CachingVariableFactoryArg::iConfig, iEvent, checklumidiff::l, CachingVariable::CachingVariableFactoryArg::m, CachingVariable::CachingVariableFactoryArg::n, dataset::name, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Implements Splitter.
Definition at line 4 of file CachingVariable.cc.
References CachingVariable::compute(), mps_fire::i, iEvent, Splitter::maxIndex(), slots_, useOverFlow_, useUnderFlow_, findQualityFiles::v, JetChargeProducer_cfi::var, and var_.
|
inlinevirtual |
Reimplemented from Splitter.
Definition at line 250 of file CachingVariable.h.
References alignCSCRings::s.
|
protected |
Definition at line 260 of file CachingVariable.h.
Referenced by eval().
|
protected |
Definition at line 259 of file CachingVariable.h.
Referenced by eval().
|
protected |
Definition at line 258 of file CachingVariable.h.
Referenced by eval().
|
protected |
Definition at line 257 of file CachingVariable.h.
Referenced by eval(), and VariablePower::eval().