#include <RazorVarProducer.h>
Public Member Functions | |
double | CalcMR (TLorentzVector ja, TLorentzVector jb) |
double | CalcR (double MR, TLorentzVector ja, TLorentzVector jb, edm::Handle< reco::CaloMETCollection > met, std::vector< math::XYZTLorentzVector > muons) |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
RazorVarProducer (const edm::ParameterSet &) | |
~RazorVarProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Attributes | |
edm::InputTag | inputMetTag_ |
edm::InputTag | inputTag_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Definition at line 13 of file RazorVarProducer.h.
|
explicit |
Definition at line 26 of file RazorVarProducer.cc.
References edm::InputTag::encode(), inputMetTag_, inputTag_, and LogDebug.
RazorVarProducer::~RazorVarProducer | ( | ) |
Definition at line 37 of file RazorVarProducer.cc.
double RazorVarProducer::CalcMR | ( | TLorentzVector | ja, |
TLorentzVector | jb | ||
) |
Definition at line 76 of file RazorVarProducer.cc.
References funct::A, mathSSE::sqrt(), and groupFilesInBlocks::temp.
Referenced by produce().
double RazorVarProducer::CalcR | ( | double | MR, |
TLorentzVector | ja, | ||
TLorentzVector | jb, | ||
edm::Handle< reco::CaloMETCollection > | met, | ||
std::vector< math::XYZTLorentzVector > | muons | ||
) |
Definition at line 110 of file RazorVarProducer.cc.
References CaloMET_cfi::met, phi, mathSSE::sqrt(), and tmp.
Referenced by produce().
|
virtual |
Implements edm::EDProducer.
Definition at line 43 of file RazorVarProducer.cc.
References CalcMR(), CalcR(), edm::Event::getByLabel(), inputMetTag_, inputTag_, edm::Event::put(), dttmaxenums::R, dt_dqm_sourceclient_common_cff::reco, and query::result.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 25 of file RazorVarProducer.h.
Referenced by produce(), and RazorVarProducer().
|
private |
Definition at line 24 of file RazorVarProducer.h.
Referenced by produce(), and RazorVarProducer().