#include <RazorComputer.h>
Public Member Functions | |
void | compute (const edm::Event &iEvent) const override |
RazorComputer (const CachingVariable::CachingVariableFactoryArg &arg, edm::ConsumesCollector &iC) | |
~RazorComputer () override | |
Public Member Functions inherited from VariableComputer | |
void | assign (std::string var, double &value) const |
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 () |
Private Attributes | |
float | eta_ |
edm::InputTag | jet_ |
edm::EDGetTokenT< std::vector< pat::Jet > > | jetToken_ |
edm::InputTag | met_ |
edm::EDGetTokenT< std::vector< pat::MET > > | metToken_ |
float | pt_ |
Additional Inherited Members | |
Protected Attributes inherited from VariableComputer | |
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 18 of file RazorComputer.h.
RazorComputer::RazorComputer | ( | const CachingVariable::CachingVariableFactoryArg & | arg, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 9 of file RazorComputer.cc.
References edm::ConsumesCollector::consumes(), VariableComputer::declare(), eta_, jet_, jetToken_, met_, metToken_, and pt_.
|
inlineoverride |
Definition at line 21 of file RazorComputer.h.
|
overridevirtual |
Implements VariableComputer.
Definition at line 47 of file RazorComputer.cc.
References VariableComputer::assign(), razor::CalcMR(), razor::CalcMTR(), KineDebug3::count(), eta_, mps_fire::i, iEvent, runTauDisplay::jetH, singleTopDQM_cfi::jets, jetToken_, metToken_, HLTObjectMonitor_cfi::mr, edm::Handle< T >::product(), pt_, alignCSCRings::r, diffTwoXMLs::r2, and groupFilesInBlocks::temp.
|
private |
Definition at line 30 of file RazorComputer.h.
Referenced by compute(), and RazorComputer().
|
private |
Definition at line 26 of file RazorComputer.h.
Referenced by RazorComputer().
|
private |
Definition at line 28 of file RazorComputer.h.
Referenced by compute(), and RazorComputer().
|
private |
Definition at line 27 of file RazorComputer.h.
Referenced by RazorComputer().
|
private |
Definition at line 29 of file RazorComputer.h.
Referenced by compute(), and RazorComputer().
|
private |
Definition at line 30 of file RazorComputer.h.
Referenced by compute(), and RazorComputer().