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 } // namespace edm
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 
40 protected:
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 #endif
ExampleMuonAnalyzer::~ExampleMuonAnalyzer
~ExampleMuonAnalyzer() override
Destructor.
Definition: MuonAnalyzer.cc:32
ExampleMuonAnalyzer::hEHcal
TH1F * hEHcal
Definition: MuonAnalyzer.h:48
ExampleMuonAnalyzer::hMuonType
TH1I * hMuonType
Definition: MuonAnalyzer.h:50
edm::EDGetTokenT< pat::MuonCollection >
edm
HLT enums.
Definition: AlignableModifier.h:19
Muon.h
ExampleMuonAnalyzer::h4MuInvMass
TH1F * h4MuInvMass
Definition: MuonAnalyzer.h:63
EDAnalyzer.h
ExampleMuonAnalyzer::hPtRec
TH1F * hPtRec
Definition: MuonAnalyzer.h:46
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
ExampleMuonAnalyzer::ExampleMuonAnalyzer
ExampleMuonAnalyzer(const edm::ParameterSet &pset)
Constructor.
Definition: MuonAnalyzer.cc:27
ExampleMuonAnalyzer
Definition: MuonAnalyzer.h:25
ExampleMuonAnalyzer::endJob
void endJob() override
Definition: MuonAnalyzer.cc:60
ExampleMuonAnalyzer::hPtSTATKDiff
TH1F * hPtSTATKDiff
Definition: MuonAnalyzer.h:51
ExampleMuonAnalyzer::hMuCaloCompatibility
TH1F * hMuCaloCompatibility
Definition: MuonAnalyzer.h:54
Event
ExampleMuonAnalyzer::hMuIdAlgo
TH1I * hMuIdAlgo
Definition: MuonAnalyzer.h:57
edm::ParameterSet
Definition: ParameterSet.h:47
ParameterSet
Definition: Functions.h:16
ExampleMuonAnalyzer::hMuIso03SumPt
TH1F * hMuIso03SumPt
Definition: MuonAnalyzer.h:60
ExampleMuonAnalyzer::theMuonToken
edm::EDGetTokenT< pat::MuonCollection > theMuonToken
Definition: MuonAnalyzer.h:42
edm::EventSetup
Definition: EventSetup.h:57
ExampleMuonAnalyzer::hMuIso03CaloComb
TH1F * hMuIso03CaloComb
Definition: MuonAnalyzer.h:61
ExampleMuonAnalyzer::beginJob
void beginJob() override
Definition: MuonAnalyzer.cc:34
ExampleMuonAnalyzer::hPtReso
TH2F * hPtReso
Definition: MuonAnalyzer.h:47
ExampleMuonAnalyzer::hChamberMatched
TH1I * hChamberMatched
Definition: MuonAnalyzer.h:56
ExampleMuonAnalyzer::hNMuons
TH1I * hNMuons
Definition: MuonAnalyzer.h:45
ExampleMuonAnalyzer::hMuSegCompatibility
TH1F * hMuSegCompatibility
Definition: MuonAnalyzer.h:55
EventSetup
event
Definition: event.py:1
edm::Event
Definition: Event.h:73
ExampleMuonAnalyzer::analyze
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override
Definition: MuonAnalyzer.cc:62
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27