CMS 3D CMS Logo

MuonAnalyzer.h
Go to the documentation of this file.
1 #ifndef TutorialAtDESY_MuonAnalyzer_H
2 #define TutorialAtDESY_MuonAnalyzer_H
3 
10 // Base Class Headers
12 
14 
15 namespace edm {
16  class ParameterSet;
17  class Event;
18  class EventSetup;
19 }
20 
21 class TH1I;
22 class TH1F;
23 class TH2F;
24 
26 public:
29 
31  ~ExampleMuonAnalyzer() override;
32 
33  // Operations
34 
35  void analyze(const edm::Event & event, const edm::EventSetup& eventSetup) override;
36 
37  void beginJob() override ;
38  void endJob() override ;
39 protected:
40 
41 private:
43 
44  // Histograms
45  TH1I *hNMuons;
46  TH1F *hPtRec;
47  TH2F *hPtReso;
48  TH1F *hEHcal;
49 
50  TH1I *hMuonType;
51  TH1F *hPtSTATKDiff;
52 
53  // ID
57  TH1I *hMuIdAlgo;
58 
59  // Isolation
62 
63  TH1F *h4MuInvMass;
64 
65 };
66 #endif
67 
virtual example_stream void analyze(const edm::Event &, const edm::EventSetup &) override
TH1F * hMuSegCompatibility
Definition: MuonAnalyzer.h:55
void beginJob()
Definition: Breakpoints.cc:15
TH1F * hMuCaloCompatibility
Definition: MuonAnalyzer.h:54
HLT enums.
edm::EDGetTokenT< pat::MuonCollection > theMuonToken
Definition: MuonAnalyzer.h:42
Definition: event.py:1