15 edm::LogInfo(
"OutputInfo") <<
" Hcal RecHit Task histograms will NOT be saved";
43 if (eventype_ ==
"multi")
etype_ = 2;
46 if(sign_ ==
"-")
iz = -1;
47 if(sign_ ==
"*")
iz = 0;
62 sprintf (histo,
"N_HB" );
63 Nhb = ibooker.
book1D(histo, histo, 2600,0.,2600.);
64 sprintf (histo,
"N_HE" );
65 Nhe = ibooker.
book1D(histo, histo, 2600,0.,2600.);
66 sprintf (histo,
"N_HO" );
67 Nho = ibooker.
book1D(histo, histo, 2200,0.,2200.);
68 sprintf (histo,
"N_HF" );
69 Nhf = ibooker.
book1D(histo, histo, 1800,0., 1800.);
74 for (
unsigned int i1 = 0; i1 < 82; i1++) {
75 for (
unsigned int i2 = 0; i2 < 72; i2++) {
76 for (
unsigned int i3 = 0; i3 < 4; i3++) {
77 for (
unsigned int i4 = 0; i4 < 4; i4++) {
86 sprintf (histo,
"ZSmin_map_depth1" );
88 sprintf (histo,
"ZSmin_map_depth2" );
90 sprintf (histo,
"ZSmin_map_depth3" );
92 sprintf (histo,
"ZSmin_map_depth4" );
96 sprintf (histo,
"ZS_Nreco_HB1" );
98 sprintf (histo,
"ZS_Nreco_HB2" );
100 sprintf (histo,
"ZS_Nreco_HE1" );
102 sprintf (histo,
"ZS_Nreco_HE2" );
104 sprintf (histo,
"ZS_Nreco_HE3" );
106 sprintf (histo,
"ZS_Nreco_HO" );
108 sprintf (histo,
"ZS_Nreco_HF1" );
110 sprintf (histo,
"ZS_Nreco_HF2" );
113 sprintf (histo,
"ZSmin_simple1D_HB1" );
115 sprintf (histo,
"ZSmin_simple1D_HB2" );
117 sprintf (histo,
"ZSmin_simple1D_HE1" );
119 sprintf (histo,
"ZSmin_simple1D_HE2" );
121 sprintf (histo,
"ZSmin_simple1D_HE3" );
123 sprintf (histo,
"ZSmin_simple1D_HO" );
124 ZS_HO = ibooker.
book1D(histo, histo,120, -2., 10.);
125 sprintf (histo,
"ZSmin_simple1D_HF1" );
127 sprintf (histo,
"ZSmin_simple1D_HF2" );
130 sprintf (histo,
"ZSmin_sequential1D_HB1" );
132 sprintf (histo,
"ZSmin_sequential1D_HB2" );
134 sprintf (histo,
"ZSmin_sequential1D_HE1" );
136 sprintf (histo,
"ZSmin_sequential1D_HE2" );
138 sprintf (histo,
"ZSmin_sequential1D_HE3" );
140 sprintf (histo,
"ZSmin_sequential1D_HO" );
142 sprintf (histo,
"ZSmin_sequential1D_HF1" );
144 sprintf (histo,
"ZSmin_sequential1D_HF2" );
152 sprintf (histo,
"emap_depth1" );
154 sprintf (histo,
"emap_depth2" );
156 sprintf (histo,
"emap_depth3" );
158 sprintf (histo,
"emap_depth4" );
164 sprintf (histo,
"map_ecal" );
165 map_ecal = ibooker.
book2D(histo, histo, 70, -3.045, 3.045, 72, -3.1415926536, 3.1415926536);
170 sprintf (histo,
"emean_vs_ieta_HB1" );
172 sprintf (histo,
"emean_vs_ieta_HB2" );
174 sprintf (histo,
"emean_vs_ieta_HE1" );
176 sprintf (histo,
"emean_vs_ieta_HE2" );
178 sprintf (histo,
"emean_vs_ieta_HE3" );
180 sprintf (histo,
"emean_vs_ieta_HO" );
182 sprintf (histo,
"emean_vs_ieta_HF1" );
184 sprintf (histo,
"emean_vs_ieta_HF2" );
188 sprintf (histo,
"RMS_vs_ieta_HB1" );
190 sprintf (histo,
"RMS_vs_ieta_HB2" );
192 sprintf (histo,
"RMS_vs_ieta_HE1" );
194 sprintf (histo,
"RMS_vs_ieta_HE2" );
196 sprintf (histo,
"RMS_vs_ieta_HE3" );
198 sprintf (histo,
"RMS_vs_ieta_HO" );
200 sprintf (histo,
"RMS_vs_ieta_HF1" );
202 sprintf (histo,
"RMS_vs_ieta_HF2" );
206 sprintf (histo,
"emean_seq_HB1" );
208 sprintf (histo,
"emean_seq_HB2" );
210 sprintf (histo,
"emean_seq_HE1" );
212 sprintf (histo,
"emean_seq_HE2" );
214 sprintf (histo,
"emean_seq_HE3" );
216 sprintf (histo,
"emean_seq_HO" );
218 sprintf (histo,
"emean_seq_HF1" );
220 sprintf (histo,
"emean_seq_HF2" );
223 sprintf (histo,
"RMS_seq_HB1" );
225 sprintf (histo,
"RMS_seq_HB2" );
227 sprintf (histo,
"RMS_seq_HE1" );
229 sprintf (histo,
"RMS_seq_HE2" );
231 sprintf (histo,
"RMS_seq_HE3" );
233 sprintf (histo,
"RMS_seq_HO" );
235 sprintf (histo,
"RMS_seq_HF1" );
237 sprintf (histo,
"RMS_seq_HF2" );
243 sprintf (histo,
"occupancy_map_HB1" );
245 sprintf (histo,
"occupancy_map_HB2" );
247 sprintf (histo,
"occupancy_map_HE1" );
249 sprintf (histo,
"occupancy_map_HE2" );
251 sprintf (histo,
"occupancy_map_HE3" );
253 sprintf (histo,
"occupancy_map_HO" );
255 sprintf (histo,
"occupancy_map_HF1" );
257 sprintf (histo,
"occupancy_map_HF2" );
261 sprintf (histo,
"occupancy_vs_ieta_HB1" );
263 sprintf (histo,
"occupancy_vs_ieta_HB2" );
265 sprintf (histo,
"occupancy_vs_ieta_HE1" );
267 sprintf (histo,
"occupancy_vs_ieta_HE2" );
269 sprintf (histo,
"occupancy_vs_ieta_HE3" );
271 sprintf (histo,
"occupancy_vs_ieta_HO" );
273 sprintf (histo,
"occupancy_vs_ieta_HF1" );
275 sprintf (histo,
"occupancy_vs_ieta_HF2" );
280 sprintf (histo,
"occ_sequential1D_HB1" );
282 sprintf (histo,
"occ_sequential1D_HB2" );
284 sprintf (histo,
"occ_sequential1D_HE1" );
286 sprintf (histo,
"occ_sequential1D_HE2" );
288 sprintf (histo,
"occ_sequential1D_HE3" );
290 sprintf (histo,
"occ_sequential1D_HO" );
292 sprintf (histo,
"occ_sequential1D_HF1" );
294 sprintf (histo,
"occ_sequential1D_HF2" );
299 sprintf (histo,
"HcalRecHitTask_RecHit_StatusWord_HB" ) ;
302 sprintf (histo,
"HcalRecHitTask_RecHit_StatusWord_HE" ) ;
305 sprintf (histo,
"HcalRecHitTask_RecHit_StatusWord_HF" ) ;
309 sprintf (histo,
"HcalRecHitTask_RecHit_StatusWord_HF67" ) ;
312 sprintf (histo,
"HcalRecHitTask_RecHit_StatusWord_HO" ) ;
316 sprintf (histo,
"HcalRecHitTask_RecHit_Aux_StatusWord_HB" ) ;
319 sprintf (histo,
"HcalRecHitTask_RecHit_Aux_StatusWord_HE" ) ;
322 sprintf (histo,
"HcalRecHitTask_RecHit_Aux_StatusWord_HF" ) ;
325 sprintf (histo,
"HcalRecHitTask_RecHit_Aux_StatusWord_HO" ) ;
331 sprintf (histo,
"HcalRecHitTask_RecHit_StatusWordCorr_HB");
334 sprintf (histo,
"HcalRecHitTask_RecHit_StatusWordCorr_HE");
342 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_all_depths");
345 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_all_depths_E");
348 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_all_depths_EH");
357 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_depth1");
360 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_depth2");
363 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_depth3");
366 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_depth4");
373 sprintf (histo,
"Delta_phi_cluster-MC");
376 sprintf (histo,
"Delta_eta_cluster-MC");
384 sprintf (histo,
"e_hb" ) ;
385 e_hb = ibooker.
book1D(histo, histo,1000, -5., 5.);
386 sprintf (histo,
"e_he" ) ;
387 e_he = ibooker.
book1D(histo, histo,1000, -5., 5.);
388 sprintf (histo,
"e_ho" ) ;
389 e_ho = ibooker.
book1D(histo, histo,1000, -5., 5.);
390 sprintf (histo,
"e_hfl" ) ;
391 e_hfl = ibooker.
book1D(histo, histo,2000, -10., 10.);
392 sprintf (histo,
"e_hfs" ) ;
393 e_hfs = ibooker.
book1D(histo, histo,2000, -10., 10.);
403 sprintf (histo,
"HcalRecHitTask_number_of_rechits_in_cone_HB" ) ;
406 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_in_cone_HB" ) ;
410 sprintf (histo,
"HcalRecHitTask_number_of_rechits_above_1GeV_HB");
413 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_HB" ) ;
418 sprintf (histo,
"HcalRecHitTask_number_of_ecalrechits_in_cone_HB");
420 sprintf (histo,
"HcalRecHitTask_energy_ecal_plus_hcal_in_cone_HB");
424 sprintf (histo,
"HcalRecHitTask_energy_hcal_vs_ecal_HB");
426 sprintf (histo,
"HcalRecHitTask_energy_ecal_plus_hcal_HB" ) ;
432 sprintf(histo,
"HcalRecHitTask_severityLevel_HB");
435 sprintf (histo,
"HcalRecHitTask_energy_of_rechits_HB" ) ;
438 sprintf (histo,
"HcalRecHitTask_timing_HB" ) ;
442 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_Low_HB" ) ;
445 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_HB" ) ;
446 meTE_HB = ibooker.
book2D(histo, histo, 150, -5., 295., 70, -48., 92.);
448 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_High_HB" ) ;
451 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_Low_HB" ) ;
454 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_HB" ) ;
457 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_High_HB" ) ;
470 sprintf (histo,
"HcalRecHitTask_number_of_rechits_in_cone_HE" ) ;
473 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_in_cone_HE" ) ;
477 sprintf (histo,
"HcalRecHitTask_number_of_rechits_above_1GeV_HE");
480 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_HE" ) ;
484 sprintf (histo,
"HcalRecHitTask_energy_ecal_plus_hcal_HE" ) ;
487 sprintf (histo,
"HcalRecHitTask_energy_hcal_vs_ecal_HE");
490 sprintf (histo,
"HcalRecHitTask_number_of_ecalrechits_in_cone_HE");
492 sprintf (histo,
"HcalRecHitTask_energy_ecal_plus_hcal_in_cone_HE");
500 sprintf(histo,
"HcalRecHitTask_severityLevel_HE");
503 sprintf (histo,
"HcalRecHitTask_energy_of_rechits_HE" ) ;
506 sprintf (histo,
"HcalRecHitTask_timing_HE" ) ;
509 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_Low_HE" ) ;
512 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_HE" ) ;
513 meTE_HE = ibooker.
book2D(histo, histo, 200, -5., 395., 70, -48., 92.);
515 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_Low_HE" ) ;
518 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_HE" ) ;
530 sprintf (histo,
"HcalRecHitTask_number_of_rechits_in_cone_HO" ) ;
533 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_in_cone_HO" ) ;
537 sprintf (histo,
"HcalRecHitTask_number_of_rechits_above_1GeV_HO");
540 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_HO" ) ;
545 sprintf(histo,
"HcalRecHitTask_severityLevel_HO");
548 sprintf (histo,
"HcalRecHitTask_energy_of_rechits_HO" ) ;
551 sprintf (histo,
"HcalRecHitTask_timing_HO" ) ;
554 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_HO" ) ;
555 meTE_HO= ibooker.
book2D(histo, histo, 60, -5., 55., 70, -48., 92.);
557 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_High_HO" ) ;
560 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_HO" ) ;
563 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_High_HO" ) ;
576 sprintf (histo,
"HcalRecHitTask_number_of_rechits_in_cone_HF" ) ;
579 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_in_cone_HF" ) ;
582 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_in_cone_HFL" );
585 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_in_cone_HFS");
588 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_HF" ) ;
593 sprintf(histo,
"HcalRecHitTask_severityLevel_HF");
596 sprintf (histo,
"HcalRecHitTask_energy_of_rechits_HF" ) ;
599 sprintf (histo,
"HcalRecHitTask_timing_HF" ) ;
602 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_Low_HF" ) ;
605 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_HF" ) ;
606 meTE_HF = ibooker.
book2D(histo, histo, 200, -5., 995., 70, -48., 92.);
608 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_Low_HF" ) ;
611 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_HF" ) ;
629 double eHcalCone = 0.;
630 double eHcalConeHB = 0.;
631 double eHcalConeHE = 0.;
632 double eHcalConeHO = 0.;
633 double eHcalConeHF = 0.;
634 double eHcalConeHFL = 0.;
635 double eHcalConeHFS = 0.;
638 int nrechitsCone = 0;
639 int nrechitsThresh = 0;
645 double eEcalCone = 0.;
646 int numrechitsEcal = 0;
661 double etaHot = 99999.;
662 double phiHot = 99999.;
723 for (; RecHit != RecHitEnd ; ++RecHit) {
727 geometry->getSubdetectorGeometry (EBid)->getGeometry (EBid) ;
728 double eta = cellGeometry->getPosition ().eta () ;
729 double phi = cellGeometry->getPosition ().phi () ;
730 double en = RecHit->energy();
743 RecHit = rhitEE.
product()->begin();
744 RecHitEnd = rhitEE.
product()->end();
746 for (; RecHit != RecHitEnd ; ++RecHit) {
750 geometry->getSubdetectorGeometry (EEid)->getGeometry (EEid) ;
751 double eta = cellGeometry->getPosition ().eta () ;
752 double phi = cellGeometry->getPosition ().phi () ;
753 double en = RecHit->energy();
779 for (
unsigned int i = 0;
i <
cen.size();
i++) {
792 int index = ieta * 72 + iphi;
801 if( sub == 1 && depth == 1) nhb1++;
802 if( sub == 1 && depth == 2) nhb2++;
803 if( sub == 2 && depth == 1) nhe1++;
804 if( sub == 2 && depth == 2) nhe2++;
805 if( sub == 2 && depth == 3) nhe3++;
806 if( sub == 3 && depth == 4) nho++;
807 if( sub == 4 && depth == 1) nhf1++;
808 if( sub == 4 && depth == 2) nhf2++;
811 if( en <
emap_min[ieta+41][iphi][depth-1][sub-1] )
812 emap_min[ieta+41][iphi][depth-1][sub-1] = en;
832 if( depth == 1 || depth == 2 ) {
835 if (ieta1 < 0) ieta1--;
845 if (depth == 1 && sub == 1 ) {
852 if (depth == 2 && sub == 1) {
859 if (depth == 1 && sub == 2) {
866 if (depth == 2 && sub == 2) {
873 if (depth == 3 && sub == 2) {
887 if (depth == 1 && sub == 4) {
894 if (depth == 2 && sub == 4) {
913 unsigned int isw67 = 0;
916 unsigned int sw27 = 27;
917 unsigned int sw13 = 13;
919 uint32_t statadd27 = 0x1<<sw27;
920 uint32_t statadd13 = 0x1<<sw13;
925 if(stwd & statadd27) status27 = 1;
926 if(stwd & statadd13) status13 = 1;
930 }
else if (sub == 2){
935 for (
unsigned int isw = 0; isw < 32; isw++){
936 statadd = 0x1<<(isw);
943 if (isw == 6) isw67 += 1;
944 if (isw == 7) isw67 += 2;
950 for (
unsigned int isw =0; isw < 32; isw++){
951 statadd = 0x1<<(isw);
952 if( auxstwd & statadd ){
976 Nhb->
Fill(
double(nhb1 + nhb2));
977 Nhe->
Fill(
double(nhe1 + nhe2 + nhe3));
979 Nhf->
Fill(
double(nhf1 + nhf2));
989 for (
unsigned int i = 0;
i <
cen.size();
i++) {
1016 double clusEta = 999.;
1017 double clusPhi = 999.;
1020 double HcalCone_d1 = 0.;
1021 double HcalCone_d2 = 0.;
1022 double HcalCone_d3 = 0.;
1023 double HcalCone_d4 = 0.;
1024 double HcalCone = 0.;
1026 int ietaMax1 = 9999;
1027 int ietaMax2 = 9999;
1028 int ietaMax3 = 9999;
1029 int ietaMax4 = 9999;
1040 for (
unsigned int i = 0;
i <
cen.size();
i++) {
1049 double rhot =
dR(etaHot, phiHot, eta, phi);
1050 if(rhot < partR && en > 1.) {
1051 clusEta = (clusEta * clusEn + eta * en)/(clusEn + en);
1052 clusPhi =
phi12(clusPhi, clusEn, phi, en);
1058 if(en > 1. ) nrechitsThresh++;
1172 if(eHcalConeHF > eps ) {
1239 using namespace edm;
1259 if( subdet_ == 1 || subdet_ == 2 || subdet_ == 5 || subdet_ == 6 || subdet_ == 0) {
1268 geometry->getSubdetectorGeometry (cell)->getGeometry (cell) ;
1269 double eta = cellGeometry->getPosition().eta () ;
1270 double phi = cellGeometry->getPosition().phi () ;
1271 double zc = cellGeometry->getPosition().z ();
1272 int sub = cell.subdet();
1273 int depth = cell.depth();
1274 int inteta = cell.ieta();
1275 if(inteta > 0) inteta -= 1;
1276 int intphi = cell.iphi()-1;
1277 double en =
j->energy();
1278 double t =
j->time();
1279 int stwd =
j->flags();
1280 int auxstwd =
j->aux();
1289 if((
iz > 0 && eta > 0.) || (
iz < 0 && eta <0.) ||
iz == 0) {
1291 csub.push_back(sub);
1293 ceta.push_back(eta);
1294 cphi.push_back(phi);
1296 cieta.push_back(inteta);
1297 ciphi.push_back(intphi);
1300 cstwd.push_back(stwd);
1307 if( subdet_ == 4 || subdet_ == 5 || subdet_ == 6 || subdet_ == 0) {
1316 geometry->getSubdetectorGeometry (cell)->getGeometry (cell) ;
1317 double eta = cellGeometry->getPosition().eta () ;
1318 double phi = cellGeometry->getPosition().phi () ;
1319 double zc = cellGeometry->getPosition().z ();
1320 int sub = cell.subdet();
1321 int depth = cell.depth();
1322 int inteta = cell.ieta();
1323 if(inteta > 0) inteta -= 1;
1324 int intphi = cell.iphi()-1;
1325 double en =
j->energy();
1326 double t =
j->time();
1327 int stwd =
j->flags();
1328 int auxstwd =
j->aux();
1335 if((
iz > 0 && eta > 0.) || (
iz < 0 && eta <0.) ||
iz == 0) {
1337 csub.push_back(sub);
1339 ceta.push_back(eta);
1340 cphi.push_back(phi);
1342 cieta.push_back(inteta);
1343 ciphi.push_back(intphi);
1346 cstwd.push_back(stwd);
1353 if( subdet_ == 3 || subdet_ == 5 || subdet_ == 6 || subdet_ == 0) {
1361 geometry->getSubdetectorGeometry (cell)->getGeometry (cell) ;
1362 double eta = cellGeometry->getPosition().eta () ;
1363 double phi = cellGeometry->getPosition().phi () ;
1364 double zc = cellGeometry->getPosition().z ();
1365 int sub = cell.subdet();
1366 int depth = cell.depth();
1367 int inteta = cell.ieta();
1368 if(inteta > 0) inteta -= 1;
1369 int intphi = cell.iphi()-1;
1370 double t =
j->time();
1371 double en =
j->energy();
1372 int stwd =
j->flags();
1373 int auxstwd =
j->aux();
1380 if((
iz > 0 && eta > 0.) || (
iz < 0 && eta <0.) ||
iz == 0) {
1381 csub.push_back(sub);
1383 ceta.push_back(eta);
1384 cphi.push_back(phi);
1386 cieta.push_back(inteta);
1387 ciphi.push_back(intphi);
1390 cstwd.push_back(stwd);
1398 double PI = 3.1415926535898;
1399 double deltaphi= phi1 - phi2;
1400 if( phi2 > phi1 ) { deltaphi= phi2 - phi1;}
1401 if(deltaphi > PI) { deltaphi = 2.*PI - deltaphi;}
1402 double deltaeta = eta2 - eta1;
1403 double tmp =
sqrt(deltaeta* deltaeta + deltaphi*deltaphi);
1411 double PI = 3.1415926535898;
1412 double a1 = phi1;
double a2 = phi2;
1414 if( a1 > 0.5*PI && a2 < 0.) a2 += 2*
PI;
1415 if( a2 > 0.5*PI && a1 < 0.) a1 += 2*
PI;
1416 tmp = (a1 * en1 + a2 * en2)/(en1 + en2);
1417 if(tmp > PI) tmp -= 2.*
PI;
1427 double PI = 3.1415926535898;
1428 double a1 = phi1;
double a2 = phi2;
1429 double tmp = a2 - a1;
1431 if(a1 > 0.5 * PI) tmp += 2.*
PI;
1432 if(a2 > 0.5 * PI) tmp -= 2.*
PI;
1442 const uint32_t recHitFlag = hit->
flags();
1447 return severityLevel;
MonitorElement * map_depth4
std::string hcalselector_
MonitorElement * sevLvl_HF
MonitorElement * ZS_seqHE1
MonitorElement * ZS_seqHF2
MonitorElement * occupancy_map_HF1
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * meTEprofileHB_High
MonitorElement * RecHit_StatusWord_HE
MonitorElement * meTE_HB2
MonitorElement * occupancy_seqHE1
MonitorElement * occupancy_vs_ieta_HE1
MonitorElement * meTimeHF
std::vector< double > cphi
MonitorElement * occupancy_map_HE3
MonitorElement * emean_seqHE3
std::vector< int > hcalHOSevLvlVec
MonitorElement * RMS_vs_ieta_HE2
double dR(double eta1, double phi1, double eta2, double phi2)
MonitorElement * RecHit_StatusWord_HF
MonitorElement * RMS_seq_HE3
MonitorElement * meSumRecHitsEnergyConeHO
MonitorElement * sevLvl_HE
MonitorElement * RecHit_Aux_StatusWord_HO
MonitorElement * bookProfile(Args &&...args)
MonitorElement * RMS_seq_HE2
MonitorElement * RMS_vs_ieta_HB1
double dPhiWsign(double phi1, double phi2)
const DetId & detid() const
MonitorElement * meNumEcalRecHitsConeHE
bool getByToken(EDGetToken token, Handle< PROD > &result) const
MonitorElement * meTE_Low_HE
#define DEFINE_FWK_MODULE(type)
double emap_min[82][72][4][4]
MonitorElement * emean_vs_ieta_HF2
MonitorElement * occupancy_map_HF2
MonitorElement * ZS_seqHB2
std::vector< int > cdepth
MonitorElement * meSumRecHitsEnergyHB
int hcalSevLvl(const CaloRecHit *hit)
MonitorElement * meSumRecHitsEnergyHF
std::vector< EcalRecHit >::const_iterator const_iterator
MonitorElement * RMS_seq_HF2
MonitorElement * meSumRecHitsEnergyConeHF
std::vector< int > hcalHBSevLvlVec
MonitorElement * meEnConeEtaProfile_depth1
MonitorElement * occupancy_map_HO
MonitorElement * occupancy_seqHO
const Item * getValues(DetId fId, bool throwOnFail=true) const
std::vector< double > ceta
MonitorElement * occupancy_seqHF2
MonitorElement * occupancy_vs_ieta_HF1
edm::EDGetTokenT< EBRecHitCollection > tok_EB_
MonitorElement * emap_depth4
MonitorElement * emean_vs_ieta_HB2
MonitorElement * meEnConeEtaProfile_EH
std::vector< int > hcalHESevLvlVec
double phi12(double phi1, double en1, double phi2, double en2)
MonitorElement * emean_vs_ieta_HB1
MonitorElement * emean_seqHE1
MonitorElement * meTE_Low_HB
MonitorElement * meTEprofileHF_Low
const HcalSeverityLevelComputer * theHcalSevLvlComputer
MonitorElement * meSumRecHitsEnergyConeHB
MonitorElement * emap_depth1
MonitorElement * RMS_vs_ieta_HE3
MonitorElement * RMS_vs_ieta_HB2
MonitorElement * sevLvl_HO
virtual void fillRecHitsTmp(int subdet_, edm::Event const &ev)
MonitorElement * occupancy_seqHF1
MonitorElement * meEcalHcalEnergyHB
MonitorElement * emean_seqHB1
MonitorElement * meEcalHcalEnergyHE
MonitorElement * emean_seqHF2
MonitorElement * meSumRecHitsEnergyConeHE
MonitorElement * occupancy_seqHB2
MonitorElement * RMS_vs_ieta_HF2
const HcalChannelQuality * theHcalChStatus
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
MonitorElement * meEnConeEtaProfile_E
MonitorElement * meTE_HFL
MonitorElement * meTEprofileHO
std::string ecalselector_
MonitorElement * meTEprofileHB
edm::EDGetTokenT< HORecHitCollection > tok_ho_
MonitorElement * RMS_vs_ieta_HE1
MonitorElement * book1D(Args &&...args)
MonitorElement * occupancy_map_HB1
MonitorElement * meTE_High_HO
MonitorElement * meRecHitsEnergyHO
MonitorElement * occupancy_seqHB1
MonitorElement * meTE_HE2
MonitorElement * meDeltaEta
std::vector< uint32_t > cauxstwd
MonitorElement * emap_depth3
MonitorElement * occupancy_vs_ieta_HO
MonitorElement * occupancy_vs_ieta_HE2
MonitorElement * meTEprofileHE_Low
MonitorElement * RecHit_StatusWord_HO
MonitorElement * meRecHitsEnergyHB
MonitorElement * ZS_seqHO
MonitorElement * occupancy_vs_ieta_HB2
MonitorElement * RMS_seq_HF1
MonitorElement * emean_vs_ieta_HO
MonitorElement * ZS_seqHE3
MonitorElement * sevLvl_HB
MonitorElement * meDeltaPhi
edm::EDGetTokenT< HBHERecHitCollection > tok_hbhe_
MonitorElement * occupancy_seqHE3
MonitorElement * meNumRecHitsThreshHE
MonitorElement * map_ecal
MonitorElement * map_depth3
MonitorElement * meTimeHE
MonitorElement * meEcalHcalEnergyConeHE
MonitorElement * meSumRecHitsEnergyHE
MonitorElement * meTimeHO
MonitorElement * ZS_seqHF1
MonitorElement * emean_vs_ieta_HE1
MonitorElement * meRecHitsEnergyHF
MonitorElement * occupancy_vs_ieta_HB1
MonitorElement * RMS_seq_HB1
HcalRecHitsAnalyzer(edm::ParameterSet const &conf)
MonitorElement * meEnConeEtaProfile
MonitorElement * meTEprofileHE
void setCurrentFolder(const std::string &fullpath)
std::vector< uint32_t > cstwd
T const * product() const
MonitorElement * book2D(Args &&...args)
MonitorElement * RecHit_Aux_StatusWord_HB
virtual void analyze(edm::Event const &ev, edm::EventSetup const &c) override
MonitorElement * map_depth2
MonitorElement * occupancy_map_HE1
MonitorElement * meEcalHcalEnergyConeHB
MonitorElement * emean_seqHE2
int getSeverityLevel(const DetId &myid, const uint32_t &myflag, const uint32_t &mystatus) const
edm::EDGetTokenT< HFRecHitCollection > tok_hf_
MonitorElement * meNumRecHitsConeHO
MonitorElement * emean_vs_ieta_HE3
MonitorElement * emean_seqHO
MonitorElement * meNumRecHitsConeHB
MonitorElement * meTE_HE1
MonitorElement * RecHit_StatusWord_HF67
MonitorElement * meNumRecHitsThreshHB
MonitorElement * occupancy_vs_ieta_HE3
MonitorElement * RMS_seq_HO
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::vector< std::vector< double > > tmp
MonitorElement * emean_seqHF1
MonitorElement * ZS_seqHE2
MonitorElement * ZS_seqHB1
MonitorElement * meTE_High_HB
MonitorElement * occupancy_map_HB2
MonitorElement * emean_vs_ieta_HE2
MonitorElement * emean_vs_ieta_HF1
std::vector< int > hcalHFSevLvlVec
MonitorElement * RecHit_StatusWord_HB
MonitorElement * map_depth1
MonitorElement * meTEprofileHO_High
MonitorElement * meNumRecHitsThreshHO
MonitorElement * meEnConeEtaProfile_depth4
MonitorElement * meEnConeEtaProfile_depth2
MonitorElement * meEnergyHcalVsEcalHE
MonitorElement * meTEprofileHB_Low
edm::EDGetTokenT< EERecHitCollection > tok_EE_
std::vector< double > ctime
std::vector< double > cen
MonitorElement * occupancy_vs_ieta_HF2
MonitorElement * RMS_vs_ieta_HF1
MonitorElement * occupancy_seqHE2
MonitorElement * RecHit_StatusWordCorr_HE
MonitorElement * meNumRecHitsConeHF
MonitorElement * meTimeHB
MonitorElement * meTEprofileHF
MonitorElement * occupancy_map_HE2
MonitorElement * RecHit_Aux_StatusWord_HF
MonitorElement * RecHit_Aux_StatusWord_HE
uint32_t getValue() const
MonitorElement * meEnConeEtaProfile_depth3
MonitorElement * RecHit_StatusWordCorr_HB
MonitorElement * meEnergyHcalVsEcalHB
MonitorElement * emap_depth2
MonitorElement * RMS_vs_ieta_HO
MonitorElement * RMS_seq_HB2
MonitorElement * emean_seqHB2
MonitorElement * meNumRecHitsConeHE
edm::ESHandle< CaloGeometry > geometry
MonitorElement * RMS_seq_HE1
MonitorElement * meSumRecHitsEnergyConeHFL
MonitorElement * meNumEcalRecHitsConeHB
MonitorElement * meTE_HB1
MonitorElement * meSumRecHitsEnergyHO
MonitorElement * meSumRecHitsEnergyConeHFS
MonitorElement * meTE_HFS
MonitorElement * meRecHitsEnergyHE
MonitorElement * meTE_Low_HF