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
25 
26 // Less than operator for sorting EcalRecHits according to energy.
27 bool ecalRecHitGreater(EcalRecHit x, EcalRecHit y) { return (x.energy() > y.energy()); }
28 
29 class DQMSourcePi0 : public DQMEDAnalyzer {
30 public:
32  ~DQMSourcePi0() override;
33 
34 protected:
35  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
36  void analyze(const edm::Event &e, const edm::EventSetup &c) override;
37 
38  void convxtalid(int &, int &);
39  int diff_neta_s(int, int);
40  int diff_nphi_s(int, int);
41 
42 private:
45 
48 
51 
54 
57 
60 
63 
66 
69 
72 
75 
78 
81 
84 
87 
90 
93 
96 
99 
102 
105 
108 
111 
114 
117 
120 
123 
126 
129 
132 
135 
138 
141 
144 
147 
150 
153 
156 
159 
162 
165 
168 
171 
174 
177 
180 
183 
186 
189 
192 
195 
198 
201 
205 
209 
212 
215 
216  double clusSeedThr_;
219 
221 
223  double selePtGamma_;
224  double selePtPi0_;
230  double selePi0Iso_;
232 
243 
246  double selePtEta_;
252  double seleEtaIso_;
255 
267 
269  double ParameterX0_;
273  double ParameterW0_;
274 
275  std::vector<EBDetId> detIdEBRecHits;
276  std::vector<EcalRecHit> EBRecHits;
277 
278  std::vector<EEDetId> detIdEERecHits;
279  std::vector<EcalRecHit> EERecHits;
280 
282  unsigned int prescaleFactor_;
283 
286 
289 
295 
298 };
299 
300 #endif
double ParameterT0_barl_
Definition: DQMSourcePi0.h:270
edm::EDGetTokenT< EcalRecHitCollection > productMonitoredEEeta_
Definition: DQMSourcePi0.h:208
double seleEtaBeltDREndCap_
Definition: DQMSourcePi0.h:265
void analyze(const edm::Event &e, const edm::EventSetup &c) override
MonitorElement * hiYDistrEEeta_
Distribution of rechits in iy EE (eta)
Definition: DQMSourcePi0.h:68
double seleMinvMinPi0EndCap_
Definition: DQMSourcePi0.h:237
MonitorElement * hMinvPi0EE_
Pi0 invariant mass in EE.
Definition: DQMSourcePi0.h:122
MonitorElement * hiXDistrEEeta_
Distribution of rechits in ix EE (eta)
Definition: DQMSourcePi0.h:56
double ParameterT0_endcPresh_
Definition: DQMSourcePi0.h:272
MonitorElement * hiPhiDistrEBpi0_
Distribution of rechits in iPhi (pi0)
Definition: DQMSourcePi0.h:47
MonitorElement * hPt1Pi0EB_
Pt of the 1st most energetic Pi0 photon in EB.
Definition: DQMSourcePi0.h:131
MonitorElement * hPt2Pi0EE_
Pt of the 2nd most energetic Pi0 photon in EE.
Definition: DQMSourcePi0.h:146
MonitorElement * hiYDistrEEpi0_
Distribution of rechits in iy EE (pi0)
Definition: DQMSourcePi0.h:62
double ptMinForIsolationEtaEndCap_
Definition: DQMSourcePi0.h:263
MonitorElement * hPtPi0EE_
Pi0 Pt in EE.
Definition: DQMSourcePi0.h:158
MonitorElement * hMinvEtaEB_
Eta invariant mass in EB.
Definition: DQMSourcePi0.h:125
double seleEtaBeltDR_
Definition: DQMSourcePi0.h:253
std::vector< EEDetId > detIdEERecHits
Definition: DQMSourcePi0.h:278
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
PositionCalc posCalculator_
Definition: DQMSourcePi0.h:44
double seleMinvMinEtaEndCap_
Definition: DQMSourcePi0.h:262
MonitorElement * hS4S92EtaEB_
S4S9 of the 2nd most energetic eta photon.
Definition: DQMSourcePi0.h:197
std::vector< EBDetId > detIdEBRecHits
Definition: DQMSourcePi0.h:275
edm::EDGetTokenT< EcalRecHitCollection > productMonitoredEBeta_
Definition: DQMSourcePi0.h:204
double selePtGammaEndCap_
for pi0->gg endcap
Definition: DQMSourcePi0.h:234
MonitorElement * hMeanRecHitEnergyEBeta_
Distribution of Mean energy per rechit EB (eta)
Definition: DQMSourcePi0.h:113
double ParameterT0_endc_
Definition: DQMSourcePi0.h:271
double seleMinvMaxPi0EndCap_
Definition: DQMSourcePi0.h:236
std::string folderName_
DQM folder name.
Definition: DQMSourcePi0.h:285
MonitorElement * hMeanRecHitEnergyEEpi0_
Distribution of Mean energy per rechit EE (pi0)
Definition: DQMSourcePi0.h:110
MonitorElement * hNRecHitsEBpi0_
Distribution of number of RecHits EB (pi0)
Definition: DQMSourcePi0.h:95
MonitorElement * hPt2EtaEE_
Pt of the 2nd most energetic Eta photon in EE.
Definition: DQMSourcePi0.h:152
MonitorElement * hRechitEnergyEBpi0_
Energy Distribution of rechits EB (pi0)
Definition: DQMSourcePi0.h:71
std::string fileName_
Output file name if required.
Definition: DQMSourcePi0.h:297
double clusSeedThr_
Definition: DQMSourcePi0.h:216
MonitorElement * hRechitEnergyEEpi0_
Energy Distribution of rechits EE (pi0)
Definition: DQMSourcePi0.h:74
double seleMinvMaxEtaEndCap_
Definition: DQMSourcePi0.h:261
std::vector< EcalRecHit > EERecHits
Definition: DQMSourcePi0.h:279
MonitorElement * hPtEtaEB_
Eta Pt in EB.
Definition: DQMSourcePi0.h:161
double selePi0Iso_
Definition: DQMSourcePi0.h:230
MonitorElement * hIsoEtaEB_
Eta Iso EB.
Definition: DQMSourcePi0.h:173
double selePtEtaEndCap_
Definition: DQMSourcePi0.h:260
bool saveToFile_
Write to file.
Definition: DQMSourcePi0.h:288
double seleS4S9GammaEtaEndCap_
Definition: DQMSourcePi0.h:258
MonitorElement * hIsoPi0EB_
Pi0 Iso EB.
Definition: DQMSourcePi0.h:167
bool ecalRecHitGreater(EcalRecHit x, EcalRecHit y)
Definition: DQMSourcePi0.h:27
MonitorElement * hS4S91Pi0EE_
S4S9 of the 1st most energetic pi0 photon EE.
Definition: DQMSourcePi0.h:182
MonitorElement * hS4S91EtaEB_
S4S9 of the 1st most energetic eta photon.
Definition: DQMSourcePi0.h:185
double selePi0BeltDeta_
Definition: DQMSourcePi0.h:229
double seleS4S9Gamma_
Definition: DQMSourcePi0.h:227
double ptMinForIsolationEta_
Definition: DQMSourcePi0.h:251
double seleMinvMinPi0_
Definition: DQMSourcePi0.h:226
MonitorElement * hMinvPi0EB_
Pi0 invariant mass in EB.
Definition: DQMSourcePi0.h:119
double seleMinvMaxEta_
Definition: DQMSourcePi0.h:249
MonitorElement * hS4S92Pi0EE_
S4S9 of the 2nd most energetic pi0 photon EE.
Definition: DQMSourcePi0.h:194
void convxtalid(int &, int &)
double ptMinForIsolationEndCap_
Definition: DQMSourcePi0.h:242
bool ParameterLogWeighted_
Definition: DQMSourcePi0.h:268
double seleS4S9GammaEta_
Definition: DQMSourcePi0.h:247
MonitorElement * hiEtaDistrEBpi0_
Distribution of rechits in iEta (pi0)
Definition: DQMSourcePi0.h:59
double selePi0BeltDetaEndCap_
Definition: DQMSourcePi0.h:241
MonitorElement * hS4S91Pi0EB_
S4S9 of the 1st most energetic pi0 photon.
Definition: DQMSourcePi0.h:179
MonitorElement * hiXDistrEEpi0_
Distribution of rechits in ix EE (pi0)
Definition: DQMSourcePi0.h:50
MonitorElement * hiEtaDistrEBeta_
Distribution of rechits in iEta (eta)
Definition: DQMSourcePi0.h:65
edm::EDGetTokenT< EcalRecHitCollection > productMonitoredEBpi0_
object to monitor
Definition: DQMSourcePi0.h:203
bool isMonEBpi0_
which subdet will be monitored
Definition: DQMSourcePi0.h:291
double ParameterX0_
Definition: DQMSourcePi0.h:269
double selePtPi0EndCap_
Definition: DQMSourcePi0.h:235
double seleMinvMinEta_
Definition: DQMSourcePi0.h:250
double selePtGammaEtaEndCap_
for eta->gg endcap
Definition: DQMSourcePi0.h:257
int diff_nphi_s(int, int)
double ptMinForIsolation_
Definition: DQMSourcePi0.h:231
int diff_neta_s(int, int)
double seleXtalMinEnergy_
Definition: DQMSourcePi0.h:213
DQMSourcePi0(const edm::ParameterSet &)
Definition: DQMSourcePi0.cc:45
float energy() const
Definition: EcalRecHit.h:68
double seleEtaBeltDeta_
Definition: DQMSourcePi0.h:254
MonitorElement * hPtEtaEE_
Eta Pt in EE.
Definition: DQMSourcePi0.h:164
double seleXtalMinEnergyEndCap_
Definition: DQMSourcePi0.h:214
double seleS9S25GammaEtaEndCap_
Definition: DQMSourcePi0.h:259
double selePi0BeltDR_
Definition: DQMSourcePi0.h:228
MonitorElement * hEventEnergyEEpi0_
Distribution of total event energy EE (pi0)
Definition: DQMSourcePi0.h:86
MonitorElement * hNRecHitsEEeta_
Distribution of number of RecHits EE (eta)
Definition: DQMSourcePi0.h:104
double selePtGammaEta_
for eta->gg barrel
Definition: DQMSourcePi0.h:245
edm::EDGetTokenT< EcalRecHitCollection > productMonitoredEEpi0_
object to monitor
Definition: DQMSourcePi0.h:207
double seleEtaBeltDetaEndCap_
Definition: DQMSourcePi0.h:266
MonitorElement * hiPhiDistrEBeta_
Distribution of rechits in iPhi (eta)
Definition: DQMSourcePi0.h:53
double selePtEta_
Definition: DQMSourcePi0.h:246
MonitorElement * hRechitEnergyEBeta_
Energy Distribution of rechits EB (eta)
Definition: DQMSourcePi0.h:77
MonitorElement * hPt1EtaEE_
Pt of the 1st most energetic Eta photon in EE.
Definition: DQMSourcePi0.h:140
MonitorElement * hEventEnergyEBpi0_
Distribution of total event energy EB (pi0)
Definition: DQMSourcePi0.h:83
double seleEtaIso_
Definition: DQMSourcePi0.h:252
MonitorElement * hPt1EtaEB_
Pt of the 1st most energetic Eta photon in EB.
Definition: DQMSourcePi0.h:137
MonitorElement * hEventEnergyEBeta_
Distribution of total event energy EB (eta)
Definition: DQMSourcePi0.h:89
MonitorElement * hIsoEtaEE_
Eta Iso EE.
Definition: DQMSourcePi0.h:176
MonitorElement * hS4S92Pi0EB_
S4S9 of the 2nd most energetic pi0 photon.
Definition: DQMSourcePi0.h:191
double selePi0IsoEndCap_
Definition: DQMSourcePi0.h:239
double ParameterW0_
Definition: DQMSourcePi0.h:273
MonitorElement * hPt2EtaEB_
Pt of the 2nd most energetic Eta photon in EB.
Definition: DQMSourcePi0.h:149
double seleMinvMaxPi0_
Definition: DQMSourcePi0.h:225
std::vector< EcalRecHit > EBRecHits
Definition: DQMSourcePi0.h:276
MonitorElement * hMinvEtaEE_
Eta invariant mass in EE.
Definition: DQMSourcePi0.h:128
MonitorElement * hPtPi0EB_
Pi0 Pt in EB.
Definition: DQMSourcePi0.h:155
double seleEtaIsoEndCap_
Definition: DQMSourcePi0.h:264
MonitorElement * hS4S92EtaEE_
S4S9 of the 2nd most energetic eta photon EE.
Definition: DQMSourcePi0.h:200
unsigned int prescaleFactor_
Monitor every prescaleFactor_ events.
Definition: DQMSourcePi0.h:282
MonitorElement * hMeanRecHitEnergyEEeta_
Distribution of Mean energy per rechit EE (eta)
Definition: DQMSourcePi0.h:116
MonitorElement * hIsoPi0EE_
Pi0 Iso EE.
Definition: DQMSourcePi0.h:170
double selePtPi0_
Definition: DQMSourcePi0.h:224
double seleS4S9GammaEndCap_
Definition: DQMSourcePi0.h:238
MonitorElement * hNRecHitsEBeta_
Distribution of number of RecHits EB (eta)
Definition: DQMSourcePi0.h:101
~DQMSourcePi0() override
MonitorElement * hPt1Pi0EE_
Pt of the 1st most energetic Pi0 photon in EE.
Definition: DQMSourcePi0.h:134
MonitorElement * hS4S91EtaEE_
S4S9 of the 1st most energetic eta photon EE.
Definition: DQMSourcePi0.h:188
MonitorElement * hRechitEnergyEEeta_
Energy Distribution of rechits EE (eta)
Definition: DQMSourcePi0.h:80
MonitorElement * hMeanRecHitEnergyEBpi0_
Distribution of Mean energy per rechit EB (pi0)
Definition: DQMSourcePi0.h:107
MonitorElement * hEventEnergyEEeta_
Distribution of total event energy EE (eta)
Definition: DQMSourcePi0.h:92
MonitorElement * hNRecHitsEEpi0_
Distribution of number of RecHits EE (pi0)
Definition: DQMSourcePi0.h:98
int gammaCandPhiSize_
Definition: DQMSourcePi0.h:211
int gammaCandEtaSize_
Definition: DQMSourcePi0.h:210
double selePi0BeltDREndCap_
Definition: DQMSourcePi0.h:240
Definition: Run.h:45
double seleS9S25GammaEta_
Definition: DQMSourcePi0.h:248
MonitorElement * hPt2Pi0EB_
Pt of the 2nd most energetic Pi0 photon in EB.
Definition: DQMSourcePi0.h:143
double selePtGamma_
Definition: DQMSourcePi0.h:223
double clusSeedThrEndCap_
Definition: DQMSourcePi0.h:220