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" ) ;
621 double eHcalCone = 0.;
622 double eHcalConeHB = 0.;
623 double eHcalConeHE = 0.;
624 double eHcalConeHO = 0.;
625 double eHcalConeHF = 0.;
626 double eHcalConeHFL = 0.;
627 double eHcalConeHFS = 0.;
630 int nrechitsCone = 0;
631 int nrechitsThresh = 0;
637 double eEcalCone = 0.;
638 int numrechitsEcal = 0;
653 double etaHot = 99999.;
654 double phiHot = 99999.;
715 for (; RecHit != RecHitEnd ; ++RecHit) {
719 geometry->getSubdetectorGeometry (EBid)->getGeometry (EBid) ;
720 double eta = cellGeometry->getPosition ().eta () ;
721 double phi = cellGeometry->getPosition ().phi () ;
722 double en = RecHit->energy();
735 RecHit = rhitEE.
product()->begin();
736 RecHitEnd = rhitEE.
product()->end();
738 for (; RecHit != RecHitEnd ; ++RecHit) {
742 geometry->getSubdetectorGeometry (EEid)->getGeometry (EEid) ;
743 double eta = cellGeometry->getPosition ().eta () ;
744 double phi = cellGeometry->getPosition ().phi () ;
745 double en = RecHit->energy();
771 for (
unsigned int i = 0;
i <
cen.size();
i++) {
784 int index = ieta * 72 + iphi;
793 if( sub == 1 && depth == 1) nhb1++;
794 if( sub == 1 && depth == 2) nhb2++;
795 if( sub == 2 && depth == 1) nhe1++;
796 if( sub == 2 && depth == 2) nhe2++;
797 if( sub == 2 && depth == 3) nhe3++;
798 if( sub == 3 && depth == 4) nho++;
799 if( sub == 4 && depth == 1) nhf1++;
800 if( sub == 4 && depth == 2) nhf2++;
803 if( en <
emap_min[ieta+41][iphi][depth-1][sub-1] )
804 emap_min[ieta+41][iphi][depth-1][sub-1] = en;
824 if( depth == 1 || depth == 2 ) {
827 if (ieta1 < 0) ieta1--;
837 if (depth == 1 && sub == 1 ) {
844 if (depth == 2 && sub == 1) {
851 if (depth == 1 && sub == 2) {
858 if (depth == 2 && sub == 2) {
865 if (depth == 3 && sub == 2) {
879 if (depth == 1 && sub == 4) {
886 if (depth == 2 && sub == 4) {
905 unsigned int isw67 = 0;
906 for (
unsigned int isw = 0; isw < 32; isw++){
907 statadd = 0x1<<(isw);
914 if (isw == 6) isw67 += 1;
915 if (isw == 7) isw67 += 2;
921 for (
unsigned int isw =0; isw < 32; isw++){
922 statadd = 0x1<<(isw);
923 if( auxstwd & statadd ){
947 Nhb->
Fill(
double(nhb1 + nhb2));
948 Nhe->
Fill(
double(nhe1 + nhe2 + nhe3));
950 Nhf->
Fill(
double(nhf1 + nhf2));
960 for (
unsigned int i = 0;
i <
cen.size();
i++) {
987 double clusEta = 999.;
988 double clusPhi = 999.;
991 double HcalCone_d1 = 0.;
992 double HcalCone_d2 = 0.;
993 double HcalCone_d3 = 0.;
994 double HcalCone_d4 = 0.;
995 double HcalCone = 0.;
1000 int ietaMax4 = 9999;
1011 for (
unsigned int i = 0;
i <
cen.size();
i++) {
1020 double rhot =
dR(etaHot, phiHot, eta, phi);
1021 if(rhot < partR && en > 1.) {
1022 clusEta = (clusEta * clusEn + eta * en)/(clusEn + en);
1023 clusPhi =
phi12(clusPhi, clusEn, phi, en);
1029 if(en > 1. ) nrechitsThresh++;
1143 if(eHcalConeHF > eps ) {
1210 using namespace edm;
1230 if( subdet_ == 1 || subdet_ == 2 || subdet_ == 5 || subdet_ == 6 || subdet_ == 0) {
1239 geometry->getSubdetectorGeometry (cell)->getGeometry (cell) ;
1240 double eta = cellGeometry->getPosition().eta () ;
1241 double phi = cellGeometry->getPosition().phi () ;
1242 double zc = cellGeometry->getPosition().z ();
1243 int sub = cell.subdet();
1244 int depth = cell.depth();
1245 int inteta = cell.ieta();
1246 if(inteta > 0) inteta -= 1;
1247 int intphi = cell.iphi()-1;
1248 double en =
j->energy();
1249 double t =
j->time();
1250 int stwd =
j->flags();
1251 int auxstwd =
j->aux();
1260 if((
iz > 0 && eta > 0.) || (
iz < 0 && eta <0.) ||
iz == 0) {
1262 csub.push_back(sub);
1264 ceta.push_back(eta);
1265 cphi.push_back(phi);
1267 cieta.push_back(inteta);
1268 ciphi.push_back(intphi);
1271 cstwd.push_back(stwd);
1278 if( subdet_ == 4 || subdet_ == 5 || subdet_ == 6 || subdet_ == 0) {
1287 geometry->getSubdetectorGeometry (cell)->getGeometry (cell) ;
1288 double eta = cellGeometry->getPosition().eta () ;
1289 double phi = cellGeometry->getPosition().phi () ;
1290 double zc = cellGeometry->getPosition().z ();
1291 int sub = cell.subdet();
1292 int depth = cell.depth();
1293 int inteta = cell.ieta();
1294 if(inteta > 0) inteta -= 1;
1295 int intphi = cell.iphi()-1;
1296 double en =
j->energy();
1297 double t =
j->time();
1298 int stwd =
j->flags();
1299 int auxstwd =
j->aux();
1306 if((
iz > 0 && eta > 0.) || (
iz < 0 && eta <0.) ||
iz == 0) {
1308 csub.push_back(sub);
1310 ceta.push_back(eta);
1311 cphi.push_back(phi);
1313 cieta.push_back(inteta);
1314 ciphi.push_back(intphi);
1317 cstwd.push_back(stwd);
1324 if( subdet_ == 3 || subdet_ == 5 || subdet_ == 6 || subdet_ == 0) {
1332 geometry->getSubdetectorGeometry (cell)->getGeometry (cell) ;
1333 double eta = cellGeometry->getPosition().eta () ;
1334 double phi = cellGeometry->getPosition().phi () ;
1335 double zc = cellGeometry->getPosition().z ();
1336 int sub = cell.subdet();
1337 int depth = cell.depth();
1338 int inteta = cell.ieta();
1339 if(inteta > 0) inteta -= 1;
1340 int intphi = cell.iphi()-1;
1341 double t =
j->time();
1342 double en =
j->energy();
1343 int stwd =
j->flags();
1344 int auxstwd =
j->aux();
1351 if((
iz > 0 && eta > 0.) || (
iz < 0 && eta <0.) ||
iz == 0) {
1352 csub.push_back(sub);
1354 ceta.push_back(eta);
1355 cphi.push_back(phi);
1357 cieta.push_back(inteta);
1358 ciphi.push_back(intphi);
1361 cstwd.push_back(stwd);
1369 double PI = 3.1415926535898;
1370 double deltaphi= phi1 - phi2;
1371 if( phi2 > phi1 ) { deltaphi= phi2 - phi1;}
1372 if(deltaphi > PI) { deltaphi = 2.*PI - deltaphi;}
1373 double deltaeta = eta2 - eta1;
1374 double tmp =
sqrt(deltaeta* deltaeta + deltaphi*deltaphi);
1382 double PI = 3.1415926535898;
1383 double a1 = phi1;
double a2 = phi2;
1385 if( a1 > 0.5*PI && a2 < 0.) a2 += 2*
PI;
1386 if( a2 > 0.5*PI && a1 < 0.) a1 += 2*
PI;
1387 tmp = (a1 * en1 + a2 * en2)/(en1 + en2);
1388 if(tmp > PI) tmp -= 2.*
PI;
1398 double PI = 3.1415926535898;
1399 double a1 = phi1;
double a2 = phi2;
1400 double tmp = a2 - a1;
1402 if(a1 > 0.5 * PI) tmp += 2.*
PI;
1403 if(a2 > 0.5 * PI) tmp -= 2.*
PI;
1413 const uint32_t recHitFlag = hit->
flags();
1418 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 * 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