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" ) ;
334 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_all_depths");
337 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_all_depths_E");
340 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_all_depths_EH");
349 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_depth1");
352 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_depth2");
355 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_depth3");
358 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_depth4");
365 sprintf (histo,
"Delta_phi_cluster-MC");
368 sprintf (histo,
"Delta_eta_cluster-MC");
376 sprintf (histo,
"e_hb" ) ;
377 e_hb = ibooker.
book1D(histo, histo,1000, -5., 5.);
378 sprintf (histo,
"e_he" ) ;
379 e_he = ibooker.
book1D(histo, histo,1000, -5., 5.);
380 sprintf (histo,
"e_ho" ) ;
381 e_ho = ibooker.
book1D(histo, histo,1000, -5., 5.);
382 sprintf (histo,
"e_hfl" ) ;
383 e_hfl = ibooker.
book1D(histo, histo,2000, -10., 10.);
384 sprintf (histo,
"e_hfs" ) ;
385 e_hfs = ibooker.
book1D(histo, histo,2000, -10., 10.);
395 sprintf (histo,
"HcalRecHitTask_number_of_rechits_in_cone_HB" ) ;
398 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_in_cone_HB" ) ;
402 sprintf (histo,
"HcalRecHitTask_number_of_rechits_above_1GeV_HB");
405 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_HB" ) ;
410 sprintf (histo,
"HcalRecHitTask_number_of_ecalrechits_in_cone_HB");
412 sprintf (histo,
"HcalRecHitTask_energy_ecal_plus_hcal_in_cone_HB");
416 sprintf (histo,
"HcalRecHitTask_energy_hcal_vs_ecal_HB");
418 sprintf (histo,
"HcalRecHitTask_energy_ecal_plus_hcal_HB" ) ;
424 sprintf(histo,
"HcalRecHitTask_severityLevel_HB");
427 sprintf (histo,
"HcalRecHitTask_energy_of_rechits_HB" ) ;
430 sprintf (histo,
"HcalRecHitTask_timing_HB" ) ;
434 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_Low_HB" ) ;
437 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_HB" ) ;
438 meTE_HB = ibooker.
book2D(histo, histo, 150, -5., 295., 70, -48., 92.);
440 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_High_HB" ) ;
443 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_Low_HB" ) ;
446 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_HB" ) ;
449 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_High_HB" ) ;
462 sprintf (histo,
"HcalRecHitTask_number_of_rechits_in_cone_HE" ) ;
465 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_in_cone_HE" ) ;
469 sprintf (histo,
"HcalRecHitTask_number_of_rechits_above_1GeV_HE");
472 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_HE" ) ;
476 sprintf (histo,
"HcalRecHitTask_energy_ecal_plus_hcal_HE" ) ;
479 sprintf (histo,
"HcalRecHitTask_energy_hcal_vs_ecal_HE");
482 sprintf (histo,
"HcalRecHitTask_number_of_ecalrechits_in_cone_HE");
484 sprintf (histo,
"HcalRecHitTask_energy_ecal_plus_hcal_in_cone_HE");
492 sprintf(histo,
"HcalRecHitTask_severityLevel_HE");
495 sprintf (histo,
"HcalRecHitTask_energy_of_rechits_HE" ) ;
498 sprintf (histo,
"HcalRecHitTask_timing_HE" ) ;
501 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_Low_HE" ) ;
504 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_HE" ) ;
505 meTE_HE = ibooker.
book2D(histo, histo, 200, -5., 395., 70, -48., 92.);
507 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_Low_HE" ) ;
510 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_HE" ) ;
522 sprintf (histo,
"HcalRecHitTask_number_of_rechits_in_cone_HO" ) ;
525 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_in_cone_HO" ) ;
529 sprintf (histo,
"HcalRecHitTask_number_of_rechits_above_1GeV_HO");
532 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_HO" ) ;
537 sprintf(histo,
"HcalRecHitTask_severityLevel_HO");
540 sprintf (histo,
"HcalRecHitTask_energy_of_rechits_HO" ) ;
543 sprintf (histo,
"HcalRecHitTask_timing_HO" ) ;
546 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_HO" ) ;
547 meTE_HO= ibooker.
book2D(histo, histo, 60, -5., 55., 70, -48., 92.);
549 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_High_HO" ) ;
552 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_HO" ) ;
555 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_High_HO" ) ;
568 sprintf (histo,
"HcalRecHitTask_number_of_rechits_in_cone_HF" ) ;
571 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_in_cone_HF" ) ;
574 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_in_cone_HFL" );
577 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_in_cone_HFS");
580 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_HF" ) ;
585 sprintf(histo,
"HcalRecHitTask_severityLevel_HF");
588 sprintf (histo,
"HcalRecHitTask_energy_of_rechits_HF" ) ;
591 sprintf (histo,
"HcalRecHitTask_timing_HF" ) ;
594 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_Low_HF" ) ;
597 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_HF" ) ;
598 meTE_HF = ibooker.
book2D(histo, histo, 200, -5., 995., 70, -48., 92.);
600 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_Low_HF" ) ;
603 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_HF" ) ;
628 double eHcalCone = 0.;
629 double eHcalConeHB = 0.;
630 double eHcalConeHE = 0.;
631 double eHcalConeHO = 0.;
632 double eHcalConeHF = 0.;
633 double eHcalConeHFL = 0.;
634 double eHcalConeHFS = 0.;
637 int nrechitsCone = 0;
638 int nrechitsThresh = 0;
644 double eEcalCone = 0.;
645 int numrechitsEcal = 0;
660 double etaHot = 99999.;
661 double phiHot = 99999.;
721 for (; RecHit != RecHitEnd ; ++RecHit) {
725 geometry->getSubdetectorGeometry (EBid)->getGeometry (EBid) ;
726 double eta = cellGeometry->getPosition ().eta () ;
727 double phi = cellGeometry->getPosition ().phi () ;
728 double en = RecHit->energy();
741 RecHit = rhitEE.
product()->begin();
742 RecHitEnd = rhitEE.
product()->end();
744 for (; RecHit != RecHitEnd ; ++RecHit) {
748 geometry->getSubdetectorGeometry (EEid)->getGeometry (EEid) ;
749 double eta = cellGeometry->getPosition ().eta () ;
750 double phi = cellGeometry->getPosition ().phi () ;
751 double en = RecHit->energy();
777 for (
unsigned int i = 0;
i <
cen.size();
i++) {
790 int index = ieta * 72 + iphi;
799 if( sub == 1 && depth == 1) nhb1++;
800 if( sub == 1 && depth == 2) nhb2++;
801 if( sub == 2 && depth == 1) nhe1++;
802 if( sub == 2 && depth == 2) nhe2++;
803 if( sub == 2 && depth == 3) nhe3++;
804 if( sub == 3 && depth == 4) nho++;
805 if( sub == 4 && depth == 1) nhf1++;
806 if( sub == 4 && depth == 2) nhf2++;
809 if( en <
emap_min[ieta+41][iphi][depth-1][sub-1] )
810 emap_min[ieta+41][iphi][depth-1][sub-1] = en;
830 if( depth == 1 || depth == 2 ) {
833 if (ieta1 < 0) ieta1--;
843 if (depth == 1 && sub == 1 ) {
850 if (depth == 2 && sub == 1) {
857 if (depth == 1 && sub == 2) {
864 if (depth == 2 && sub == 2) {
871 if (depth == 3 && sub == 2) {
885 if (depth == 1 && sub == 4) {
892 if (depth == 2 && sub == 4) {
911 unsigned int isw67 = 0;
912 for (
unsigned int isw = 0; isw < 32; isw++){
913 statadd = 0x1<<(isw);
920 if (isw == 6) isw67 += 1;
921 if (isw == 7) isw67 += 2;
927 for (
unsigned int isw =0; isw < 32; isw++){
928 statadd = 0x1<<(isw);
929 if( auxstwd & statadd ){
953 Nhb->
Fill(
double(nhb1 + nhb2));
954 Nhe->
Fill(
double(nhe1 + nhe2 + nhe3));
956 Nhf->
Fill(
double(nhf1 + nhf2));
966 for (
unsigned int i = 0;
i <
cen.size();
i++) {
993 double clusEta = 999.;
994 double clusPhi = 999.;
997 double HcalCone_d1 = 0.;
998 double HcalCone_d2 = 0.;
999 double HcalCone_d3 = 0.;
1000 double HcalCone_d4 = 0.;
1001 double HcalCone = 0.;
1003 int ietaMax1 = 9999;
1004 int ietaMax2 = 9999;
1005 int ietaMax3 = 9999;
1006 int ietaMax4 = 9999;
1017 for (
unsigned int i = 0;
i <
cen.size();
i++) {
1026 double rhot =
dR(etaHot, phiHot, eta, phi);
1027 if(rhot < partR && en > 1.) {
1028 clusEta = (clusEta * clusEn + eta * en)/(clusEn + en);
1029 clusPhi =
phi12(clusPhi, clusEn, phi, en);
1035 if(en > 1. ) nrechitsThresh++;
1149 if(eHcalConeHF > eps ) {
1216 using namespace edm;
1236 if( subdet_ == 1 || subdet_ == 2 || subdet_ == 5 || subdet_ == 6 || subdet_ == 0) {
1245 geometry->getSubdetectorGeometry (cell)->getGeometry (cell) ;
1246 double eta = cellGeometry->getPosition().eta () ;
1247 double phi = cellGeometry->getPosition().phi () ;
1248 double zc = cellGeometry->getPosition().z ();
1249 int sub = cell.subdet();
1250 int depth = cell.depth();
1251 int inteta = cell.ieta();
1252 if(inteta > 0) inteta -= 1;
1253 int intphi = cell.iphi()-1;
1254 double en =
j->energy();
1255 double t =
j->time();
1256 int stwd =
j->flags();
1257 int auxstwd =
j->aux();
1266 if((
iz > 0 && eta > 0.) || (
iz < 0 && eta <0.) ||
iz == 0) {
1268 csub.push_back(sub);
1270 ceta.push_back(eta);
1271 cphi.push_back(phi);
1273 cieta.push_back(inteta);
1274 ciphi.push_back(intphi);
1277 cstwd.push_back(stwd);
1284 if( subdet_ == 4 || subdet_ == 5 || subdet_ == 6 || subdet_ == 0) {
1293 geometry->getSubdetectorGeometry (cell)->getGeometry (cell) ;
1294 double eta = cellGeometry->getPosition().eta () ;
1295 double phi = cellGeometry->getPosition().phi () ;
1296 double zc = cellGeometry->getPosition().z ();
1297 int sub = cell.subdet();
1298 int depth = cell.depth();
1299 int inteta = cell.ieta();
1300 if(inteta > 0) inteta -= 1;
1301 int intphi = cell.iphi()-1;
1302 double en =
j->energy();
1303 double t =
j->time();
1304 int stwd =
j->flags();
1305 int auxstwd =
j->aux();
1312 if((
iz > 0 && eta > 0.) || (
iz < 0 && eta <0.) ||
iz == 0) {
1314 csub.push_back(sub);
1316 ceta.push_back(eta);
1317 cphi.push_back(phi);
1319 cieta.push_back(inteta);
1320 ciphi.push_back(intphi);
1323 cstwd.push_back(stwd);
1330 if( subdet_ == 3 || subdet_ == 5 || subdet_ == 6 || subdet_ == 0) {
1338 geometry->getSubdetectorGeometry (cell)->getGeometry (cell) ;
1339 double eta = cellGeometry->getPosition().eta () ;
1340 double phi = cellGeometry->getPosition().phi () ;
1341 double zc = cellGeometry->getPosition().z ();
1342 int sub = cell.subdet();
1343 int depth = cell.depth();
1344 int inteta = cell.ieta();
1345 if(inteta > 0) inteta -= 1;
1346 int intphi = cell.iphi()-1;
1347 double t =
j->time();
1348 double en =
j->energy();
1349 int stwd =
j->flags();
1350 int auxstwd =
j->aux();
1357 if((
iz > 0 && eta > 0.) || (
iz < 0 && eta <0.) ||
iz == 0) {
1358 csub.push_back(sub);
1360 ceta.push_back(eta);
1361 cphi.push_back(phi);
1363 cieta.push_back(inteta);
1364 ciphi.push_back(intphi);
1367 cstwd.push_back(stwd);
1375 double PI = 3.1415926535898;
1376 double deltaphi= phi1 - phi2;
1377 if( phi2 > phi1 ) { deltaphi= phi2 - phi1;}
1378 if(deltaphi > PI) { deltaphi = 2.*PI - deltaphi;}
1379 double deltaeta = eta2 - eta1;
1380 double tmp =
sqrt(deltaeta* deltaeta + deltaphi*deltaphi);
1388 double PI = 3.1415926535898;
1389 double a1 = phi1;
double a2 = phi2;
1391 if( a1 > 0.5*PI && a2 < 0.) a2 += 2*
PI;
1392 if( a2 > 0.5*PI && a1 < 0.) a1 += 2*
PI;
1393 tmp = (a1 * en1 + a2 * en2)/(en1 + en2);
1394 if(tmp > PI) tmp -= 2.*
PI;
1404 double PI = 3.1415926535898;
1405 double a1 = phi1;
double a2 = phi2;
1406 double tmp = a2 - a1;
1408 if(a1 > 0.5 * PI) tmp += 2.*
PI;
1409 if(a2 > 0.5 * PI) tmp -= 2.*
PI;
1419 const uint32_t recHitFlag = hit->
flags();
1424 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
virtual void analyze(edm::Event const &ev, edm::EventSetup const &c)
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
MonitorElement * book2D(Args &&...args)
MonitorElement * RecHit_Aux_StatusWord_HB
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
T const * product() const
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 * 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 * 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