12 edm::LogInfo(
"OutputInfo") <<
" Hcal RecHit Task histograms will NOT be saved";
44 if (eventype_ ==
"multi")
etype_ = 2;
47 if(sign_ ==
"-")
iz = -1;
48 if(sign_ ==
"*")
iz = 0;
56 sprintf (histo,
"N_HB" );
58 sprintf (histo,
"N_HE" );
60 sprintf (histo,
"N_HO" );
62 sprintf (histo,
"N_HF" );
68 for (
unsigned int i1 = 0; i1 < 82; i1++) {
69 for (
unsigned int i2 = 0; i2 < 72; i2++) {
70 for (
unsigned int i3 = 0; i3 < 4; i3++) {
71 for (
unsigned int i4 = 0; i4 < 4; i4++) {
80 sprintf (histo,
"ZSmin_map_depth1" );
82 sprintf (histo,
"ZSmin_map_depth2" );
84 sprintf (histo,
"ZSmin_map_depth3" );
86 sprintf (histo,
"ZSmin_map_depth4" );
90 sprintf (histo,
"ZS_Nreco_HB1" );
92 sprintf (histo,
"ZS_Nreco_HB2" );
94 sprintf (histo,
"ZS_Nreco_HE1" );
96 sprintf (histo,
"ZS_Nreco_HE2" );
98 sprintf (histo,
"ZS_Nreco_HE3" );
100 sprintf (histo,
"ZS_Nreco_HO" );
102 sprintf (histo,
"ZS_Nreco_HF1" );
104 sprintf (histo,
"ZS_Nreco_HF2" );
107 sprintf (histo,
"ZSmin_simple1D_HB1" );
109 sprintf (histo,
"ZSmin_simple1D_HB2" );
111 sprintf (histo,
"ZSmin_simple1D_HE1" );
113 sprintf (histo,
"ZSmin_simple1D_HE2" );
115 sprintf (histo,
"ZSmin_simple1D_HE3" );
117 sprintf (histo,
"ZSmin_simple1D_HO" );
119 sprintf (histo,
"ZSmin_simple1D_HF1" );
121 sprintf (histo,
"ZSmin_simple1D_HF2" );
124 sprintf (histo,
"ZSmin_sequential1D_HB1" );
126 sprintf (histo,
"ZSmin_sequential1D_HB2" );
128 sprintf (histo,
"ZSmin_sequential1D_HE1" );
130 sprintf (histo,
"ZSmin_sequential1D_HE2" );
132 sprintf (histo,
"ZSmin_sequential1D_HE3" );
134 sprintf (histo,
"ZSmin_sequential1D_HO" );
136 sprintf (histo,
"ZSmin_sequential1D_HF1" );
138 sprintf (histo,
"ZSmin_sequential1D_HF2" );
146 sprintf (histo,
"emap_depth1" );
148 sprintf (histo,
"emap_depth2" );
150 sprintf (histo,
"emap_depth3" );
152 sprintf (histo,
"emap_depth4" );
157 if (ecalselector_ ==
"yes") {
158 sprintf (histo,
"map_ecal" );
159 map_ecal =
dbe_->
book2D(histo, histo, 70, -3.045, 3.045, 72, -3.1415926536, 3.1415926536);
164 sprintf (histo,
"emean_vs_ieta_HB1" );
166 sprintf (histo,
"emean_vs_ieta_HB2" );
168 sprintf (histo,
"emean_vs_ieta_HE1" );
170 sprintf (histo,
"emean_vs_ieta_HE2" );
172 sprintf (histo,
"emean_vs_ieta_HE3" );
174 sprintf (histo,
"emean_vs_ieta_HO" );
176 sprintf (histo,
"emean_vs_ieta_HF1" );
178 sprintf (histo,
"emean_vs_ieta_HF2" );
182 sprintf (histo,
"RMS_vs_ieta_HB1" );
184 sprintf (histo,
"RMS_vs_ieta_HB2" );
186 sprintf (histo,
"RMS_vs_ieta_HE1" );
188 sprintf (histo,
"RMS_vs_ieta_HE2" );
190 sprintf (histo,
"RMS_vs_ieta_HE3" );
192 sprintf (histo,
"RMS_vs_ieta_HO" );
194 sprintf (histo,
"RMS_vs_ieta_HF1" );
196 sprintf (histo,
"RMS_vs_ieta_HF2" );
200 sprintf (histo,
"emean_seq_HB1" );
202 sprintf (histo,
"emean_seq_HB2" );
204 sprintf (histo,
"emean_seq_HE1" );
206 sprintf (histo,
"emean_seq_HE2" );
208 sprintf (histo,
"emean_seq_HE3" );
210 sprintf (histo,
"emean_seq_HO" );
212 sprintf (histo,
"emean_seq_HF1" );
214 sprintf (histo,
"emean_seq_HF2" );
217 sprintf (histo,
"RMS_seq_HB1" );
219 sprintf (histo,
"RMS_seq_HB2" );
221 sprintf (histo,
"RMS_seq_HE1" );
223 sprintf (histo,
"RMS_seq_HE2" );
225 sprintf (histo,
"RMS_seq_HE3" );
227 sprintf (histo,
"RMS_seq_HO" );
229 sprintf (histo,
"RMS_seq_HF1" );
231 sprintf (histo,
"RMS_seq_HF2" );
237 sprintf (histo,
"occupancy_map_HB1" );
239 sprintf (histo,
"occupancy_map_HB2" );
241 sprintf (histo,
"occupancy_map_HE1" );
243 sprintf (histo,
"occupancy_map_HE2" );
245 sprintf (histo,
"occupancy_map_HE3" );
247 sprintf (histo,
"occupancy_map_HO" );
249 sprintf (histo,
"occupancy_map_HF1" );
251 sprintf (histo,
"occupancy_map_HF2" );
255 sprintf (histo,
"occupancy_vs_ieta_HB1" );
257 sprintf (histo,
"occupancy_vs_ieta_HB2" );
259 sprintf (histo,
"occupancy_vs_ieta_HE1" );
261 sprintf (histo,
"occupancy_vs_ieta_HE2" );
263 sprintf (histo,
"occupancy_vs_ieta_HE3" );
265 sprintf (histo,
"occupancy_vs_ieta_HO" );
267 sprintf (histo,
"occupancy_vs_ieta_HF1" );
269 sprintf (histo,
"occupancy_vs_ieta_HF2" );
274 sprintf (histo,
"occ_sequential1D_HB1" );
276 sprintf (histo,
"occ_sequential1D_HB2" );
278 sprintf (histo,
"occ_sequential1D_HE1" );
280 sprintf (histo,
"occ_sequential1D_HE2" );
282 sprintf (histo,
"occ_sequential1D_HE3" );
284 sprintf (histo,
"occ_sequential1D_HO" );
286 sprintf (histo,
"occ_sequential1D_HF1" );
288 sprintf (histo,
"occ_sequential1D_HF2" );
293 sprintf (histo,
"HcalRecHitTask_RecHit_StatusWord_HB" ) ;
296 sprintf (histo,
"HcalRecHitTask_RecHit_StatusWord_HE" ) ;
299 sprintf (histo,
"HcalRecHitTask_RecHit_StatusWord_HF" ) ;
303 sprintf (histo,
"HcalRecHitTask_RecHit_StatusWord_HF67" ) ;
306 sprintf (histo,
"HcalRecHitTask_RecHit_StatusWord_HO" ) ;
310 sprintf (histo,
"HcalRecHitTask_RecHit_Aux_StatusWord_HB" ) ;
313 sprintf (histo,
"HcalRecHitTask_RecHit_Aux_StatusWord_HE" ) ;
316 sprintf (histo,
"HcalRecHitTask_RecHit_Aux_StatusWord_HF" ) ;
319 sprintf (histo,
"HcalRecHitTask_RecHit_Aux_StatusWord_HO" ) ;
327 if(subdet_ != 0 &&
imc != 0) {
328 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_all_depths");
331 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_all_depths_E");
334 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_all_depths_EH");
339 if(subdet_ != 0 &&
imc != 0) {
343 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_depth1");
346 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_depth2");
349 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_depth3");
352 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_depth4");
357 if(
etype_ == 1 && subdet_ != 0) {
359 sprintf (histo,
"Delta_phi_cluster-MC");
362 sprintf (histo,
"Delta_eta_cluster-MC");
370 sprintf (histo,
"e_hb" ) ;
372 sprintf (histo,
"e_he" ) ;
374 sprintf (histo,
"e_ho" ) ;
376 sprintf (histo,
"e_hfl" ) ;
378 sprintf (histo,
"e_hfs" ) ;
383 if (subdet_ == 1 || subdet_ == 5 ){
387 if(
etype_ == 1 && subdet_ == 1 ) {
389 sprintf (histo,
"HcalRecHitTask_number_of_rechits_in_cone_HB" ) ;
392 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_in_cone_HB" ) ;
396 sprintf (histo,
"HcalRecHitTask_number_of_rechits_above_1GeV_HB");
399 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_HB" ) ;
402 if (ecalselector_ ==
"yes") {
404 sprintf (histo,
"HcalRecHitTask_number_of_ecalrechits_in_cone_HB");
406 sprintf (histo,
"HcalRecHitTask_energy_ecal_plus_hcal_in_cone_HB");
410 sprintf (histo,
"HcalRecHitTask_energy_hcal_vs_ecal_HB");
412 sprintf (histo,
"HcalRecHitTask_energy_ecal_plus_hcal_HB" ) ;
418 sprintf(histo,
"HcalRecHitTask_severityLevel_HB");
421 sprintf (histo,
"HcalRecHitTask_energy_of_rechits_HB" ) ;
424 sprintf (histo,
"HcalRecHitTask_timing_HB" ) ;
428 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_Low_HB" ) ;
431 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_HB" ) ;
434 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_High_HB" ) ;
437 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_Low_HB" ) ;
440 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_HB" ) ;
443 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_High_HB" ) ;
449 if ( subdet_ == 2 || subdet_ == 5 ){
453 if(
etype_ == 1 && subdet_ == 2 ) {
456 sprintf (histo,
"HcalRecHitTask_number_of_rechits_in_cone_HE" ) ;
459 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_in_cone_HE" ) ;
463 sprintf (histo,
"HcalRecHitTask_number_of_rechits_above_1GeV_HE");
466 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_HE" ) ;
469 if (ecalselector_ ==
"yes") {
470 sprintf (histo,
"HcalRecHitTask_energy_ecal_plus_hcal_HE" ) ;
473 sprintf (histo,
"HcalRecHitTask_energy_hcal_vs_ecal_HE");
476 sprintf (histo,
"HcalRecHitTask_number_of_ecalrechits_in_cone_HE");
478 sprintf (histo,
"HcalRecHitTask_energy_ecal_plus_hcal_in_cone_HE");
486 sprintf(histo,
"HcalRecHitTask_severityLevel_HE");
489 sprintf (histo,
"HcalRecHitTask_energy_of_rechits_HE" ) ;
492 sprintf (histo,
"HcalRecHitTask_timing_HE" ) ;
495 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_Low_HE" ) ;
498 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_HE" ) ;
501 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_Low_HE" ) ;
504 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_HE" ) ;
510 if ( subdet_ == 3 || subdet_ == 5 ){
514 if(
etype_ == 1 && subdet_ == 3) {
516 sprintf (histo,
"HcalRecHitTask_number_of_rechits_in_cone_HO" ) ;
519 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_in_cone_HO" ) ;
523 sprintf (histo,
"HcalRecHitTask_number_of_rechits_above_1GeV_HO");
526 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_HO" ) ;
531 sprintf(histo,
"HcalRecHitTask_severityLevel_HO");
534 sprintf (histo,
"HcalRecHitTask_energy_of_rechits_HO" ) ;
537 sprintf (histo,
"HcalRecHitTask_timing_HO" ) ;
540 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_HO" ) ;
543 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_High_HO" ) ;
546 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_HO" ) ;
549 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_High_HO" ) ;
555 if ( subdet_ == 4 || subdet_ == 5 ){
559 if(
etype_ == 1 && subdet_ == 4) {
562 sprintf (histo,
"HcalRecHitTask_number_of_rechits_in_cone_HF" ) ;
565 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_in_cone_HF" ) ;
568 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_in_cone_HFL" );
571 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_in_cone_HFS");
574 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_HF" ) ;
579 sprintf(histo,
"HcalRecHitTask_severityLevel_HF");
582 sprintf (histo,
"HcalRecHitTask_energy_of_rechits_HF" ) ;
585 sprintf (histo,
"HcalRecHitTask_timing_HF" ) ;
588 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_Low_HF" ) ;
591 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_HF" ) ;
594 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_Low_HF" ) ;
597 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_HF" ) ;
622 double eHcalCone = 0.;
623 double eHcalConeHB = 0.;
624 double eHcalConeHE = 0.;
625 double eHcalConeHO = 0.;
626 double eHcalConeHF = 0.;
627 double eHcalConeHFL = 0.;
628 double eHcalConeHFS = 0.;
631 int nrechitsCone = 0;
632 int nrechitsThresh = 0;
638 double eEcalCone = 0.;
639 int numrechitsEcal = 0;
654 double etaHot = 99999.;
655 double phiHot = 99999.;
710 ev.
getByLabel(
"ecalRecHit",
"EcalRecHitsEB", rhitEB);
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();
733 ev.
getByLabel(
"ecalRecHit",
"EcalRecHitsEE", rhitEE);
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
virtual void analyze(edm::Event const &ev, edm::EventSetup const &c)
MonitorElement * RMS_seq_HE3
MonitorElement * meSumRecHitsEnergyConeHO
MonitorElement * sevLvl_HE
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
edm::InputTag theHORecHitCollectionLabel
edm::InputTag theHFRecHitCollectionLabel
MonitorElement * RecHit_Aux_StatusWord_HO
MonitorElement * RMS_seq_HE2
MonitorElement * RMS_vs_ieta_HB1
edm::InputTag theHBHERecHitCollectionLabel
double dPhiWsign(double phi1, double phi2)
const DetId & detid() const
MonitorElement * meNumEcalRecHitsConeHE
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
std::vector< double > ceta
MonitorElement * occupancy_seqHF2
MonitorElement * occupancy_vs_ieta_HF1
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
MonitorElement * RMS_vs_ieta_HE1
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 * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
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
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
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
std::vector< uint32_t > cstwd
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
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
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
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 * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
const Item * getValues(DetId fId) const
MonitorElement * meEnConeEtaProfile_depth3
MonitorElement * meEnergyHcalVsEcalHB
MonitorElement * emap_depth2
MonitorElement * RMS_vs_ieta_HO
MonitorElement * RMS_seq_HB2
MonitorElement * emean_seqHB2
MonitorElement * meNumRecHitsConeHE
void setCurrentFolder(const std::string &fullpath)
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