CMS 3D CMS Logo

EcalSimpleTBAnalyzer.h
Go to the documentation of this file.
1 #ifndef ECALSIMPLETBANALYZER_H
2 #define ECALSIMPLETBANALYZER_H
3 
11 //
12 //
13 
14 
15 
16 // system include files
17 #include <memory>
18 
19 // user include files
22 
25 
30 
31 #include <string>
32 //#include "TTree.h"
33 #include "TH1.h"
34 #include "TGraph.h"
35 #include "TH2.h"
36 #include<fstream>
37 #include<map>
38 //#include<stl_pair>
39 
40 
41 
43  public:
44  explicit EcalSimpleTBAnalyzer( const edm::ParameterSet& );
45  ~EcalSimpleTBAnalyzer() override;
46 
47 
48  void analyze( const edm::Event&, const edm::EventSetup& ) override;
49  void beginJob() override;
50  void endJob() override;
51  private:
52 
53 
65 
66  // Amplitude vs TDC offset
67  TH2F* h_ampltdc;
68 
69  TH2F* h_Shape_;
70 
71  // Reconstructed energies
73  TH1F* h_e1x1;
74  TH1F* h_e3x3;
75  TH1F* h_e5x5;
76 
78  TH1F* h_e3x3_center;
79  TH1F* h_e5x5_center;
80 
81  TH1F* h_e1e9;
82  TH1F* h_e1e25;
83  TH1F* h_e9e25;
84 
85  TH1F* h_bprofx;
86  TH1F* h_bprofy;
87 
88  TH1F* h_qualx;
89  TH1F* h_qualy;
90 
91  TH1F* h_slopex;
92  TH1F* h_slopey;
93 
94  TH2F* h_mapx[25];
95  TH2F* h_mapy[25];
96 
97  TH2F* h_e1e9_mapx;
98  TH2F* h_e1e9_mapy;
99 
102 
105 
107 };
108 
109 
110 
111 #endif
std::string hodoRecInfoCollection_
std::string eventHeaderCollection_
void analyze(const edm::Event &, const edm::EventSetup &) override
EcalSimpleTBAnalyzer(const edm::ParameterSet &)