#include <CachingVariable.h>
Public Member Functions | |
CachingVariable::evalType | eval (const edm::Event &iEvent) const override |
unsigned int | maxSlots () const override |
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 220 of file CachingVariable.h.
|
inline |
Definition at line 222 of file CachingVariable.h.
References edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), mps_fire::i, CachingVariable::CachingVariableFactoryArg::iConfig, iEvent, cmsLHEtoEOSManager::l, CachingVariable::CachingVariableFactoryArg::m, CachingVariable::CachingVariableFactoryArg::n, Skims_PA_cff::name, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Implements Splitter.
Definition at line 4 of file CachingVariable.cc.
References CachingVariable::compute(), mps_fire::i, iEvent, Splitter::maxIndex(), slots_, useOverFlow_, useUnderFlow_, findQualityFiles::v, trigObjTnPSource_cfi::var, and var_.
|
inlineoverridevirtual |
Reimplemented from Splitter.
Definition at line 264 of file CachingVariable.h.
References alignCSCRings::s.
|
protected |
Definition at line 277 of file CachingVariable.h.
Referenced by eval().
|
protected |
Definition at line 276 of file CachingVariable.h.
Referenced by eval().
|
protected |
Definition at line 275 of file CachingVariable.h.
Referenced by eval().
|
protected |
Definition at line 274 of file CachingVariable.h.
Referenced by eval(), and VariablePower::eval().