22 #ifdef WITH_ECAL_COND_DB
269 name =
"EEIT EE - integrity quality summary";
275 name =
"EEIT EE + integrity quality summary";
281 name =
"EEIT integrity quality errors summary";
283 for (
int i = 0;
i < 18;
i++) {
288 name =
"EEIT PN integrity quality summary";
294 name =
"EEOT EE - digi occupancy summary";
300 name =
"EEOT EE + digi occupancy summary";
306 name =
"EEIT digi occupancy summary 1D";
308 for (
int i = 0;
i < 18;
i++) {
313 name =
"EEOT PN digi occupancy summary";
319 name =
"EESFT EE - front-end status summary";
325 name =
"EESFT EE + front-end status summary";
331 name =
"EESFT front-end status errors summary";
333 for (
int i = 0;
i < 18;
i++) {
338 name =
"EEPOT EE - pedestal quality summary G12";
344 name =
"EEPOT EE + pedestal quality summary G12";
350 name =
"EEPOT EE - pedestal G12 RMS map";
356 name =
"EEPOT EE + pedestal G12 RMS map";
362 name =
"EEPOT pedestal G12 mean";
364 for (
int i = 0;
i < 18;
i++) {
369 name =
"EEPOT pedestal G12 rms";
371 for (
int i = 0;
i < 18;
i++) {
376 name =
"EEPOT pedestal quality errors summary G12";
378 for (
int i = 0;
i < 18;
i++) {
385 name =
"EELT EE - laser quality summary L1";
391 name =
"EELT EE + laser quality summary L1";
397 name =
"EELT laser quality errors summary L1";
399 for (
int i = 0;
i < 18;
i++) {
404 name =
"EELT PN laser quality summary L1";
410 name =
"EELT PN laser quality errors summary L1";
412 for (
int i = 0;
i < 18;
i++) {
417 name =
"EELT laser L1 amplitude summary";
419 for (
int i = 0;
i < 18;
i++) {
424 name =
"EELT laser L1 timing summary";
426 for (
int i = 0;
i < 18;
i++) {
431 name =
"EELT laser L1 amplitude over PN summary";
433 for (
int i = 0;
i < 18;
i++) {
442 name =
"EELT EE - laser quality summary L2";
448 name =
"EELT EE + laser quality summary L2";
454 name =
"EELT laser quality errors summary L2";
456 for (
int i = 0;
i < 18;
i++) {
461 name =
"EELT PN laser quality summary L2";
467 name =
"EELT PN laser quality errors summary L2";
469 for (
int i = 0;
i < 18;
i++) {
474 name =
"EELT laser L2 amplitude summary";
476 for (
int i = 0;
i < 18;
i++) {
481 name =
"EELT laser L2 timing summary";
483 for (
int i = 0;
i < 18;
i++) {
488 name =
"EELT laser L2 amplitude over PN summary";
490 for (
int i = 0;
i < 18;
i++) {
499 name =
"EELT EE - laser quality summary L3";
505 name =
"EELT EE + laser quality summary L3";
511 name =
"EELT laser quality errors summary L3";
513 for (
int i = 0;
i < 18;
i++) {
518 name =
"EELT PN laser quality summary L3";
524 name =
"EELT PN laser quality errors summary L3";
526 for (
int i = 0;
i < 18;
i++) {
531 name =
"EELT laser L3 amplitude summary";
533 for (
int i = 0;
i < 18;
i++) {
538 name =
"EELT laser L3 timing summary";
540 for (
int i = 0;
i < 18;
i++) {
545 name =
"EELT laser L3 amplitude over PN summary";
547 for (
int i = 0;
i < 18;
i++) {
556 name =
"EELT EE - laser quality summary L4";
562 name =
"EELT EE + laser quality summary L4";
568 name =
"EELT laser quality errors summary L4";
570 for (
int i = 0;
i < 18;
i++) {
575 name =
"EELT PN laser quality summary L4";
581 name =
"EELT PN laser quality errors summary L4";
583 for (
int i = 0;
i < 18;
i++) {
588 name =
"EELT laser L4 amplitude summary";
590 for (
int i = 0;
i < 18;
i++) {
595 name =
"EELT laser L4 timing summary";
597 for (
int i = 0;
i < 18;
i++) {
602 name =
"EELT laser L4 amplitude over PN summary";
604 for (
int i = 0;
i < 18;
i++) {
613 name =
"EELDT EE - led quality summary L1";
619 name =
"EELDT EE + led quality summary L1";
625 name =
"EELDT led quality errors summary L1";
627 for (
int i = 0;
i < 18;
i++) {
632 name =
"EELDT PN led quality summary L1";
638 name =
"EELDT PN led quality errors summary L1";
640 for (
int i = 0;
i < 18;
i++) {
645 name =
"EELDT led L1 amplitude summary";
647 for (
int i = 0;
i < 18;
i++) {
652 name =
"EELDT led L1 timing summary";
654 for (
int i = 0;
i < 18;
i++) {
659 name =
"EELDT led L1 amplitude over PN summary";
661 for (
int i = 0;
i < 18;
i++) {
670 name =
"EELDT EE - led quality summary L2";
676 name =
"EELDT EE + led quality summary L2";
682 name =
"EELDT led quality errors summary L2";
684 for (
int i = 0;
i < 18;
i++) {
689 name =
"EELDT PN led quality summary L2";
695 name =
"EELDT PN led quality errors summary L2";
697 for (
int i = 0;
i < 18;
i++) {
702 name =
"EELDT led L2 amplitude summary";
704 for (
int i = 0;
i < 18;
i++) {
709 name =
"EELDT led L2 timing summary";
711 for (
int i = 0;
i < 18;
i++) {
716 name =
"EELDT led L2 amplitude over PN summary";
718 for (
int i = 0;
i < 18;
i++) {
727 name =
"EEPT EE - pedestal quality G01 summary";
737 name =
"EEPT EE - pedestal quality G06 summary";
747 name =
"EEPT EE - pedestal quality G12 summary";
758 name =
"EEPT PN pedestal quality G01 summary";
768 name =
"EEPT PN pedestal quality G16 summary";
778 name =
"EEPT EE + pedestal quality G01 summary";
789 name =
"EEPT EE + pedestal quality G06 summary";
799 name =
"EEPT EE + pedestal quality G12 summary";
809 name =
"EETPT EE - test pulse quality G01 summary";
819 name =
"EETPT EE - test pulse quality G06 summary";
829 name =
"EETPT EE - test pulse quality G12 summary";
840 name =
"EETPT PN test pulse quality G01 summary";
850 name =
"EETPT PN test pulse quality G16 summary";
860 name =
"EETPT EE + test pulse quality G01 summary";
870 name =
"EETPT EE + test pulse quality G06 summary";
880 name =
"EETPT EE + test pulse quality G12 summary";
890 name =
"EETPT test pulse amplitude G01 summary";
892 for (
int i = 0;
i < 18;
i++) {
901 name =
"EETPT test pulse amplitude G06 summary";
903 for (
int i = 0;
i < 18;
i++) {
912 name =
"EETPT test pulse amplitude G12 summary";
914 for (
int i = 0;
i < 18;
i++) {
921 name =
"EEOT EE - energy summary";
927 name =
"EEOT EE + energy summary";
933 name =
"EETMT EE - timing quality summary";
939 name =
"EETMT EE + timing quality summary";
945 name =
"EETMT EE - timing mean 1D summary";
950 name =
"EETMT EE + timing mean 1D summary";
955 name =
"EETMT EE - timing rms 1D summary";
960 name =
"EETMT EE + timing rms 1D summary";
965 name =
"EETMT timing mean";
967 for (
int i = 0;
i < 18;
i++) {
973 name =
"EETMT timing rms";
975 for (
int i = 0;
i < 18;
i++) {
981 name =
"EETTT EE - Et trigger tower summary";
987 name =
"EETTT EE + Et trigger tower summary";
993 name =
"EETTT EE - emulator error quality summary";
999 name =
"EETTT EE + emulator error quality summary";
1005 name =
"EETTT EE - Trigger Primitives Timing summary";
1012 name =
"EETTT EE + Trigger Primitives Timing summary";
1019 name =
"EETTT EE - Trigger Primitives Non Single Timing summary";
1026 name =
"EETTT EE + Trigger Primitives Non Single Timing summary";
1033 name =
"EE global summary EE -";
1039 name =
"EE global summary EE +";
1377 #ifdef WITH_ECAL_COND_DB
1391 if (
ievt_ % 10 == 0 ) {
1397 for (
int ix = 1; ix <= 100; ix++ ) {
1398 for (
int iy = 1; iy <= 100; iy++ ) {
1445 for (
int ix = 1; ix <= 45; ix++ ) {
1446 for (
int iy = 1; iy <= 20; iy++ ) {
1464 for (
int ix = 1; ix <= 100; ix++ ) {
1465 for (
int iy = 1; iy <= 100; iy++ ) {
1477 for (
int ix = 1; ix <= 20; ix++ ) {
1478 for (
int iy = 1; iy <= 20; iy++ ) {
1590 for (
unsigned int i=0;
i<
clients_.size();
i++ ) {
1633 for (
int ix = 1; ix <= 50; ix++ ) {
1634 for (
int iy = 1; iy <= 50; iy++ ) {
1639 if ( ism >= 1 && ism <= 9 ) {
1647 me = eeic->
meg01_[ism-1];
1653 if ( ism >= 1 && ism <= 9 ) {
1663 h2 = eeic->
h_[ism-1];
1667 float xval = h2->GetBinContent( ix, iy );
1669 if ( ism >= 1 && ism <= 9 ) {
1683 me = eepoc->
meg03_[ism-1];
1689 if ( ism >= 1 && ism <= 9 ) {
1699 float num01, mean01, rms01;
1707 if ( ism >= 1 && ism <= 9 ) {
1721 me = eelc->
meg01_[ism-1];
1728 if ( ism >= 1 && ism <= 9 ) {
1743 me = eelc->
meg02_[ism-1];
1750 if ( ism >= 1 && ism <= 9 ) {
1765 me = eelc->
meg03_[ism-1];
1772 if ( ism >= 1 && ism <= 9 ) {
1787 me = eelc->
meg04_[ism-1];
1794 if ( ism >= 1 && ism <= 9 ) {
1813 me = eeldc->
meg01_[ism-1];
1820 if ( ism >= 1 && ism <= 9 ) {
1835 me = eeldc->
meg02_[ism-1];
1842 if ( ism >= 1 && ism <= 9 ) {
1859 me_01 = eepc->
meg01_[ism-1];
1860 me_02 = eepc->
meg02_[ism-1];
1861 me_03 = eepc->
meg03_[ism-1];
1866 if ( ism >= 1 && ism <= 9 ) {
1876 if ( ism >= 1 && ism <= 9 ) {
1886 if ( ism >= 1 && ism <= 9 ) {
1898 me_01 = eetpc->
meg01_[ism-1];
1899 me_02 = eetpc->
meg02_[ism-1];
1900 me_03 = eetpc->
meg03_[ism-1];
1905 if ( ism >= 1 && ism <= 9 ) {
1915 if ( ism >= 1 && ism <= 9 ) {
1925 if ( ism >= 1 && ism <= 9 ) {
1937 float xval =
hot01_[ism-1]->GetBinContent( ix, iy );
1939 if ( ism >= 1 && ism <= 9 ) {
1950 for (
int ix = 1; ix <= 50; ix++ ) {
1951 for (
int iy = 1; iy <= 50; iy++ ) {
1956 if ( ism >= 1 && ism <= 9 ) {
1975 me = eesfc->
meh01_[ism-1];
1981 if ( ism >= 1 && ism <= 9 ) {
2006 for (
int ix = 1; ix <= 50; ix++ ) {
2007 for (
int iy = 1; iy <= 50; iy++ ) {
2015 bool hadNonZeroInterest =
false;
2019 mean01 =
httt01_[ism-1]->GetBinContent( ix, iy );
2021 if ( mean01 != 0. ) {
2022 if ( ism >= 1 && ism <= 9 ) {
2038 if ( ism >= 1 && ism <= 9 ) {
2043 hadNonZeroInterest =
true;
2055 if ( ism >= 1 && ism <= 9 ) {
2067 h2 = eetttc->
l01_[ism-1];
2068 h3 = eetttc->
l02_[ism-1];
2073 float emulErrorVal = h2->GetBinContent( ix, iy );
2075 if( emulErrorVal!=0 && hadNonZeroInterest ) xval = 0;
2079 if ( xval!=0 && hadNonZeroInterest ) xval = 1;
2084 if ( xval == 2 )
continue;
2086 if ( ism >= 1 && ism <= 9 ) {
2096 float num01, mean01, rms01;
2102 if ( ism >= 1 && ism <= 9 ) {
2121 for (
int ix = 1; ix <= 10; ix++ ) {
2122 for(
int iy = 1; iy <= 10; iy++ ) {
2127 if( jx <= 0 || jx >= 21 || jy <= 0 || jy >= 21 )
continue;
2129 if ( ism >= 1 && ism <= 9 ) {
2139 int ixedge = (ix-1) * 5;
2140 int iyedge = (iy-1) * 5;
2141 int jxedge = (jx-1) * 5;
2142 int jyedge = (jy-1) * 5;
2145 float ent,
cont, err;
2146 float num, sum, sumw2;
2147 num = sum = sumw2 = 0.;
2149 for(
int cx=1; cx<=5; cx++){
2150 for(
int cy=1; cy<=5; cy++){
2151 int scjx = jxedge + cx;
2152 int scjy = jyedge + cy;
2153 int scix = ixedge + cx;
2154 int sciy = iyedge + cy;
2156 if ( ism >= 1 && ism <= 9 ) {
2163 int bin =
htmt01_[ism-1]->GetBin(scix, sciy);
2166 ent =
htmt01_[ism-1]->GetBinEntries( bin );
2167 cont =
htmt01_[ism-1]->GetBinContent( bin ) - 50.;
2168 err =
htmt01_[ism-1]->GetBinError( bin );
2172 sumw2 += (err * err + cont *
cont) * ent;
2179 if( num > (10. * nvalid / 25.) ){
2184 if(
std::abs(mean) > 3. || rms > 4. ) xval = 0.;
2190 if ( ism >= 1 && ism <= 9 ){
2207 for(
int i = 1;
i <= 10;
i++ ) {
2208 for(
int j = 1;
j <= 5;
j++ ) {
2215 ipseudostripx = (ism<=3) ?
j+5*(ism-1+6) :
j+5*(ism-1-3);
2218 ipseudostripx = (ism<=12) ?
j+5*(ism-10+6) :
j+5*(ism-10-3);
2223 me_04 = eeic->
meg02_[ism-1];
2224 h2 = eeic->
hmem_[ism-1];
2236 float xval = h2->GetBinContent(
i,1);
2245 me_04 = eepc->
meg04_[ism-1];
2246 me_05 = eepc->
meg05_[ism-1];
2261 me_04 = eetpc->
meg04_[ism-1];
2262 me_05 = eetpc->
meg05_[ism-1];
2279 me = eelc->
meg09_[ism-1];
2296 me = eelc->
meg10_[ism-1];
2313 me = eelc->
meg11_[ism-1];
2330 me = eelc->
meg12_[ism-1];
2351 me = eeldc->
meg09_[ism-1];
2368 me = eeldc->
meg10_[ism-1];
2388 for (
int ix=1; ix<=50; ix++ ) {
2389 for (
int iy=1; iy<=50; iy++ ) {
2395 if ( ism >= 1 && ism <= 9 ) {
2413 if( xval != 2 && xval != 5 ) {
2419 if( mea01 && met01 && meaopn01 ) {
2437 if( xval != 2 && xval != 5 ) {
2443 if( mea02 && met02 && meaopn02 ) {
2461 if( xval != 2 && xval != 5 ) {
2467 if( mea03 && met03 && meaopn03 ) {
2485 if( xval != 2 && xval != 5 ) {
2491 if( mea04 && met04 && meaopn04 ) {
2513 if( xval != 2 && xval != 5 ) {
2519 if( mea01 && met01 && meaopn01 ) {
2537 if( xval != 2 && xval != 5 ) {
2543 if( mea02 && met02 && meaopn02 ) {
2565 if ( xval01 != 2 && xval01 != 5 ) {
2567 me = eetpc->
mea01_[ism-1];
2583 if ( xval02 != 2 && xval02 != 5 ) {
2585 me = eetpc->
mea02_[ism-1];
2601 if ( xval03 != 2 && xval03 != 5 ) {
2603 me = eetpc->
mea03_[ism-1];
2630 for (
int ix = 1; ix <= 50; ix++ ) {
2631 for (
int iy = 1; iy <= 50; iy++ ) {
2638 if ( ism >= 1 && ism <= 9 ) {
2658 int nGlobalErrors = 0;
2659 int nGlobalErrorsEE[18];
2660 int nValidChannels = 0;
2661 int nValidChannelsEE[18];
2663 for (
int i = 0;
i < 18;
i++) {
2664 nGlobalErrorsEE[
i] = 0;
2665 nValidChannelsEE[
i] = 0;
2668 for (
int jx = 1; jx <= 100; jx++ ) {
2669 for (
int jy = 1; jy <= 100; jy++ ) {
2683 float val_ls_1=2, val_ls_2=2, val_ls_3=2, val_ls_4=2;
2686 if(val_ls_1==2 || val_ls_1==3 || val_ls_1==4 || val_ls_1==5) val_ls_1=1;
2690 if(val_ls_2==2 || val_ls_2==3 || val_ls_2==4 || val_ls_2==5) val_ls_2=1;
2694 if(val_ls_3==2 || val_ls_3==3 || val_ls_3==4 || val_ls_3==5) val_ls_3=1;
2698 if(val_ls_4==2 || val_ls_4==3 || val_ls_4==4 || val_ls_4==5) val_ls_4=1;
2702 if (val_ls_1 == 0 || val_ls_2==0 || val_ls_3==0 || val_ls_4==0) val_ls=0;
2706 float val_ld_1=2, val_ld_2=2;
2709 if(val_ld_1==2 || val_ld_1==3 || val_ld_1==4 || val_ld_1==5) val_ld_1=1;
2713 if(val_ld_2==2 || val_ld_2==3 || val_ld_2==4 || val_ld_2==5) val_ld_2=1;
2717 if (val_ld_1 == 0 || val_ld_2==0) val_ld=0;
2732 if( val_in==3 || val_in==4 || val_in==5) val_in=1;
2733 if(val_po==2 || val_po==3 || val_po==4 || val_po==5) val_po=1;
2734 if(val_ls==2 || val_ls==3 || val_ls==4 || val_ls==5) val_ls=1;
2735 if(val_ld==2 || val_ld==3 || val_ld==4 || val_ld==5) val_ld=1;
2736 if(val_tm==2 || val_tm==3 || val_tm==4 || val_tm==5) val_tm=1;
2737 if( val_sf==3 || val_sf==4 || val_sf==5) val_sf=1;
2738 if(val_ee==2 || val_ee==3 || val_ee==4 || val_ee==5) val_ee=1;
2740 if(val_in==6) xval=6;
2741 else if(val_in==0) xval=0;
2742 else if(val_po==0 || val_ls==0 || val_ld==0 || val_tm==0 || val_sf==0 || val_ee==0) xval=0;
2743 else if(val_po==2 || val_ls==2 || val_ld==2 || val_tm==2 || val_sf==2 || val_ee==2) xval=2;
2746 bool validCry =
false;
2760 float frac_synch_errors = 0.;
2762 if(norm > 0) frac_synch_errors = float(
synch01_->GetBinContent(
ism))/
float(norm);
2764 if(val_sy==0) xval=0;
2767 for (
unsigned int i=0;
i<
clients_.size();
i++ ) {
2770 TH2F* h2 = eeic->
h_[
ism-1];
2772 iEntries = h2->GetEntries();
2780 if ( validCry && iEntries==0 ) {
2786 if ( xval >= 0 && xval <= 5 ) {
2787 if ( xval != 2 && xval != 5 ) ++nValidChannels;
2788 for (
int i = 1;
i <= 9;
i++) {
2789 if ( xval != 2 && xval != 5 ) {
2793 if ( xval == 0 ) ++nGlobalErrors;
2794 for (
int i = 1;
i <= 9;
i++) {
2815 float val_ls_1=2, val_ls_2=2, val_ls_3=2, val_ls_4=2;
2818 if(val_ls_1==2 || val_ls_1==3 || val_ls_1==4 || val_ls_1==5) val_ls_1=1;
2822 if(val_ls_2==2 || val_ls_2==3 || val_ls_2==4 || val_ls_2==5) val_ls_2=1;
2826 if(val_ls_3==2 || val_ls_3==3 || val_ls_3==4 || val_ls_3==5) val_ls_3=1;
2830 if(val_ls_4==2 || val_ls_4==3 || val_ls_4==4 || val_ls_4==5) val_ls_4=1;
2834 if (val_ls_1 == 0 || val_ls_2==0 || val_ls_3==0 || val_ls_4==0) val_ls=0;
2838 float val_ld_1=2, val_ld_2=2;
2841 if(val_ld_1==2 || val_ld_1==3 || val_ld_1==4 || val_ld_1==5) val_ld_1=1;
2845 if(val_ld_2==2 || val_ld_2==3 || val_ld_2==4 || val_ld_2==5) val_ld_2=1;
2849 if (val_ld_1 == 0 || val_ld_2==0) val_ld=0;
2864 if( val_in==3 || val_in==4 || val_in==5) val_in=1;
2865 if(val_po==2 || val_po==3 || val_po==4 || val_po==5) val_po=1;
2866 if(val_ls==2 || val_ls==3 || val_ls==4 || val_ls==5) val_ls=1;
2867 if(val_ld==2 || val_ld==3 || val_ld==4 || val_ld==5) val_ld=1;
2868 if(val_tm==2 || val_tm==3 || val_tm==4 || val_tm==5) val_tm=1;
2869 if( val_sf==3 || val_sf==4 || val_sf==5) val_sf=1;
2870 if(val_ee==2 || val_ee==3 || val_ee==4 || val_ee==5) val_ee=1;
2872 if(val_in==6) xval=6;
2873 else if(val_in==0) xval=0;
2874 else if(val_po==0 || val_ls==0 || val_ld==0 || val_tm==0 || val_sf==0 || val_ee==0) xval=0;
2875 else if(val_po==2 || val_ls==2 || val_ld==2 || val_tm==2 || val_sf==2 || val_ee==2) xval=2;
2878 bool validCry =
false;
2892 float frac_synch_errors = 0.;
2894 if(norm > 0) frac_synch_errors = float(
synch01_->GetBinContent(
ism))/
float(norm);
2896 if(val_sy==0) xval=0;
2899 for (
unsigned int i=0;
i<
clients_.size();
i++ ) {
2902 TH2F* h2 = eeic->
h_[
ism-1];
2904 iEntries = h2->GetEntries();
2912 if ( validCry && iEntries==0 ) {
2918 if ( xval >= 0 && xval <= 5 ) {
2919 if ( xval != 2 && xval != 5 ) ++nValidChannels;
2920 for (
int i = 10;
i <= 18;
i++) {
2921 if ( xval != 2 && xval != 5 ) {
2925 if ( xval == 0 ) ++nGlobalErrors;
2926 for (
int i = 10;
i <= 18;
i++) {
2940 float reportSummary = -1.0;
2941 if ( nValidChannels != 0 )
2942 reportSummary = 1.0 - float(nGlobalErrors)/float(nValidChannels);
2944 if ( me ) me->
Fill(reportSummary);
2946 for (
int i = 0;
i < 18;
i++) {
2947 float reportSummaryEE = -1.0;
2948 if ( nValidChannelsEE[
i] != 0 )
2949 reportSummaryEE = 1.0 - float(nGlobalErrorsEE[
i])/float(nValidChannelsEE[i]);
2951 if ( me ) me->
Fill(reportSummaryEE);
2957 int nValidChannelsSC[2][20][20];
2958 int nGlobalErrorsSC[2][20][20];
2959 for (
int iside = 0; iside < 2; iside++ ) {
2960 for (
int jxdcc = 0; jxdcc < 20; jxdcc++ ) {
2961 for (
int jydcc = 0; jydcc < 20; jydcc++ ) {
2962 nValidChannelsSC[iside][jxdcc][jydcc] = 0;
2963 nGlobalErrorsSC[iside][jxdcc][jydcc] = 0;
2968 for (
int iside = 0; iside < 2; iside++ ) {
2969 for (
int ix = 1; ix <= 100; ix++ ) {
2970 for (
int iy = 1; iy <= 100; iy++ ) {
2972 int jxsc = (ix-1)/5;
2973 int jysc = (iy-1)/5;
2977 if ( xval >= 0 && xval <= 5 ) {
2978 if ( xval != 2 && xval != 5 ) ++nValidChannelsSC[iside][jxsc][jysc];
2979 if ( xval == 0 ) ++nGlobalErrorsSC[iside][jxsc][jysc];
2986 for (
int iside = 0; iside < 2; iside++ ) {
2987 for (
int jxsc = 0; jxsc < 20; jxsc++ ) {
2988 for (
int jysc = 0; jysc < 20; jysc++ ) {
2992 if( nValidChannelsSC[iside][jxsc][jysc] != 0 )
2993 scval = 1.0 - float(nGlobalErrorsSC[iside][jxsc][jysc])/float(nValidChannelsSC[iside][jxsc][jysc]);
void beginJob(void)
BeginJob.
T getUntrackedParameter(std::string const &, T const &) const
const std::string & getName(void) const
get name of ME
MonitorElement * meg09_[18]
MonitorElement * mea03_[18]
float synchErrorThreshold_
MonitorElement * met01_[18]
void setBinContent(int binx, double content)
set content of bin (1-D)
static bool maskChannel(int ism, int i1, int i2, uint32_t bits, const EcalSubdetector subdet)
MonitorElement * meLaserL4Ampl_
MonitorElement * meTestPulseG12_[2]
MonitorElement * meLaserL4Timing_
MonitorElement * meg04_[18]
void cleanup(void)
Cleanup.
static const int PHYSICS_BAD_CHANNEL_WARNING
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
MonitorElement * meLaserL3Err_
MonitorElement * meTimingRMS_
std::vector< int > MGPAGainsPN_
static int iy0EE(const int ism)
static T getHisto(const MonitorElement *me, bool clone=false, T ret=0)
Returns the histogram contained by the Monitor Element.
std::vector< int > superModules_
void analyze(void)
Analyze.
MonitorElement * meTestPulsePNG01_
MonitorElement * mePedestalOnlineErr_
MonitorElement * me_o01_[18]
Some "id" conversions.
MonitorElement * meTiming_[2]
MonitorElement * meg05_[18]
MonitorElement * meLaserL1Ampl_
MonitorElement * met02_[18]
MonitorElement * meLedL1AmplOverPN_
MonitorElement * mePedestalOnlineRMSMap_[2]
static std::string sEE(const int ism)
MonitorElement * meLedL1_[2]
MonitorElement * mePedestalPNG16_
MonitorElement * meLaserL3AmplOverPN_
MonitorElement * meLaserL3Timing_
MonitorElement * meTestPulseAmplG01_
MonitorElement * meTestPulseAmplG06_
MonitorElement * meg04_[18]
virtual ~EESummaryClient()
Destructor.
MonitorElement * mePedestalG01_[2]
MonitorElement * meLaserL4_[2]
MonitorElement * meTestPulseG01_[2]
MonitorElement * meLedL1Err_
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
MonitorElement * met02_[18]
MonitorElement * meLaserL4AmplOverPN_
MonitorElement * meg01_[18]
MonitorElement * meg10_[18]
MonitorElement * meg11_[18]
MonitorElement * meg03_[18]
MonitorElement * meLaserL3PNErr_
MonitorElement * meOccupancy_[2]
MonitorElement * meLaserL2AmplOverPN_
MonitorElement * met01_[18]
MonitorElement * mePedestalG12_[2]
MonitorElement * mea01_[18]
MonitorElement * meTriggerTowerEmulError_[2]
MonitorElement * meLaserL2_[2]
MonitorElement * met04_[18]
double getEntries(void) const
get # of entries
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
MonitorElement * meLedL2PN_
MonitorElement * meIntegrityPN_
MonitorElement * meg12_[18]
static void maskBinContent(const MonitorElement *me, const int ix, const int iy)
Mask the bin content.
static bool validEESc(const int ism, const int ix, const int iy)
MonitorElement * meg09_[18]
MonitorElement * meIntegrity_[2]
MonitorElement * meaopn02_[18]
MonitorElement * meh01_[18]
MonitorElement * meg01_[18]
MonitorElement * meg05_[18]
MonitorElement * meLaserL4PN_
MonitorElement * meRecHitEnergy_[2]
MonitorElement * meg02_[18]
MonitorElement * mea04_[18]
MonitorElement * meLaserL3_[2]
MonitorElement * meaopn01_[18]
MonitorElement * meTimingRMS1D_[2]
MonitorElement * mePedestalOnline_[2]
MonitorElement * meStatusFlags_[2]
MonitorElement * meg03_[18]
MonitorElement * meLaserL4Err_
MonitorElement * meaopn03_[18]
MonitorElement * meLedL2PNErr_
static int icEE(const int ism, const int ix, const int iy)
MonitorElement * meTriggerTowerTiming_[2]
MonitorElement * meLaserL1PNErr_
MonitorElement * meg04_[18]
void beginRun(void)
BeginRun.
void removeElement(const std::string &name)
MonitorElement * meLaserL1Timing_
MonitorElement * meLaserL3PN_
MonitorElement * meg03_[18]
MonitorElement * meaopn04_[18]
MonitorElement * meLedL1Ampl_
MonitorElement * mea02_[18]
MonitorElement * meLaserL1_[2]
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
std::string getName(Reflex::Type &cc)
MonitorElement * meTimingMean_
void setEntries(double nentries)
set # of entries
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
MonitorElement * meTriggerTowerNonSingleTiming_[2]
MonitorElement * meg02_[18]
MonitorElement * mea03_[18]
MonitorElement * meg03_[18]
MonitorElement * meaopn01_[18]
MonitorElement * meLedL2Timing_
MonitorElement * meLedL1PN_
MonitorElement * mea01_[18]
MonitorElement * meLaserL4PNErr_
std::vector< EEClient * > clients_
MonitorElement * me_o02_[18]
MonitorElement * meTimingMean1D_[2]
Ecal Monitor Utils for Client.
static bool getBinStatistics(TH1 *histo, const int ix, const int iy, float &num, float &mean, float &rms, float minEntries=1.)
Returns true if the bin contains good statistical data.
std::vector< int > laserWavelengths_
MonitorElement * mea02_[18]
MonitorElement * meg01_[18]
MonitorElement * meTestPulsePNG16_
MonitorElement * meLedL1Timing_
MonitorElement * mePedestalPNG01_
EESummaryClient(const edm::ParameterSet &ps)
Constructor.
double getBinError(int binx) const
get uncertainty on content of bin (1-D) - See TH1::GetBinError for details
MonitorElement * meg02_[18]
MonitorElement * meLedL1PNErr_
MonitorElement * meStatusFlagsErr_
MonitorElement * meTriggerTowerEt_[2]
MonitorElement * meg02_[18]
std::vector< int > MGPAGains_
MonitorElement * mePedestalG06_[2]
MonitorElement * meOccupancyPN_
MonitorElement * mea02_[18]
MonitorElement * meLedL2AmplOverPN_
MonitorElement * mePedestalOnlineRMS_
MonitorElement * meg10_[18]
MonitorElement * meLaserL2Timing_
MonitorElement * meLaserL2Err_
double getBinContent(int binx) const
get content of bin (1-D)
MonitorElement * meLaserL2Ampl_
static int ix0EE(const int ism)
MonitorElement * meLaserL1AmplOverPN_
MonitorElement * meLaserL2PN_
std::vector< int > ledWavelengths_
MonitorElement * meLedL2Err_
MonitorElement * meTestPulseG06_[2]
MonitorElement * meLaserL3Ampl_
MonitorElement * met03_[18]
MonitorElement * meg01_[18]
static bool validEE(const int ism, const int ix, const int iy)
MonitorElement * meLaserL1PN_
MonitorElement * meaopn02_[18]
MonitorElement * meLedL2Ampl_
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
MonitorElement * meGlobalSummary_[2]
MonitorElement * mePedestalOnlineMean_
int ism(int ieta, int iphi)
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
void Reset(void)
reset ME (ie. contents, errors, etc)
MonitorElement * meOccupancy1D_
MonitorElement * meg02_[18]
MonitorElement * meLedL2_[2]
void setCurrentFolder(const std::string &fullpath)
MonitorElement * meTestPulseAmplG12_
MonitorElement * meLaserL2PNErr_
MonitorElement * meLaserL1Err_
MonitorElement * meIntegrityErr_
MonitorElement * mea01_[18]
MonitorElement * meg01_[18]