CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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"
23 #include <vector>
24 #include <string>
25 #include "TLorentzVector.h"
26 
28 typedef std::vector<LorentzVector> LorentzVectorCollection;
29 
31 
32 public:
33  explicit HLTTauMCProducer(const edm::ParameterSet&);
35 
36  virtual void produce(edm::Event&, const edm::EventSetup&);
37 
38  private:
39 
40  std::vector<reco::GenParticle*> getGenStableDecayProducts(const reco::GenParticle * particle);
41 
46 
48  double ptMinMCTau_;
50  double ptMinMCMuon_;
51  std::vector<int> m_PDG_;
52  double etaMax;
53 
54 };
55 
56 #endif
std::vector< reco::GenParticle * > getGenStableDecayProducts(const reco::GenParticle *particle)
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 &)
std::vector< LorentzVector > LorentzVectorCollection
virtual void produce(edm::Event &, const edm::EventSetup &)
math::PtEtaPhiELorentzVectorF LorentzVector