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  void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override;
19 
20  double CalcMR(TLorentzVector ja, TLorentzVector jb) const;
21  double CalcR(double MR,
22  const TLorentzVector &ja,
23  const TLorentzVector &jb,
25  const std::vector<math::XYZTLorentzVector> &muons) const;
26 
27 private:
28  edm::InputTag inputTag_; // input tag identifying product
29  edm::InputTag inputMetTag_; // input tag identifying MET product
30 
31  // define Token(-s)
34 };
35 
36 #endif // RazorVarProducer_h
RazorVarProducer(const edm::ParameterSet &)
muons
the two sets of parameters below are mutually exclusive, depending if RECO or ALCARECO is used the us...
Definition: DiMuonV_cfg.py:212
edm::InputTag inputMetTag_
edm::EDGetTokenT< reco::CaloMETCollection > inputMetTagToken_
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
double CalcMR(TLorentzVector ja, TLorentzVector jb) const
edm::InputTag inputTag_
double CalcR(double MR, const TLorentzVector &ja, const TLorentzVector &jb, edm::Handle< reco::CaloMETCollection > met, const std::vector< math::XYZTLorentzVector > &muons) const
edm::EDGetTokenT< std::vector< math::XYZTLorentzVector > > inputTagToken_