CMS 3D CMS Logo

PatTauAnalyzer.h
Go to the documentation of this file.
1 #ifndef PhysicsTools_PatExamples_PatTauAnalyzer_h
2 #define PhysicsTools_PatExamples_PatTauAnalyzer_h
3 
9 
11 
12 #include <TH1.h>
13 
14 #include <string>
15 
17 {
18  public:
19  explicit PatTauAnalyzer(const edm::ParameterSet&);
20  ~PatTauAnalyzer() override;
21 
22 //--- methods inherited from EDAnalyzer base-class
23  void beginJob() override;
24  void analyze(const edm::Event&, const edm::EventSetup&) override;
25  void endJob() override;
26 
27  private:
28 //--- configuration parameters
31 
33 
37 
38 //--- generator level histograms
40  TH1* hGenTauPt_;
43 
44 //--- reconstruction level histograms
46  TH1* hTauJetPt_;
49 
51 
53 
56 
61 
66 
71 };
72 
73 #endif
74 
75 
TH1 * hTauDiscrAgainstMuons_
~PatTauAnalyzer() override
std::string discrByLeadTrack_
TH1 * hTauDiscrByTaNC_
TH1 * hTauNumIsoConeTracks_
PatTauAnalyzer(const edm::ParameterSet &)
TH1 * hTauDiscrAgainstElectrons_
TH1 * hTauJetEnergyIsoPassed_
void beginJob() override
TH1 * hTauLeadTrackPt_
std::string discrByIso_
TH1 * hTauJetPtTaNCpassed_
TH1 * hTauJetEnergyTaNCpassed_
bool requireGenTauMatch_
TH1 * hTauJetPtIsoPassed_
edm::InputTag src_
TH1 * hTauNumSigConeTracks_
std::string discrByTaNC_
void endJob() override
TH1 * hTauJetPhiTaNCpassed_
void analyze(const edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< pat::TauCollection > srcToken_
TH1 * hTauJetEtaIsoPassed_
TH1 * hTauJetPhiIsoPassed_
TH1 * hTauJetEtaTaNCpassed_