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 #include <vector>
46 #include <string>
47 
49 
50 public:
51  explicit HLTTauRefProducer(const edm::ParameterSet&);
53 
54  virtual void produce(edm::Event&, const edm::EventSetup&);
55 
56  private:
58  typedef std::vector<LorentzVector> LorentzVectorCollection;
59 
61  std::vector<edm::EDGetTokenT<reco::PFTauDiscriminator> > PFTauDis_;
62  bool doPFTaus_;
63  double ptMinPFTau_;
64 
65 
72  bool e_doID_;
74  double e_trackMinPt_;
75  double e_lipCut_;
76  double e_minIsoDR_;
77  double e_maxIsoDR_;
81  double e_FromZet_;
82 
84  bool doPhotons_;
86  double ptMinPhoton_;
87 
88 
90  bool doMuons_;
91  double ptMinMuon_;
92 
93 
95  bool doJets_;
96  double ptMinJet_;
97 
99  bool doTowers_;
100  double ptMinTower_;
101  double towerIsol_;
102 
103  double etaMax;
104 
105  void doPFTaus(edm::Event&,const edm::EventSetup&);
106  void doMuons(edm::Event&,const edm::EventSetup&);
107  void doElectrons(edm::Event&,const edm::EventSetup&);
108  void doElectronsFromZ(edm::Event&,const edm::EventSetup&,std::auto_ptr<LorentzVectorCollection>&);
110  void doJets(edm::Event&,const edm::EventSetup&);
111  void doPhotons(edm::Event&,const edm::EventSetup&);
112  void doTowers(edm::Event&,const edm::EventSetup&);
113 
114 };
115 
116 #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:13
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::GsfElectronCollection > Electrons_
edm::EDGetTokenT< reco::TrackCollection > e_ctfTrackCollection_
void doElectronsFromZ(edm::Event &, const edm::EventSetup &, std::auto_ptr< LorentzVectorCollection > &)
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_