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 // system include files
15 #include <memory>
16 
17 // user include files
20 
23 
28 
29 #include <string>
30 //#include "TTree.h"
31 #include "TH1.h"
32 #include "TGraph.h"
33 #include "TH2.h"
34 #include <fstream>
35 #include <map>
36 //#include<stl_pair>
37 
39 public:
40  explicit EcalSimpleTBAnalyzer(const edm::ParameterSet&);
41  ~EcalSimpleTBAnalyzer() override;
42 
43  void analyze(const edm::Event&, const edm::EventSetup&) override;
44  void beginJob() override;
45  void endJob() override;
46 
47 private:
59 
60  // Amplitude vs TDC offset
61  TH2F* h_ampltdc;
62 
63  TH2F* h_Shape_;
64 
65  // Reconstructed energies
67  TH1F* h_e1x1;
68  TH1F* h_e3x3;
69  TH1F* h_e5x5;
70 
74 
75  TH1F* h_e1e9;
76  TH1F* h_e1e25;
77  TH1F* h_e9e25;
78 
79  TH1F* h_bprofx;
80  TH1F* h_bprofy;
81 
82  TH1F* h_qualx;
83  TH1F* h_qualy;
84 
85  TH1F* h_slopex;
86  TH1F* h_slopey;
87 
88  TH2F* h_mapx[25];
89  TH2F* h_mapy[25];
90 
91  TH2F* h_e1e9_mapx;
92  TH2F* h_e1e9_mapy;
93 
94  TH2F* h_e1e25_mapx;
95  TH2F* h_e1e25_mapy;
96 
97  TH2F* h_e9e25_mapx;
98  TH2F* h_e9e25_mapy;
99 
101 };
102 
103 #endif
std::string hodoRecInfoCollection_
std::string eventHeaderCollection_
void analyze(const edm::Event &, const edm::EventSetup &) override
EcalSimpleTBAnalyzer(const edm::ParameterSet &)