CMS 3D CMS Logo

ECALRecHitAnalyzer.h
Go to the documentation of this file.
1 #ifndef ECALRECHITANALYZER_H
2 #define ECALRECHITANALYZER_H
3 
4 // author: Bobby Scurlock (The University of Florida)
5 // date: 11/20/2006
6 
7 #include <memory>
12 // user include files
13 
19 
21 
23 
36 
42 
43 //--egamma Reco stuff--//
48 
49 #include <memory>
50 #include <vector>
51 #include <utility>
52 #include <ostream>
53 #include <fstream>
54 #include <string>
55 #include <algorithm>
56 #include <cmath>
57 #include <TLorentzVector.h>
58 #include <string>
59 #include <map>
60 
61 #include <TH1.h>
62 #include <TH2.h>
63 #include <TFile.h>
64 #include <TMath.h>
65 
66 class DetId;
67 //class HcalTopology;
68 class CaloGeometry;
70 class CaloGeometryRecord;
71 //class CaloTowerConstituentsMap;
72 //class CaloRecHit;
73 
74 //
75 // class declaration
76 //
77 
79 public:
81  //~ECALRecHitAnalyzer();
82 
83  void analyze(const edm::Event&, const edm::EventSetup&) override;
84  // virtual void beginJob(void) ;
85  virtual void dqmbeginRun(const edm::Run&, const edm::EventSetup&);
86 
87  void WriteECALRecHits(const edm::Event&, const edm::EventSetup&);
88  void FillGeometry(const edm::EventSetup&);
89  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
90 
91 private:
92  // Inputs from Configuration
97  bool debug_;
101 
102  //histos
107 
114 
121 
123 
127 
131 
135 
139 
143 
147 
151 
155 
159 
163 
167 
171 
175 };
176 
177 #endif
MonitorElement * hEB_Maxenergyvsieta
MonitorElement * hEB_MExvsieta
MonitorElement * hEEmZ_ix_iy_dxMap
MonitorElement * hEEmZ_Occvsir
MonitorElement * hEEpZ_METPhivsir
MonitorElement * hEEmZ_METvsir
MonitorElement * hEEpZ_METvsir
MonitorElement * hEB_Maxenergy_ieta_iphi
MonitorElement * hEB_METvsieta
MonitorElement * hEEpZ_ix_iy_irMap
MonitorElement * hEB_Occvsieta
MonitorElement * hEB_energyvsieta
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * hEEpZ_ix_iy_zMap
MonitorElement * hEEpZ_Maxenergy_ix_iy
MonitorElement * hEB_METPhivsieta
MonitorElement * hEEmZ_Minenergyvsir
MonitorElement * hEEmZ_energy_ix_iy
MonitorElement * hEEmZ_energyvsir
MonitorElement * hEEmZ_ix_iy_dyMap
MonitorElement * hEEmZ_Occ_ix_iy
MonitorElement * hECAL_Nevents
MonitorElement * hEB_ieta_dphiMap
MonitorElement * hEEmZ_Maxenergyvsir
MonitorElement * hEEmZ_SETvsir
const CaloGeometry * caloGeom_
MonitorElement * hEB_Occ_ieta_iphi
MonitorElement * hEEpZ_Minenergyvsir
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeomToken_
MonitorElement * hEEpZ_Minenergy_ix_iy
MonitorElement * hEB_Minenergy_ieta_iphi
MonitorElement * hEEmZ_METPhivsir
MonitorElement * hEEmZ_MEyvsir
MonitorElement * hEEpZ_energyvsir
void FillGeometry(const edm::EventSetup &)
MonitorElement * hEEpZ_ix_iy_dyMap
MonitorElement * hEB_ieta_detaMap
MonitorElement * hEEmZ_Minenergy_ix_iy
MonitorElement * hEB_energy_ieta_iphi
MonitorElement * hEB_MEyvsieta
MonitorElement * hEB_Minenergyvsieta
ECALRecHitAnalyzer(const edm::ParameterSet &)
Definition: DetId.h:17
MonitorElement * hEEpZ_ix_iy_yMap
MonitorElement * hEEmZ_ix_iy_zMap
MonitorElement * hEEmZ_Maxenergy_ix_iy
virtual void dqmbeginRun(const edm::Run &, const edm::EventSetup &)
MonitorElement * hEB_ieta_iphi_etaMap
MonitorElement * hEEpZ_SETvsir
MonitorElement * hEEpZ_Maxenergyvsir
MonitorElement * hEEmZ_MExvsir
MonitorElement * hEEmZ_ix_iy_yMap
MonitorElement * hEEmZ_ix_iy_xMap
MonitorElement * hEEpZ_MEyvsir
void WriteECALRecHits(const edm::Event &, const edm::EventSetup &)
MonitorElement * hEB_SETvsieta
MonitorElement * hEEpZ_MExvsir
MonitorElement * hEEpZ_Occvsir
MonitorElement * hEEpZ_energy_ix_iy
MonitorElement * hEEpZ_Occ_ix_iy
MonitorElement * hEEmZ_ix_iy_irMap
edm::EDGetTokenT< EERecHitCollection > EERecHitsLabel_
MonitorElement * hEB_ieta_iphi_phiMap
MonitorElement * hEEpZ_ix_iy_xMap
edm::EDGetTokenT< EBRecHitCollection > EBRecHitsLabel_
Definition: Run.h:45
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * hEEpZ_ix_iy_dxMap