#include <RazorComputer.h>
Public Member Functions | |
void | compute (const edm::Event &iEvent) const |
RazorComputer (const CachingVariable::CachingVariableFactoryArg &arg, edm::ConsumesCollector &iC) | |
~RazorComputer () | |
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 13 of file RazorComputer.cc.
References edm::ConsumesCollector::consumes(), VariableComputer::declare(), eta_, CachingVariable::CachingVariableFactoryArg::iConfig, jet_, jetToken_, met_, metToken_, and pt_.
|
inline |
Definition at line 21 of file RazorComputer.h.
|
virtual |
Implements VariableComputer.
Definition at line 53 of file RazorComputer.cc.
References VariableComputer::assign(), razor::CalcMR(), razor::CalcMTR(), KineDebug3::count(), eta_, edm::Event::getByToken(), i, fwrapper::jets, jetToken_, metToken_, edm::Handle< T >::product(), pt_, alignCSCRings::r, diffTwoXMLs::r2, and groupFilesInBlocks::temp.
|
private |
Definition at line 29 of file RazorComputer.h.
Referenced by compute(), and RazorComputer().
|
private |
Definition at line 25 of file RazorComputer.h.
Referenced by RazorComputer().
|
private |
Definition at line 27 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 29 of file RazorComputer.h.
Referenced by compute(), and RazorComputer().