CMS 3D CMS Logo

DQMSourcePi0.h
Go to the documentation of this file.
1 #ifndef DQMSourcePi0_H
2 #define DQMSourcePi0_H
3 
8 
11 
12 // Geometry
26 
27 // Less than operator for sorting EcalRecHits according to energy.
28 bool ecalRecHitGreater(EcalRecHit x, EcalRecHit y) { return (x.energy() > y.energy()); }
29 
30 class DQMStore;
31 class MonitorElement;
32 
33 class DQMSourcePi0 : public DQMEDAnalyzer {
34 public:
36  ~DQMSourcePi0() override;
37 
38 protected:
39  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
40  void analyze(const edm::Event &e, const edm::EventSetup &c) override;
41 
42  void convxtalid(int &, int &);
43  int diff_neta_s(int, int);
44  int diff_nphi_s(int, int);
45 
46 private:
49 
52 
55 
58 
61 
64 
67 
70 
73 
76 
79 
82 
85 
88 
91 
94 
97 
100 
103 
106 
109 
112 
115 
118 
121 
124 
127 
130 
133 
136 
139 
142 
145 
148 
151 
154 
157 
160 
163 
166 
169 
172 
175 
178 
181 
184 
187 
190 
193 
196 
199 
202 
205 
209 
213 
216 
219 
220  double clusSeedThr_;
223 
225 
227  double selePtGamma_;
228  double selePtPi0_;
234  double selePi0Iso_;
236 
247 
250  double selePtEta_;
256  double seleEtaIso_;
259 
271 
273  double ParameterX0_;
277  double ParameterW0_;
278 
279  std::vector<EBDetId> detIdEBRecHits;
280  std::vector<EcalRecHit> EBRecHits;
281 
282  std::vector<EEDetId> detIdEERecHits;
283  std::vector<EcalRecHit> EERecHits;
284 
286  unsigned int prescaleFactor_;
287 
290 
293 
299 
302 };
303 
304 #endif
double ParameterT0_barl_
Definition: DQMSourcePi0.h:274
edm::EDGetTokenT< EcalRecHitCollection > productMonitoredEEeta_
Definition: DQMSourcePi0.h:212
double seleEtaBeltDREndCap_
Definition: DQMSourcePi0.h:269
void analyze(const edm::Event &e, const edm::EventSetup &c) override
MonitorElement * hiYDistrEEeta_
Distribution of rechits in iy EE (eta)
Definition: DQMSourcePi0.h:72
double seleMinvMinPi0EndCap_
Definition: DQMSourcePi0.h:241
MonitorElement * hMinvPi0EE_
Pi0 invariant mass in EE.
Definition: DQMSourcePi0.h:126
MonitorElement * hiXDistrEEeta_
Distribution of rechits in ix EE (eta)
Definition: DQMSourcePi0.h:60
double ParameterT0_endcPresh_
Definition: DQMSourcePi0.h:276
MonitorElement * hiPhiDistrEBpi0_
Distribution of rechits in iPhi (pi0)
Definition: DQMSourcePi0.h:51
MonitorElement * hPt1Pi0EB_
Pt of the 1st most energetic Pi0 photon in EB.
Definition: DQMSourcePi0.h:135
MonitorElement * hPt2Pi0EE_
Pt of the 2nd most energetic Pi0 photon in EE.
Definition: DQMSourcePi0.h:150
MonitorElement * hiYDistrEEpi0_
Distribution of rechits in iy EE (pi0)
Definition: DQMSourcePi0.h:66
double ptMinForIsolationEtaEndCap_
Definition: DQMSourcePi0.h:267
MonitorElement * hPtPi0EE_
Pi0 Pt in EE.
Definition: DQMSourcePi0.h:162
MonitorElement * hMinvEtaEB_
Eta invariant mass in EB.
Definition: DQMSourcePi0.h:129
double seleEtaBeltDR_
Definition: DQMSourcePi0.h:257
std::vector< EEDetId > detIdEERecHits
Definition: DQMSourcePi0.h:282
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
PositionCalc posCalculator_
Definition: DQMSourcePi0.h:48
double seleMinvMinEtaEndCap_
Definition: DQMSourcePi0.h:266
MonitorElement * hS4S92EtaEB_
S4S9 of the 2nd most energetic eta photon.
Definition: DQMSourcePi0.h:201
std::vector< EBDetId > detIdEBRecHits
Definition: DQMSourcePi0.h:279
edm::EDGetTokenT< EcalRecHitCollection > productMonitoredEBeta_
Definition: DQMSourcePi0.h:208
double selePtGammaEndCap_
for pi0->gg endcap
Definition: DQMSourcePi0.h:238
MonitorElement * hMeanRecHitEnergyEBeta_
Distribution of Mean energy per rechit EB (eta)
Definition: DQMSourcePi0.h:117
double ParameterT0_endc_
Definition: DQMSourcePi0.h:275
double seleMinvMaxPi0EndCap_
Definition: DQMSourcePi0.h:240
std::string folderName_
DQM folder name.
Definition: DQMSourcePi0.h:289
MonitorElement * hMeanRecHitEnergyEEpi0_
Distribution of Mean energy per rechit EE (pi0)
Definition: DQMSourcePi0.h:114
MonitorElement * hNRecHitsEBpi0_
Distribution of number of RecHits EB (pi0)
Definition: DQMSourcePi0.h:99
MonitorElement * hPt2EtaEE_
Pt of the 2nd most energetic Eta photon in EE.
Definition: DQMSourcePi0.h:156
MonitorElement * hRechitEnergyEBpi0_
Energy Distribution of rechits EB (pi0)
Definition: DQMSourcePi0.h:75
std::string fileName_
Output file name if required.
Definition: DQMSourcePi0.h:301
double clusSeedThr_
Definition: DQMSourcePi0.h:220
MonitorElement * hRechitEnergyEEpi0_
Energy Distribution of rechits EE (pi0)
Definition: DQMSourcePi0.h:78
double seleMinvMaxEtaEndCap_
Definition: DQMSourcePi0.h:265
std::vector< EcalRecHit > EERecHits
Definition: DQMSourcePi0.h:283
MonitorElement * hPtEtaEB_
Eta Pt in EB.
Definition: DQMSourcePi0.h:165
double selePi0Iso_
Definition: DQMSourcePi0.h:234
MonitorElement * hIsoEtaEB_
Eta Iso EB.
Definition: DQMSourcePi0.h:177
double selePtEtaEndCap_
Definition: DQMSourcePi0.h:264
bool saveToFile_
Write to file.
Definition: DQMSourcePi0.h:292
double seleS4S9GammaEtaEndCap_
Definition: DQMSourcePi0.h:262
MonitorElement * hIsoPi0EB_
Pi0 Iso EB.
Definition: DQMSourcePi0.h:171
bool ecalRecHitGreater(EcalRecHit x, EcalRecHit y)
Definition: DQMSourcePi0.h:28
MonitorElement * hS4S91Pi0EE_
S4S9 of the 1st most energetic pi0 photon EE.
Definition: DQMSourcePi0.h:186
MonitorElement * hS4S91EtaEB_
S4S9 of the 1st most energetic eta photon.
Definition: DQMSourcePi0.h:189
double selePi0BeltDeta_
Definition: DQMSourcePi0.h:233
double seleS4S9Gamma_
Definition: DQMSourcePi0.h:231
double ptMinForIsolationEta_
Definition: DQMSourcePi0.h:255
double seleMinvMinPi0_
Definition: DQMSourcePi0.h:230
MonitorElement * hMinvPi0EB_
Pi0 invariant mass in EB.
Definition: DQMSourcePi0.h:123
double seleMinvMaxEta_
Definition: DQMSourcePi0.h:253
MonitorElement * hS4S92Pi0EE_
S4S9 of the 2nd most energetic pi0 photon EE.
Definition: DQMSourcePi0.h:198
void convxtalid(int &, int &)
double ptMinForIsolationEndCap_
Definition: DQMSourcePi0.h:246
bool ParameterLogWeighted_
Definition: DQMSourcePi0.h:272
double seleS4S9GammaEta_
Definition: DQMSourcePi0.h:251
MonitorElement * hiEtaDistrEBpi0_
Distribution of rechits in iEta (pi0)
Definition: DQMSourcePi0.h:63
double selePi0BeltDetaEndCap_
Definition: DQMSourcePi0.h:245
MonitorElement * hS4S91Pi0EB_
S4S9 of the 1st most energetic pi0 photon.
Definition: DQMSourcePi0.h:183
MonitorElement * hiXDistrEEpi0_
Distribution of rechits in ix EE (pi0)
Definition: DQMSourcePi0.h:54
MonitorElement * hiEtaDistrEBeta_
Distribution of rechits in iEta (eta)
Definition: DQMSourcePi0.h:69
edm::EDGetTokenT< EcalRecHitCollection > productMonitoredEBpi0_
object to monitor
Definition: DQMSourcePi0.h:207
bool isMonEBpi0_
which subdet will be monitored
Definition: DQMSourcePi0.h:295
double ParameterX0_
Definition: DQMSourcePi0.h:273
double selePtPi0EndCap_
Definition: DQMSourcePi0.h:239
double seleMinvMinEta_
Definition: DQMSourcePi0.h:254
double selePtGammaEtaEndCap_
for eta->gg endcap
Definition: DQMSourcePi0.h:261
int diff_nphi_s(int, int)
double ptMinForIsolation_
Definition: DQMSourcePi0.h:235
int diff_neta_s(int, int)
double seleXtalMinEnergy_
Definition: DQMSourcePi0.h:217
DQMSourcePi0(const edm::ParameterSet &)
Definition: DQMSourcePi0.cc:46
float energy() const
Definition: EcalRecHit.h:68
double seleEtaBeltDeta_
Definition: DQMSourcePi0.h:258
MonitorElement * hPtEtaEE_
Eta Pt in EE.
Definition: DQMSourcePi0.h:168
double seleXtalMinEnergyEndCap_
Definition: DQMSourcePi0.h:218
double seleS9S25GammaEtaEndCap_
Definition: DQMSourcePi0.h:263
double selePi0BeltDR_
Definition: DQMSourcePi0.h:232
MonitorElement * hEventEnergyEEpi0_
Distribution of total event energy EE (pi0)
Definition: DQMSourcePi0.h:90
MonitorElement * hNRecHitsEEeta_
Distribution of number of RecHits EE (eta)
Definition: DQMSourcePi0.h:108
double selePtGammaEta_
for eta->gg barrel
Definition: DQMSourcePi0.h:249
edm::EDGetTokenT< EcalRecHitCollection > productMonitoredEEpi0_
object to monitor
Definition: DQMSourcePi0.h:211
double seleEtaBeltDetaEndCap_
Definition: DQMSourcePi0.h:270
MonitorElement * hiPhiDistrEBeta_
Distribution of rechits in iPhi (eta)
Definition: DQMSourcePi0.h:57
double selePtEta_
Definition: DQMSourcePi0.h:250
MonitorElement * hRechitEnergyEBeta_
Energy Distribution of rechits EB (eta)
Definition: DQMSourcePi0.h:81
MonitorElement * hPt1EtaEE_
Pt of the 1st most energetic Eta photon in EE.
Definition: DQMSourcePi0.h:144
MonitorElement * hEventEnergyEBpi0_
Distribution of total event energy EB (pi0)
Definition: DQMSourcePi0.h:87
double seleEtaIso_
Definition: DQMSourcePi0.h:256
MonitorElement * hPt1EtaEB_
Pt of the 1st most energetic Eta photon in EB.
Definition: DQMSourcePi0.h:141
MonitorElement * hEventEnergyEBeta_
Distribution of total event energy EB (eta)
Definition: DQMSourcePi0.h:93
MonitorElement * hIsoEtaEE_
Eta Iso EE.
Definition: DQMSourcePi0.h:180
MonitorElement * hS4S92Pi0EB_
S4S9 of the 2nd most energetic pi0 photon.
Definition: DQMSourcePi0.h:195
double selePi0IsoEndCap_
Definition: DQMSourcePi0.h:243
double ParameterW0_
Definition: DQMSourcePi0.h:277
MonitorElement * hPt2EtaEB_
Pt of the 2nd most energetic Eta photon in EB.
Definition: DQMSourcePi0.h:153
double seleMinvMaxPi0_
Definition: DQMSourcePi0.h:229
std::vector< EcalRecHit > EBRecHits
Definition: DQMSourcePi0.h:280
MonitorElement * hMinvEtaEE_
Eta invariant mass in EE.
Definition: DQMSourcePi0.h:132
MonitorElement * hPtPi0EB_
Pi0 Pt in EB.
Definition: DQMSourcePi0.h:159
double seleEtaIsoEndCap_
Definition: DQMSourcePi0.h:268
MonitorElement * hS4S92EtaEE_
S4S9 of the 2nd most energetic eta photon EE.
Definition: DQMSourcePi0.h:204
unsigned int prescaleFactor_
Monitor every prescaleFactor_ events.
Definition: DQMSourcePi0.h:286
MonitorElement * hMeanRecHitEnergyEEeta_
Distribution of Mean energy per rechit EE (eta)
Definition: DQMSourcePi0.h:120
MonitorElement * hIsoPi0EE_
Pi0 Iso EE.
Definition: DQMSourcePi0.h:174
double selePtPi0_
Definition: DQMSourcePi0.h:228
double seleS4S9GammaEndCap_
Definition: DQMSourcePi0.h:242
MonitorElement * hNRecHitsEBeta_
Distribution of number of RecHits EB (eta)
Definition: DQMSourcePi0.h:105
~DQMSourcePi0() override
MonitorElement * hPt1Pi0EE_
Pt of the 1st most energetic Pi0 photon in EE.
Definition: DQMSourcePi0.h:138
MonitorElement * hS4S91EtaEE_
S4S9 of the 1st most energetic eta photon EE.
Definition: DQMSourcePi0.h:192
MonitorElement * hRechitEnergyEEeta_
Energy Distribution of rechits EE (eta)
Definition: DQMSourcePi0.h:84
MonitorElement * hMeanRecHitEnergyEBpi0_
Distribution of Mean energy per rechit EB (pi0)
Definition: DQMSourcePi0.h:111
MonitorElement * hEventEnergyEEeta_
Distribution of total event energy EE (eta)
Definition: DQMSourcePi0.h:96
MonitorElement * hNRecHitsEEpi0_
Distribution of number of RecHits EE (pi0)
Definition: DQMSourcePi0.h:102
int gammaCandPhiSize_
Definition: DQMSourcePi0.h:215
int gammaCandEtaSize_
Definition: DQMSourcePi0.h:214
double selePi0BeltDREndCap_
Definition: DQMSourcePi0.h:244
Definition: Run.h:45
double seleS9S25GammaEta_
Definition: DQMSourcePi0.h:252
MonitorElement * hPt2Pi0EB_
Pt of the 2nd most energetic Pi0 photon in EB.
Definition: DQMSourcePi0.h:147
double selePtGamma_
Definition: DQMSourcePi0.h:227
double clusSeedThrEndCap_
Definition: DQMSourcePi0.h:224