CMS 3D CMS Logo

RazorVarProducer.h
Go to the documentation of this file.
1 #ifndef RazorVarProducer_h
2 #define RazorVarProducer_h
3 
9 
12 #include "TLorentzVector.h"
13 #include <vector>
14 
16 public:
17  explicit RazorVarProducer(const edm::ParameterSet &);
18  ~RazorVarProducer() override;
19  void produce(edm::Event &, const edm::EventSetup &) override;
20 
21  double CalcMR(TLorentzVector ja, TLorentzVector jb);
22  double CalcR(double MR,
23  const TLorentzVector &ja,
24  const TLorentzVector &jb,
26  const std::vector<math::XYZTLorentzVector> &muons);
27 
28 private:
29  edm::InputTag inputTag_; // input tag identifying product
30  edm::InputTag inputMetTag_; // input tag identifying MET product
31 
32  // define Token(-s)
35 };
36 
37 #endif // RazorVarProducer_h
RazorVarProducer(const edm::ParameterSet &)
double CalcMR(TLorentzVector ja, TLorentzVector jb)
edm::InputTag inputMetTag_
edm::EDGetTokenT< reco::CaloMETCollection > inputMetTagToken_
met
===> hadronic RAZOR
double CalcR(double MR, const TLorentzVector &ja, const TLorentzVector &jb, edm::Handle< reco::CaloMETCollection > met, const std::vector< math::XYZTLorentzVector > &muons)
void produce(edm::Event &, const edm::EventSetup &) override
~RazorVarProducer() override
edm::InputTag inputTag_
edm::EDGetTokenT< std::vector< math::XYZTLorentzVector > > inputTagToken_