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 
20 
22 
24 
37 
43 
44 //--egamma Reco stuff--//
49 
50 #include <memory>
51 #include <vector>
52 #include <utility>
53 #include <ostream>
54 #include <fstream>
55 #include <string>
56 #include <algorithm>
57 #include <cmath>
58 #include <TLorentzVector.h>
59 #include <string>
60 #include <map>
61 
62 #include <TH1.h>
63 #include <TH2.h>
64 #include <TFile.h>
65 #include <TMath.h>
66 
67 class DetId;
68 //class HcalTopology;
69 class CaloGeometry;
71 class CaloGeometryRecord;
72 //class CaloTowerConstituentsMap;
73 //class CaloRecHit;
74 
75 //
76 // class declaration
77 //
78 
80 public:
82  //~ECALRecHitAnalyzer();
83 
84  void analyze(const edm::Event&, const edm::EventSetup&) override;
85  // virtual void beginJob(void) ;
86  virtual void dqmbeginRun(const edm::Run&, const edm::EventSetup&);
87 
88  void WriteECALRecHits(const edm::Event&, const edm::EventSetup&);
89  void FillGeometry(const edm::EventSetup&);
90  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
91 
92 private:
93  // Inputs from Configuration
98  bool debug_;
102 
103  //histos
108 
115 
122 
124 
128 
132 
136 
140 
144 
148 
152 
156 
160 
164 
168 
172 
176 };
177 
178 #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