CMS 3D CMS Logo

TopMuonAnalyzer.h
Go to the documentation of this file.
1 #ifndef TopMuonAnalyzer_h
2 #define TopMuonAnalyzer_h
3 
4 #include "TH1F.h"
5 
12 
14 
16 public:
17  explicit TopMuonAnalyzer(const edm::ParameterSet &);
18  ~TopMuonAnalyzer() 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
TopMuonAnalyzer::endJob
void endJob() override
Definition: TopMuonAnalyzer.cc:55
edm::EDGetTokenT
Definition: EDGetToken.h:33
Muon.h
TopMuonAnalyzer::eta_
TH1F * eta_
Definition: TopMuonAnalyzer.h:31
EDAnalyzer.h
edm::EDAnalyzer
Definition: EDAnalyzer.h:29
Service.h
TopMuonAnalyzer
Definition: TopMuonAnalyzer.h:15
TopMuonAnalyzer::mult_
TH1F * mult_
Definition: TopMuonAnalyzer.h:28
TopMuonAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: TopMuonAnalyzer.cc:18
TFileService.h
TopMuonAnalyzer::en_
TH1F * en_
Definition: TopMuonAnalyzer.h:29
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
TopMuonAnalyzer::beginJob
void beginJob() override
Definition: TopMuonAnalyzer.cc:53
TopMuonAnalyzer::TopMuonAnalyzer
TopMuonAnalyzer(const edm::ParameterSet &)
Definition: TopMuonAnalyzer.cc:4
edm::EventSetup
Definition: EventSetup.h:57
InputTag.h
TopMuonAnalyzer::~TopMuonAnalyzer
~TopMuonAnalyzer() override
Definition: TopMuonAnalyzer.cc:16
TopMuonAnalyzer::phi_
TH1F * phi_
Definition: TopMuonAnalyzer.h:32
TopMuonAnalyzer::pt_
TH1F * pt_
Definition: TopMuonAnalyzer.h:30
TopMuonAnalyzer::inputToken_
edm::EDGetTokenT< std::vector< pat::Muon > > inputToken_
Definition: TopMuonAnalyzer.h:25
ParameterSet.h
edm::Event
Definition: Event.h:73
TopMuonAnalyzer::verbose_
bool verbose_
Definition: TopMuonAnalyzer.h:26