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  ~HLTTauMCProducer() override;
37 
38  void produce(edm::Event &, const edm::EventSetup &) override;
39 
40 private:
42 
53  };
54 
57  double ptMinMCTau_;
59  double ptMinMCMuon_;
60  std::vector<int> m_PDG_;
62 };
63 
64 #endif
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
std::vector< int > m_PDG_
edm::EDGetTokenT< reco::GenParticleCollection > MC_
~HLTTauMCProducer() override
HLTTauMCProducer(const edm::ParameterSet &)
void produce(edm::Event &, const edm::EventSetup &) override
void getGenDecayProducts(const reco::GenParticleRef &, reco::GenParticleRefVector &, int status=1, int pdgId=0)
std::vector< LorentzVector > LorentzVectorCollection
math::XYZTLorentzVectorD LorentzVector