CMS 3D CMS Logo

TopElecAnalyzer.h
Go to the documentation of this file.
1 #ifndef TopElecAnalyzer_h
2 #define TopElecAnalyzer_h
3 
4 #include "TH1F.h"
5 
12 
14 
16 public:
17  explicit TopElecAnalyzer(const edm::ParameterSet &);
18  ~TopElecAnalyzer() override;
19 
20 private:
21  void beginJob() override;
22  void analyze(const edm::Event &, const edm::EventSetup &) override;
23  void endJob() override;
24 
26  bool verbose_;
27 
28  TH1F *mult_;
29  TH1F *en_;
30  TH1F *pt_;
31  TH1F *eta_;
32  TH1F *phi_;
33 };
34 
35 #endif
TopElecAnalyzer::verbose_
bool verbose_
Definition: TopElecAnalyzer.h:26
edm::EDGetTokenT
Definition: EDGetToken.h:33
TopElecAnalyzer::~TopElecAnalyzer
~TopElecAnalyzer() override
Definition: TopElecAnalyzer.cc:15
TopElecAnalyzer::phi_
TH1F * phi_
Definition: TopElecAnalyzer.h:32
EDAnalyzer.h
edm::EDAnalyzer
Definition: EDAnalyzer.h:29
TopElecAnalyzer::beginJob
void beginJob() override
Definition: TopElecAnalyzer.cc:52
Service.h
TopElecAnalyzer::TopElecAnalyzer
TopElecAnalyzer(const edm::ParameterSet &)
Definition: TopElecAnalyzer.cc:3
TopElecAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: TopElecAnalyzer.cc:17
TFileService.h
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
TopElecAnalyzer::mult_
TH1F * mult_
Definition: TopElecAnalyzer.h:28
TopElecAnalyzer::en_
TH1F * en_
Definition: TopElecAnalyzer.h:29
TopElecAnalyzer::inputToken_
edm::EDGetTokenT< std::vector< pat::Electron > > inputToken_
Definition: TopElecAnalyzer.h:25
edm::EventSetup
Definition: EventSetup.h:57
TopElecAnalyzer::eta_
TH1F * eta_
Definition: TopElecAnalyzer.h:31
InputTag.h
TopElecAnalyzer::pt_
TH1F * pt_
Definition: TopElecAnalyzer.h:30
TopElecAnalyzer
Definition: TopElecAnalyzer.h:15
Electron.h
TopElecAnalyzer::endJob
void endJob() override
Definition: TopElecAnalyzer.cc:54
ParameterSet.h
edm::Event
Definition: Event.h:73