CMS 3D CMS Logo

EcalSimple2007H4TBAnalyzer.h
Go to the documentation of this file.
1 #ifndef ECALSIMPLE2007H4TBANALYZER_H
2 #define ECALSIMPLE2007H4TBANALYZER_H
3 
11 //
12 //
13 
14 // system include files
15 #include <memory>
16 
17 // user include files
20 
23 
32 
35 
36 #include <string>
37 #include "TH1.h"
38 #include "TGraph.h"
39 #include "TH2.h"
40 #include <fstream>
41 #include <map>
42 
43 class EcalSimple2007H4TBAnalyzer : public edm::one::EDAnalyzer<edm::one::WatchRuns> {
44 public:
46  ~EcalSimple2007H4TBAnalyzer() override;
47 
48  void analyze(edm::Event const&, edm::EventSetup const&) override;
49  void beginRun(edm::Run const&, edm::EventSetup const&) override;
50  void endRun(edm::Run const&, edm::EventSetup const&) override;
51  void endJob() override;
52 
53 private:
65 
72 
73  // Amplitude vs TDC offset
74  TH2F* h_ampltdc;
75 
76  TH2F* h_Shape_;
77 
78  // Reconstructed energies
80  TH1F* h_e1x1;
81  TH1F* h_e3x3;
82  TH1F* h_e5x5;
83 
87 
88  TH1F* h_e1e9;
89  TH1F* h_e1e25;
90  TH1F* h_e9e25;
91 
92  TH1F* h_S6;
93  TH1F* h_bprofx;
94  TH1F* h_bprofy;
95 
96  TH1F* h_qualx;
97  TH1F* h_qualy;
98 
99  TH1F* h_slopex;
100  TH1F* h_slopey;
101 
102  TH2F* h_mapx[25];
103  TH2F* h_mapy[25];
104 
105  TH2F* h_e1e9_mapx;
106  TH2F* h_e1e9_mapy;
107 
110 
113 
117 
119 };
120 
121 #endif
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geometryToken_
const edm::EDGetTokenT< EcalTBTDCRecInfo > tbTDCRecInfoToken_
void beginRun(edm::Run const &, edm::EventSetup const &) override
const edm::EDGetTokenT< EEDigiCollection > eeDigiToken_
const edm::EDGetTokenT< EEUncalibratedRecHitCollection > eeUncalibratedRecHitToken_
const edm::EDGetTokenT< EcalTBHodoscopeRecInfo > tbHodoscopeRecInfoToken_
const edm::EDGetTokenT< EcalTBEventHeader > tbEventHeaderToken_
void analyze(edm::Event const &, edm::EventSetup const &) override
EcalSimple2007H4TBAnalyzer(const edm::ParameterSet &)
void endRun(edm::Run const &, edm::EventSetup const &) override
Definition: Run.h:45