CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
54 public:
55  explicit HLTTauRefProducer(const edm::ParameterSet&);
57 
58  virtual void produce(edm::Event&, const edm::EventSetup&);
59 
60  private:
62  typedef std::vector<LorentzVector> LorentzVectorCollection;
63 
65  std::vector<edm::EDGetTokenT<reco::PFTauDiscriminator> > PFTauDis_;
66  bool doPFTaus_;
67  double ptMinPFTau_;
68 
69 
76  bool e_doID_;
78  double e_trackMinPt_;
79  double e_lipCut_;
80  double e_minIsoDR_;
81  double e_maxIsoDR_;
85  double e_FromZet_;
86 
88  bool doPhotons_;
90  double ptMinPhoton_;
91 
92 
94  bool doMuons_;
95  double ptMinMuon_;
96 
97 
99  bool doJets_;
100  double ptMinJet_;
101 
103  bool doTowers_;
104  double ptMinTower_;
105  double towerIsol_;
106 
108  bool doMET_;
109  double ptMinMET_;
110 
111  double etaMax;
112 
113  void doPFTaus(edm::Event&,const edm::EventSetup&);
114  void doMuons(edm::Event&,const edm::EventSetup&);
115  void doElectrons(edm::Event&,const edm::EventSetup&);
116  void doElectronsFromZ(edm::Event&,const edm::EventSetup&,std::auto_ptr<LorentzVectorCollection>&);
118  void doJets(edm::Event&,const edm::EventSetup&);
119  void doPhotons(edm::Event&,const edm::EventSetup&);
120  void doTowers(edm::Event&,const edm::EventSetup&);
121  void doMET(edm::Event&,const edm::EventSetup&);
122 };
123 
124 #endif
edm::EDGetTokenT< reco::MuonCollection > Muons_
void doPFTaus(edm::Event &, const edm::EventSetup &)
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:14
virtual void produce(edm::Event &, const edm::EventSetup &)
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:14
HLTTauRefProducer(const edm::ParameterSet &)
void doTowers(edm::Event &, const edm::EventSetup &)
double ElectronTrkIsolation(const reco::TrackCollection *, const reco::GsfElectron &)
void doJets(edm::Event &, const edm::EventSetup &)
math::XYZTLorentzVectorD LorentzVector
edm::EDGetTokenT< reco::CaloMETCollection > MET_
edm::EDGetTokenT< reco::GsfElectronCollection > Electrons_
edm::EDGetTokenT< reco::TrackCollection > e_ctfTrackCollection_
void doElectronsFromZ(edm::Event &, const edm::EventSetup &, std::auto_ptr< LorentzVectorCollection > &)
void doMET(edm::Event &, const edm::EventSetup &)
edm::EDGetTokenT< CaloTowerCollection > Towers_
edm::EDGetTokenT< reco::PhotonCollection > Photons_
edm::EDGetTokenT< reco::PFTauCollection > PFTaus_
void doMuons(edm::Event &, const edm::EventSetup &)
edm::EDGetTokenT< reco::ElectronIDAssociationCollection > e_idAssocProd_
std::vector< edm::EDGetTokenT< reco::PFTauDiscriminator > > PFTauDis_
edm::InputTag e_ctfTrackCollectionSrc_
std::vector< LorentzVector > LorentzVectorCollection
void doPhotons(edm::Event &, const edm::EventSetup &)
void doElectrons(edm::Event &, const edm::EventSetup &)
edm::EDGetTokenT< reco::CaloJetCollection > Jets_