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 
22 #include "HepMC/GenEvent.h"
25 
26 #include <vector>
27 #include <string>
28 #include "TLorentzVector.h"
29 
31 typedef std::vector<LorentzVector> LorentzVectorCollection;
32 
34 
35 public:
36  explicit HLTTauMCProducer(const edm::ParameterSet&);
38 
39  virtual void produce(edm::Event&, const edm::EventSetup&);
40 
41  private:
42 
44  int status=1, int pdgId=0);
45 
50 
53  double ptMinMCTau_;
55  double ptMinMCMuon_;
56  std::vector<int> m_PDG_;
58 
59 };
60 
61 #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(const edm::ParameterSet &)
void getGenDecayProducts(const reco::GenParticleRef &, reco::GenParticleRefVector &, int status=1, int pdgId=0)
std::vector< LorentzVector > LorentzVectorCollection
math::XYZTLorentzVectorD LorentzVector
virtual void produce(edm::Event &, const edm::EventSetup &)