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
34 // MUON includes
38 #include "TLorentzVector.h"
40 
41 //Photon Includes
44 
45 //MET Includes
48 
49 #include <vector>
50 #include <string>
51 
53 public:
54 
55  explicit HLTTauRefProducer(const edm::ParameterSet&);
56 
57  void produce(edm::StreamID, edm::Event&, edm::EventSetup const&) const override;
58 
59 private:
60 
62  using LorentzVectorCollection = std::vector<LorentzVector>;
63 
65  std::vector<edm::EDGetTokenT<reco::PFTauDiscriminator>> PFTauDis_;
66  bool doPFTaus_;
67  double ptMinPFTau_;
68 
75  bool e_doID_;
77  double e_trackMinPt_;
78  double e_lipCut_;
79  double e_minIsoDR_;
80  double e_maxIsoDR_;
83  double e_zMmin_;
84  double e_zMmax_;
85  double e_FromZet_;
86 
88  bool doPhotons_;
90  double ptMinPhoton_;
91 
93  bool doMuons_;
94  double ptMinMuon_;
95 
97  bool doJets_;
98  double ptMinJet_;
99 
101  bool doTowers_;
102  double ptMinTower_;
103  double towerIsol_;
104 
106  bool doMET_;
107  double ptMinMET_;
108 
109  double etaMax_;
110 
111  void doPFTaus(edm::Event&) const;
112  void doMuons(edm::Event&) const;
113  void doElectrons(edm::Event&) const;
114  void doJets(edm::Event&) const;
115  void doPhotons(edm::Event&) const;
116  void doTowers(edm::Event&) const;
117  void doMET(edm::Event&) const;
118 };
119 
120 #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_
edm::EDGetTokenT< reco::ElectronIDAssociationCollection > e_idAssocProd_
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