CMS 3D CMS Logo

HLTTauRefProducer.h
Go to the documentation of this file.
1 /*HLTTauRefProducer
2  Producer that creates LorentzVector Collections
3  from offline reconstructed quantities to be used
4  in Offline Trigger DQM etc
5 */
6 
7 #ifndef HLTTauRefProducer_h
8 #define HLTTauRefProducer_h
9 
18 
19 #include "TLorentzVector.h"
20 // TAU includes
24 
25 // ELECTRON includes
32 // MUON includes
36 #include "TLorentzVector.h"
38 
39 //Photon Includes
42 
43 //MET Includes
46 
47 #include <vector>
48 #include <string>
49 
51 public:
52 
53  explicit HLTTauRefProducer(const edm::ParameterSet&);
54 
55  void produce(edm::StreamID, edm::Event&, edm::EventSetup const&) const override;
56 
57 private:
58 
60  using LorentzVectorCollection = std::vector<LorentzVector>;
61 
63  std::vector<edm::EDGetTokenT<reco::PFTauDiscriminator>> PFTauDis_;
64  bool doPFTaus_;
66 
72  bool e_doID_;
74  double e_trackMinPt_;
75  double e_lipCut_;
76  double e_minIsoDR_;
77  double e_maxIsoDR_;
80  double e_zMmin_;
81  double e_zMmax_;
82  double e_FromZet_;
83 
85  bool doPhotons_;
87  double ptMinPhoton_;
88 
90  bool doMuons_;
91  double ptMinMuon_;
92 
94  bool doJets_;
95  double ptMinJet_;
96 
98  bool doTowers_;
99  double ptMinTower_;
100  double towerIsol_;
101 
103  bool doMET_;
104  double ptMinMET_;
105 
107 
108  void doPFTaus(edm::Event&) const;
109  void doMuons(edm::Event&) const;
110  void doElectrons(edm::Event&) const;
111  void doJets(edm::Event&) const;
112  void doPhotons(edm::Event&) const;
113  void doTowers(edm::Event&) const;
114  void doMET(edm::Event&) const;
115 };
116 
117 #endif
std::vector< LorentzVector > LorentzVectorCollection
edm::EDGetTokenT< reco::MuonCollection > Muons_
void produce(edm::StreamID, edm::Event &, edm::EventSetup const &) const override
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:14
void doElectrons(edm::Event &) const
void doMET(edm::Event &) const
HLTTauRefProducer(const edm::ParameterSet &)
edm::EDGetTokenT< reco::CaloMETCollection > MET_
edm::EDGetTokenT< reco::GsfElectronCollection > Electrons_
math::XYZTLorentzVectorD LorentzVector
edm::EDGetTokenT< reco::TrackCollection > e_ctfTrackCollection_
edm::EDGetTokenT< CaloTowerCollection > Towers_
edm::EDGetTokenT< reco::PhotonCollection > Photons_
edm::EDGetTokenT< reco::PFTauCollection > PFTaus_
std::vector< edm::EDGetTokenT< reco::PFTauDiscriminator > > PFTauDis_
edm::InputTag e_ctfTrackCollectionSrc_
void doTowers(edm::Event &) const
void doPFTaus(edm::Event &) const
void doMuons(edm::Event &) const
void doJets(edm::Event &) const
edm::EDGetTokenT< reco::CaloJetCollection > Jets_
void doPhotons(edm::Event &) const