CMS 3D CMS Logo

HLTTauMCProducer.h
Go to the documentation of this file.
1 /*HLTTauMCProducer
2 Producer that creates LorentzVector Collections
3 from offline reconstructed quantities to be used
4 in Offline Trigger DQM etc
5 */
6 
7 #ifndef HLTTauMCProducer_h
8 #define HLTTauMCProducer_h
9 
23 #include "HepMC/GenEvent.h"
25 
26 #include "TLorentzVector.h"
27 #include <string>
28 #include <vector>
29 
31 typedef std::vector<LorentzVector> LorentzVectorCollection;
32 
34 public:
35  explicit HLTTauMCProducer(const edm::ParameterSet &);
36 
37  void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override;
38 
39 private:
42  int status = 1,
43  int pdgId = 0) const;
44 
55  };
56 
59  const double ptMinMCTau_;
60  const double ptMinMCElectron_;
61  const double ptMinMCMuon_;
62  const std::vector<int> m_PDG_;
63  const double etaMin_, etaMax_, phiMin_, phiMax_;
64 };
65 
66 #endif
const double ptMinMCTau_
const edm::EDGetTokenT< reco::GenMETCollection > MCMET_
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:14
const double phiMin_
const double ptMinMCElectron_
HLTTauMCProducer(const edm::ParameterSet &)
const double ptMinMCMuon_
const double etaMin_
void getGenDecayProducts(const reco::GenParticleRef &, reco::GenParticleRefVector &, int status=1, int pdgId=0) const
const double etaMax_
std::vector< LorentzVector > LorentzVectorCollection
const edm::EDGetTokenT< reco::GenParticleCollection > MC_
const double phiMax_
math::XYZTLorentzVectorD LorentzVector
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
const std::vector< int > m_PDG_