12 edm::LogInfo(
"OutputInfo") <<
" Hcal RecHit Task histograms will NOT be saved";
46 if (eventype_ ==
"multi")
etype_ = 2;
49 if(sign_ ==
"-")
iz = -1;
50 if(sign_ ==
"*")
iz = 0;
58 sprintf (histo,
"N_HB" );
60 sprintf (histo,
"N_HE" );
62 sprintf (histo,
"N_HO" );
64 sprintf (histo,
"N_HF" );
70 for (
unsigned int i1 = 0; i1 < 82; i1++) {
71 for (
unsigned int i2 = 0; i2 < 72; i2++) {
72 for (
unsigned int i3 = 0; i3 < 4; i3++) {
73 for (
unsigned int i4 = 0; i4 < 4; i4++) {
82 sprintf (histo,
"ZSmin_map_depth1" );
84 sprintf (histo,
"ZSmin_map_depth2" );
86 sprintf (histo,
"ZSmin_map_depth3" );
88 sprintf (histo,
"ZSmin_map_depth4" );
92 sprintf (histo,
"ZS_Nreco_HB1" );
94 sprintf (histo,
"ZS_Nreco_HB2" );
96 sprintf (histo,
"ZS_Nreco_HE1" );
98 sprintf (histo,
"ZS_Nreco_HE2" );
100 sprintf (histo,
"ZS_Nreco_HE3" );
102 sprintf (histo,
"ZS_Nreco_HO" );
104 sprintf (histo,
"ZS_Nreco_HF1" );
106 sprintf (histo,
"ZS_Nreco_HF2" );
109 sprintf (histo,
"ZSmin_simple1D_HB1" );
111 sprintf (histo,
"ZSmin_simple1D_HB2" );
113 sprintf (histo,
"ZSmin_simple1D_HE1" );
115 sprintf (histo,
"ZSmin_simple1D_HE2" );
117 sprintf (histo,
"ZSmin_simple1D_HE3" );
119 sprintf (histo,
"ZSmin_simple1D_HO" );
121 sprintf (histo,
"ZSmin_simple1D_HF1" );
123 sprintf (histo,
"ZSmin_simple1D_HF2" );
126 sprintf (histo,
"ZSmin_sequential1D_HB1" );
128 sprintf (histo,
"ZSmin_sequential1D_HB2" );
130 sprintf (histo,
"ZSmin_sequential1D_HE1" );
132 sprintf (histo,
"ZSmin_sequential1D_HE2" );
134 sprintf (histo,
"ZSmin_sequential1D_HE3" );
136 sprintf (histo,
"ZSmin_sequential1D_HO" );
138 sprintf (histo,
"ZSmin_sequential1D_HF1" );
140 sprintf (histo,
"ZSmin_sequential1D_HF2" );
148 sprintf (histo,
"emap_depth1" );
150 sprintf (histo,
"emap_depth2" );
152 sprintf (histo,
"emap_depth3" );
154 sprintf (histo,
"emap_depth4" );
159 if (ecalselector_ ==
"yes") {
160 sprintf (histo,
"map_ecal" );
161 map_ecal =
dbe_->
book2D(histo, histo, 70, -3.045, 3.045, 72, -3.1415926536, 3.1415926536);
166 sprintf (histo,
"emean_vs_ieta_HB1" );
168 sprintf (histo,
"emean_vs_ieta_HB2" );
170 sprintf (histo,
"emean_vs_ieta_HE1" );
172 sprintf (histo,
"emean_vs_ieta_HE2" );
174 sprintf (histo,
"emean_vs_ieta_HE3" );
176 sprintf (histo,
"emean_vs_ieta_HO" );
178 sprintf (histo,
"emean_vs_ieta_HF1" );
180 sprintf (histo,
"emean_vs_ieta_HF2" );
184 sprintf (histo,
"RMS_vs_ieta_HB1" );
186 sprintf (histo,
"RMS_vs_ieta_HB2" );
188 sprintf (histo,
"RMS_vs_ieta_HE1" );
190 sprintf (histo,
"RMS_vs_ieta_HE2" );
192 sprintf (histo,
"RMS_vs_ieta_HE3" );
194 sprintf (histo,
"RMS_vs_ieta_HO" );
196 sprintf (histo,
"RMS_vs_ieta_HF1" );
198 sprintf (histo,
"RMS_vs_ieta_HF2" );
202 sprintf (histo,
"emean_seq_HB1" );
204 sprintf (histo,
"emean_seq_HB2" );
206 sprintf (histo,
"emean_seq_HE1" );
208 sprintf (histo,
"emean_seq_HE2" );
210 sprintf (histo,
"emean_seq_HE3" );
212 sprintf (histo,
"emean_seq_HO" );
214 sprintf (histo,
"emean_seq_HF1" );
216 sprintf (histo,
"emean_seq_HF2" );
219 sprintf (histo,
"RMS_seq_HB1" );
221 sprintf (histo,
"RMS_seq_HB2" );
223 sprintf (histo,
"RMS_seq_HE1" );
225 sprintf (histo,
"RMS_seq_HE2" );
227 sprintf (histo,
"RMS_seq_HE3" );
229 sprintf (histo,
"RMS_seq_HO" );
231 sprintf (histo,
"RMS_seq_HF1" );
233 sprintf (histo,
"RMS_seq_HF2" );
239 sprintf (histo,
"occupancy_map_HB1" );
241 sprintf (histo,
"occupancy_map_HB2" );
243 sprintf (histo,
"occupancy_map_HE1" );
245 sprintf (histo,
"occupancy_map_HE2" );
247 sprintf (histo,
"occupancy_map_HE3" );
249 sprintf (histo,
"occupancy_map_HO" );
251 sprintf (histo,
"occupancy_map_HF1" );
253 sprintf (histo,
"occupancy_map_HF2" );
257 sprintf (histo,
"occupancy_vs_ieta_HB1" );
259 sprintf (histo,
"occupancy_vs_ieta_HB2" );
261 sprintf (histo,
"occupancy_vs_ieta_HE1" );
263 sprintf (histo,
"occupancy_vs_ieta_HE2" );
265 sprintf (histo,
"occupancy_vs_ieta_HE3" );
267 sprintf (histo,
"occupancy_vs_ieta_HO" );
269 sprintf (histo,
"occupancy_vs_ieta_HF1" );
271 sprintf (histo,
"occupancy_vs_ieta_HF2" );
276 sprintf (histo,
"occ_sequential1D_HB1" );
278 sprintf (histo,
"occ_sequential1D_HB2" );
280 sprintf (histo,
"occ_sequential1D_HE1" );
282 sprintf (histo,
"occ_sequential1D_HE2" );
284 sprintf (histo,
"occ_sequential1D_HE3" );
286 sprintf (histo,
"occ_sequential1D_HO" );
288 sprintf (histo,
"occ_sequential1D_HF1" );
290 sprintf (histo,
"occ_sequential1D_HF2" );
295 sprintf (histo,
"HcalRecHitTask_RecHit_StatusWord_HB" ) ;
298 sprintf (histo,
"HcalRecHitTask_RecHit_StatusWord_HE" ) ;
301 sprintf (histo,
"HcalRecHitTask_RecHit_StatusWord_HF" ) ;
305 sprintf (histo,
"HcalRecHitTask_RecHit_StatusWord_HF67" ) ;
308 sprintf (histo,
"HcalRecHitTask_RecHit_StatusWord_HO" ) ;
312 sprintf (histo,
"HcalRecHitTask_RecHit_Aux_StatusWord_HB" ) ;
315 sprintf (histo,
"HcalRecHitTask_RecHit_Aux_StatusWord_HE" ) ;
318 sprintf (histo,
"HcalRecHitTask_RecHit_Aux_StatusWord_HF" ) ;
321 sprintf (histo,
"HcalRecHitTask_RecHit_Aux_StatusWord_HO" ) ;
329 if(subdet_ != 0 &&
imc != 0) {
330 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_all_depths");
333 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_all_depths_E");
336 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_all_depths_EH");
341 if(subdet_ != 0 &&
imc != 0) {
345 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_depth1");
348 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_depth2");
351 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_depth3");
354 sprintf (histo,
"HcalRecHitTask_En_rechits_cone_profile_vs_ieta_depth4");
359 if(
etype_ == 1 && subdet_ != 0) {
361 sprintf (histo,
"Delta_phi_cluster-MC");
364 sprintf (histo,
"Delta_eta_cluster-MC");
372 sprintf (histo,
"e_hb" ) ;
374 sprintf (histo,
"e_he" ) ;
376 sprintf (histo,
"e_ho" ) ;
378 sprintf (histo,
"e_hfl" ) ;
380 sprintf (histo,
"e_hfs" ) ;
385 if (subdet_ == 1 || subdet_ == 5 ){
389 if(
etype_ == 1 && subdet_ == 1 ) {
391 sprintf (histo,
"HcalRecHitTask_number_of_rechits_in_cone_HB" ) ;
394 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_in_cone_HB" ) ;
398 sprintf (histo,
"HcalRecHitTask_number_of_rechits_above_1GeV_HB");
401 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_HB" ) ;
404 if (ecalselector_ ==
"yes") {
406 sprintf (histo,
"HcalRecHitTask_number_of_ecalrechits_in_cone_HB");
408 sprintf (histo,
"HcalRecHitTask_energy_ecal_plus_hcal_in_cone_HB");
412 sprintf (histo,
"HcalRecHitTask_energy_hcal_vs_ecal_HB");
414 sprintf (histo,
"HcalRecHitTask_energy_ecal_plus_hcal_HB" ) ;
420 sprintf(histo,
"HcalRecHitTask_severityLevel_HB");
423 sprintf (histo,
"HcalRecHitTask_energy_of_rechits_HB" ) ;
426 sprintf (histo,
"HcalRecHitTask_timing_HB" ) ;
430 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_Low_HB" ) ;
433 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_HB" ) ;
436 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_High_HB" ) ;
439 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_Low_HB" ) ;
442 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_HB" ) ;
445 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_High_HB" ) ;
451 if ( subdet_ == 2 || subdet_ == 5 ){
455 if(
etype_ == 1 && subdet_ == 2 ) {
458 sprintf (histo,
"HcalRecHitTask_number_of_rechits_in_cone_HE" ) ;
461 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_in_cone_HE" ) ;
465 sprintf (histo,
"HcalRecHitTask_number_of_rechits_above_1GeV_HE");
468 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_HE" ) ;
471 if (ecalselector_ ==
"yes") {
472 sprintf (histo,
"HcalRecHitTask_energy_ecal_plus_hcal_HE" ) ;
475 sprintf (histo,
"HcalRecHitTask_energy_hcal_vs_ecal_HE");
478 sprintf (histo,
"HcalRecHitTask_number_of_ecalrechits_in_cone_HE");
480 sprintf (histo,
"HcalRecHitTask_energy_ecal_plus_hcal_in_cone_HE");
488 sprintf(histo,
"HcalRecHitTask_severityLevel_HE");
491 sprintf (histo,
"HcalRecHitTask_energy_of_rechits_HE" ) ;
494 sprintf (histo,
"HcalRecHitTask_timing_HE" ) ;
497 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_Low_HE" ) ;
500 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_HE" ) ;
503 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_Low_HE" ) ;
506 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_HE" ) ;
512 if ( subdet_ == 3 || subdet_ == 5 ){
516 if(
etype_ == 1 && subdet_ == 3) {
518 sprintf (histo,
"HcalRecHitTask_number_of_rechits_in_cone_HO" ) ;
521 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_in_cone_HO" ) ;
525 sprintf (histo,
"HcalRecHitTask_number_of_rechits_above_1GeV_HO");
528 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_HO" ) ;
533 sprintf(histo,
"HcalRecHitTask_severityLevel_HO");
536 sprintf (histo,
"HcalRecHitTask_energy_of_rechits_HO" ) ;
539 sprintf (histo,
"HcalRecHitTask_timing_HO" ) ;
542 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_HO" ) ;
545 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_High_HO" ) ;
548 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_HO" ) ;
551 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_High_HO" ) ;
557 if ( subdet_ == 4 || subdet_ == 5 ){
561 if(
etype_ == 1 && subdet_ == 4) {
564 sprintf (histo,
"HcalRecHitTask_number_of_rechits_in_cone_HF" ) ;
567 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_in_cone_HF" ) ;
570 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_in_cone_HFL" );
573 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_in_cone_HFS");
576 sprintf (histo,
"HcalRecHitTask_sum_of_rechits_energy_HF" ) ;
581 sprintf(histo,
"HcalRecHitTask_severityLevel_HF");
584 sprintf (histo,
"HcalRecHitTask_energy_of_rechits_HF" ) ;
587 sprintf (histo,
"HcalRecHitTask_timing_HF" ) ;
590 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_Low_HF" ) ;
593 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_HF" ) ;
596 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_Low_HF" ) ;
599 sprintf (histo,
"HcalRecHitTask_timing_vs_energy_profile_HF" ) ;
624 double eHcalCone = 0.;
625 double eHcalConeHB = 0.;
626 double eHcalConeHE = 0.;
627 double eHcalConeHO = 0.;
628 double eHcalConeHF = 0.;
629 double eHcalConeHFL = 0.;
630 double eHcalConeHFS = 0.;
633 int nrechitsCone = 0;
634 int nrechitsThresh = 0;
640 double eEcalCone = 0.;
641 int numrechitsEcal = 0;
656 double etaHot = 99999.;
657 double phiHot = 99999.;
717 for (; RecHit != RecHitEnd ; ++RecHit) {
721 geometry->getSubdetectorGeometry (EBid)->getGeometry (EBid) ;
722 double eta = cellGeometry->getPosition ().eta () ;
723 double phi = cellGeometry->getPosition ().phi () ;
724 double en = RecHit->energy();
737 RecHit = rhitEE.
product()->begin();
738 RecHitEnd = rhitEE.
product()->end();
740 for (; RecHit != RecHitEnd ; ++RecHit) {
744 geometry->getSubdetectorGeometry (EEid)->getGeometry (EEid) ;
745 double eta = cellGeometry->getPosition ().eta () ;
746 double phi = cellGeometry->getPosition ().phi () ;
747 double en = RecHit->energy();
773 for (
unsigned int i = 0;
i <
cen.size();
i++) {
786 int index = ieta * 72 + iphi;
795 if( sub == 1 && depth == 1) nhb1++;
796 if( sub == 1 && depth == 2) nhb2++;
797 if( sub == 2 && depth == 1) nhe1++;
798 if( sub == 2 && depth == 2) nhe2++;
799 if( sub == 2 && depth == 3) nhe3++;
800 if( sub == 3 && depth == 4) nho++;
801 if( sub == 4 && depth == 1) nhf1++;
802 if( sub == 4 && depth == 2) nhf2++;
805 if( en <
emap_min[ieta+41][iphi][depth-1][sub-1] )
806 emap_min[ieta+41][iphi][depth-1][sub-1] = en;
826 if( depth == 1 || depth == 2 ) {
829 if (ieta1 < 0) ieta1--;
839 if (depth == 1 && sub == 1 ) {
846 if (depth == 2 && sub == 1) {
853 if (depth == 1 && sub == 2) {
860 if (depth == 2 && sub == 2) {
867 if (depth == 3 && sub == 2) {
881 if (depth == 1 && sub == 4) {
888 if (depth == 2 && sub == 4) {
907 unsigned int isw67 = 0;
908 for (
unsigned int isw = 0; isw < 32; isw++){
909 statadd = 0x1<<(isw);
916 if (isw == 6) isw67 += 1;
917 if (isw == 7) isw67 += 2;
923 for (
unsigned int isw =0; isw < 32; isw++){
924 statadd = 0x1<<(isw);
925 if( auxstwd & statadd ){
949 Nhb->
Fill(
double(nhb1 + nhb2));
950 Nhe->
Fill(
double(nhe1 + nhe2 + nhe3));
952 Nhf->
Fill(
double(nhf1 + nhf2));
962 for (
unsigned int i = 0;
i <
cen.size();
i++) {
989 double clusEta = 999.;
990 double clusPhi = 999.;
993 double HcalCone_d1 = 0.;
994 double HcalCone_d2 = 0.;
995 double HcalCone_d3 = 0.;
996 double HcalCone_d4 = 0.;
997 double HcalCone = 0.;
1000 int ietaMax2 = 9999;
1001 int ietaMax3 = 9999;
1002 int ietaMax4 = 9999;
1013 for (
unsigned int i = 0;
i <
cen.size();
i++) {
1022 double rhot =
dR(etaHot, phiHot, eta, phi);
1023 if(rhot < partR && en > 1.) {
1024 clusEta = (clusEta * clusEn + eta * en)/(clusEn + en);
1025 clusPhi =
phi12(clusPhi, clusEn, phi, en);
1031 if(en > 1. ) nrechitsThresh++;
1145 if(eHcalConeHF > eps ) {
1212 using namespace edm;
1232 if( subdet_ == 1 || subdet_ == 2 || subdet_ == 5 || subdet_ == 6 || subdet_ == 0) {
1241 geometry->getSubdetectorGeometry (cell)->getGeometry (cell) ;
1242 double eta = cellGeometry->getPosition().eta () ;
1243 double phi = cellGeometry->getPosition().phi () ;
1244 double zc = cellGeometry->getPosition().z ();
1245 int sub = cell.subdet();
1246 int depth = cell.depth();
1247 int inteta = cell.ieta();
1248 if(inteta > 0) inteta -= 1;
1249 int intphi = cell.iphi()-1;
1250 double en =
j->energy();
1251 double t =
j->time();
1252 int stwd =
j->flags();
1253 int auxstwd =
j->aux();
1262 if((
iz > 0 && eta > 0.) || (
iz < 0 && eta <0.) ||
iz == 0) {
1264 csub.push_back(sub);
1266 ceta.push_back(eta);
1267 cphi.push_back(phi);
1269 cieta.push_back(inteta);
1270 ciphi.push_back(intphi);
1273 cstwd.push_back(stwd);
1280 if( subdet_ == 4 || subdet_ == 5 || subdet_ == 6 || subdet_ == 0) {
1289 geometry->getSubdetectorGeometry (cell)->getGeometry (cell) ;
1290 double eta = cellGeometry->getPosition().eta () ;
1291 double phi = cellGeometry->getPosition().phi () ;
1292 double zc = cellGeometry->getPosition().z ();
1293 int sub = cell.subdet();
1294 int depth = cell.depth();
1295 int inteta = cell.ieta();
1296 if(inteta > 0) inteta -= 1;
1297 int intphi = cell.iphi()-1;
1298 double en =
j->energy();
1299 double t =
j->time();
1300 int stwd =
j->flags();
1301 int auxstwd =
j->aux();
1308 if((
iz > 0 && eta > 0.) || (
iz < 0 && eta <0.) ||
iz == 0) {
1310 csub.push_back(sub);
1312 ceta.push_back(eta);
1313 cphi.push_back(phi);
1315 cieta.push_back(inteta);
1316 ciphi.push_back(intphi);
1319 cstwd.push_back(stwd);
1326 if( subdet_ == 3 || subdet_ == 5 || subdet_ == 6 || subdet_ == 0) {
1334 geometry->getSubdetectorGeometry (cell)->getGeometry (cell) ;
1335 double eta = cellGeometry->getPosition().eta () ;
1336 double phi = cellGeometry->getPosition().phi () ;
1337 double zc = cellGeometry->getPosition().z ();
1338 int sub = cell.subdet();
1339 int depth = cell.depth();
1340 int inteta = cell.ieta();
1341 if(inteta > 0) inteta -= 1;
1342 int intphi = cell.iphi()-1;
1343 double t =
j->time();
1344 double en =
j->energy();
1345 int stwd =
j->flags();
1346 int auxstwd =
j->aux();
1353 if((
iz > 0 && eta > 0.) || (
iz < 0 && eta <0.) ||
iz == 0) {
1354 csub.push_back(sub);
1356 ceta.push_back(eta);
1357 cphi.push_back(phi);
1359 cieta.push_back(inteta);
1360 ciphi.push_back(intphi);
1363 cstwd.push_back(stwd);
1371 double PI = 3.1415926535898;
1372 double deltaphi= phi1 - phi2;
1373 if( phi2 > phi1 ) { deltaphi= phi2 - phi1;}
1374 if(deltaphi > PI) { deltaphi = 2.*PI - deltaphi;}
1375 double deltaeta = eta2 - eta1;
1376 double tmp =
sqrt(deltaeta* deltaeta + deltaphi*deltaphi);
1384 double PI = 3.1415926535898;
1385 double a1 = phi1;
double a2 = phi2;
1387 if( a1 > 0.5*PI && a2 < 0.) a2 += 2*
PI;
1388 if( a2 > 0.5*PI && a1 < 0.) a1 += 2*
PI;
1389 tmp = (a1 * en1 + a2 * en2)/(en1 + en2);
1390 if(tmp > PI) tmp -= 2.*
PI;
1400 double PI = 3.1415926535898;
1401 double a1 = phi1;
double a2 = phi2;
1402 double tmp = a2 - a1;
1404 if(a1 > 0.5 * PI) tmp += 2.*
PI;
1405 if(a2 > 0.5 * PI) tmp -= 2.*
PI;
1415 const uint32_t recHitFlag = hit->
flags();
1420 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.
MonitorElement * RecHit_Aux_StatusWord_HO
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 * 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
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
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
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
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 * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
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