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
EcalSimpleTBAnalyzer::xtalInBeam_
EBDetId xtalInBeam_
Definition: EcalSimpleTBAnalyzer.h:100
EcalSimpleTBAnalyzer::h_e5x5
TH1F * h_e5x5
Definition: EcalSimpleTBAnalyzer.h:69
EcalSimpleTBAnalyzer::h_e9e25_mapy
TH2F * h_e9e25_mapy
Definition: EcalSimpleTBAnalyzer.h:98
EcalSimpleTBAnalyzer::h_ampltdc
TH2F * h_ampltdc
Definition: EcalSimpleTBAnalyzer.h:61
EcalSimpleTBAnalyzer::h_e5x5_center
TH1F * h_e5x5_center
Definition: EcalSimpleTBAnalyzer.h:73
EcalSimpleTBAnalyzer::h_e3x3_center
TH1F * h_e3x3_center
Definition: EcalSimpleTBAnalyzer.h:72
EcalSimpleTBAnalyzer::h_e1x1_center
TH1F * h_e1x1_center
Definition: EcalSimpleTBAnalyzer.h:71
EBDetId
Definition: EBDetId.h:17
EcalSimpleTBAnalyzer::h_slopey
TH1F * h_slopey
Definition: EcalSimpleTBAnalyzer.h:86
EcalSimpleTBAnalyzer::hodoRecInfoProducer_
std::string hodoRecInfoProducer_
Definition: EcalSimpleTBAnalyzer.h:54
EcalSimpleTBAnalyzer::hodoRecInfoCollection_
std::string hodoRecInfoCollection_
Definition: EcalSimpleTBAnalyzer.h:53
EBDetId.h
EcalSimpleTBAnalyzer::eventHeaderProducer_
std::string eventHeaderProducer_
Definition: EcalSimpleTBAnalyzer.h:58
EcalSimpleTBAnalyzer::eventHeaderCollection_
std::string eventHeaderCollection_
Definition: EcalSimpleTBAnalyzer.h:57
EcalSimpleTBAnalyzer::h_e1e9_mapx
TH2F * h_e1e9_mapx
Definition: EcalSimpleTBAnalyzer.h:91
EDAnalyzer.h
EcalSimpleTBAnalyzer::h_e1e25
TH1F * h_e1e25
Definition: EcalSimpleTBAnalyzer.h:76
EcalSimpleTBAnalyzer::h_bprofy
TH1F * h_bprofy
Definition: EcalSimpleTBAnalyzer.h:80
EcalSimpleTBAnalyzer::digiProducer_
std::string digiProducer_
Definition: EcalSimpleTBAnalyzer.h:50
EcalRecHitCollections.h
EcalSimpleTBAnalyzer::tdcRecInfoProducer_
std::string tdcRecInfoProducer_
Definition: EcalSimpleTBAnalyzer.h:56
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
EcalSimpleTBAnalyzer::h_qualy
TH1F * h_qualy
Definition: EcalSimpleTBAnalyzer.h:83
MakerMacros.h
EcalSimpleTBAnalyzer::h_tableIsMoving
TH1F * h_tableIsMoving
Definition: EcalSimpleTBAnalyzer.h:66
EcalSimpleTBAnalyzer::digiCollection_
std::string digiCollection_
Definition: EcalSimpleTBAnalyzer.h:49
EcalSimpleTBAnalyzer::h_qualx
TH1F * h_qualx
Definition: EcalSimpleTBAnalyzer.h:82
EcalDigiCollections.h
EcalSimpleTBAnalyzer::h_e1x1
TH1F * h_e1x1
Definition: EcalSimpleTBAnalyzer.h:67
EcalSimpleTBAnalyzer::tdcRecInfoCollection_
std::string tdcRecInfoCollection_
Definition: EcalSimpleTBAnalyzer.h:55
EcalSimpleTBAnalyzer::h_mapy
TH2F * h_mapy[25]
Definition: EcalSimpleTBAnalyzer.h:89
EcalSimpleTBAnalyzer::h_e1e9
TH1F * h_e1e9
Definition: EcalSimpleTBAnalyzer.h:75
EcalSimpleTBAnalyzer::hitProducer_
std::string hitProducer_
Definition: EcalSimpleTBAnalyzer.h:52
EcalSimpleTBAnalyzer::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: EcalSimpleTBAnalyzer.cc:203
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
EcalSimpleTBAnalyzer::endJob
void endJob() override
Definition: EcalSimpleTBAnalyzer.cc:147
Event.h
EcalSimpleTBAnalyzer::h_e1e25_mapx
TH2F * h_e1e25_mapx
Definition: EcalSimpleTBAnalyzer.h:94
EcalSimpleTBAnalyzer::h_slopex
TH1F * h_slopex
Definition: EcalSimpleTBAnalyzer.h:85
EcalSimpleTBAnalyzer::hitCollection_
std::string hitCollection_
Definition: EcalSimpleTBAnalyzer.h:51
edm::EventSetup
Definition: EventSetup.h:58
EcalSimpleTBAnalyzer::h_Shape_
TH2F * h_Shape_
Definition: EcalSimpleTBAnalyzer.h:63
EcalSimpleTBAnalyzer::h_e1e9_mapy
TH2F * h_e1e9_mapy
Definition: EcalSimpleTBAnalyzer.h:92
EcalSimpleTBAnalyzer::EcalSimpleTBAnalyzer
EcalSimpleTBAnalyzer(const edm::ParameterSet &)
Definition: EcalSimpleTBAnalyzer.cc:43
EcalSimpleTBAnalyzer::h_e1e25_mapy
TH2F * h_e1e25_mapy
Definition: EcalSimpleTBAnalyzer.h:95
EcalSimpleTBAnalyzer::beginJob
void beginJob() override
Definition: EcalSimpleTBAnalyzer.cc:93
EcalSimpleTBAnalyzer
Definition: EcalSimpleTBAnalyzer.h:38
EcalSimpleTBAnalyzer::~EcalSimpleTBAnalyzer
~EcalSimpleTBAnalyzer() override
Definition: EcalSimpleTBAnalyzer.cc:65
Frameworkfwd.h
EcalSimpleTBAnalyzer::h_bprofx
TH1F * h_bprofx
Definition: EcalSimpleTBAnalyzer.h:79
EcalSimpleTBAnalyzer::h_mapx
TH2F * h_mapx[25]
Definition: EcalSimpleTBAnalyzer.h:88
EcalSimpleTBAnalyzer::h_e9e25
TH1F * h_e9e25
Definition: EcalSimpleTBAnalyzer.h:77
ParameterSet.h
EcalSimpleTBAnalyzer::h_e9e25_mapx
TH2F * h_e9e25_mapx
Definition: EcalSimpleTBAnalyzer.h:97
EcalSimpleTBAnalyzer::rootfile_
std::string rootfile_
Definition: EcalSimpleTBAnalyzer.h:48
edm::Event
Definition: Event.h:73
EcalSimpleTBAnalyzer::h_e3x3
TH1F * h_e3x3
Definition: EcalSimpleTBAnalyzer.h:68