#include <CachingVariable.h>
Classes | |
class | getObject |
Public Member Functions | |
virtual CachingVariable::valueType | calculate (getObject &o) const |
CachingVariable::evalType | eval (const edm::Event &iEvent) const override |
getObject | objects (const edm::Event &iEvent) const |
TwoObjectVariable (const CachingVariableFactoryArg &arg, 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 () |
Private Attributes | |
unsigned int | indexLhs_ |
unsigned int | indexRhs_ |
edm::EDGetTokenT< std::vector < LHS > > | srcLhs_ |
edm::InputTag | srcLhsTag_ |
edm::EDGetTokenT< std::vector < RHS > > | srcRhs_ |
edm::InputTag | srcRhsTag_ |
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 |
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_ |
Definition at line 444 of file CachingVariable.h.
|
inline |
Definition at line 446 of file CachingVariable.h.
References CachingVariable::addDescriptionLine(), getPayloadData::description, TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::indexLhs_, TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::indexRhs_, CachingVariable::CachingVariableFactoryArg::m, CachingVariable::CachingVariableFactoryArg::n, TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::srcLhs_, TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::srcRhs_, and contentValuesCheck::ss.
|
inlinevirtual |
Definition at line 508 of file CachingVariable.h.
References TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::getObject::lhs, and TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::getObject::rhs.
Referenced by TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::eval().
|
inlineoverridevirtual |
Reimplemented from CachingVariable.
Definition at line 512 of file CachingVariable.h.
References TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::calculate(), class-composition::o, TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::objects(), and TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::getObject::test.
|
inline |
Definition at line 472 of file CachingVariable.h.
References edm::HandleBase::failedToGet(), edm::Event::getByToken(), TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::indexLhs_, TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::indexRhs_, TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::getObject::lhs, LogDebug, CachingVariable::name(), TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::getObject::rhs, TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::srcLhs_, TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::srcLhsTag_, TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::srcRhs_, TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::srcRhsTag_, and TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::getObject::test.
Referenced by TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::eval().
|
private |
Definition at line 522 of file CachingVariable.h.
Referenced by TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::objects(), and TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::TwoObjectVariable().
|
private |
Definition at line 525 of file CachingVariable.h.
Referenced by TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::objects(), and TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::TwoObjectVariable().
|
private |
Definition at line 521 of file CachingVariable.h.
Referenced by TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::objects(), and TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::TwoObjectVariable().
|
private |
Definition at line 520 of file CachingVariable.h.
Referenced by TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::objects().
|
private |
Definition at line 524 of file CachingVariable.h.
Referenced by TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::objects(), and TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::TwoObjectVariable().
|
private |
Definition at line 523 of file CachingVariable.h.
Referenced by TwoObjectVariable< LHS, lLHS, RHS, lRHS, Calculator >::objects().