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 public:
18  explicit PatTauAnalyzer(const edm::ParameterSet&);
19  ~PatTauAnalyzer() override;
20 
21  //--- methods inherited from EDAnalyzer base-class
22  void beginJob() override;
23  void analyze(const edm::Event&, const edm::EventSetup&) override;
24  void endJob() override;
25 
26 private:
27  //--- configuration parameters
30 
32 
36 
37  //--- generator level histograms
39  TH1* hGenTauPt_;
42 
43  //--- reconstruction level histograms
45  TH1* hTauJetPt_;
48 
50 
52 
55 
60 
65 
70 };
71 
72 #endif
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_