20 #ifdef WITH_ECAL_COND_DB
74 std::cout <<
" Laser wavelengths:" << std::endl;
285 name =
"EBLT laser quality L1 PNs G01 " +
Numbers::sEB(ism);
292 name =
"EBLT laser quality L2 PNs G01 " +
Numbers::sEB(ism);
299 name =
"EBLT laser quality L3 PNs G01 " +
Numbers::sEB(ism);
306 name =
"EBLT laser quality L4 PNs G01 " +
Numbers::sEB(ism);
313 name =
"EBLT laser quality L1 PNs G16 " +
Numbers::sEB(ism);
320 name =
"EBLT laser quality L2 PNs G16 " +
Numbers::sEB(ism);
327 name =
"EBLT laser quality L3 PNs G16 " +
Numbers::sEB(ism);
334 name =
"EBLT laser quality L4 PNs G16 " +
Numbers::sEB(ism);
400 name =
"EBLT laser timing mean L1 " +
Numbers::sEB(ism);
406 name =
"EBLT laser timing mean L2 " +
Numbers::sEB(ism);
412 name =
"EBLT laser timing mean L3 " +
Numbers::sEB(ism);
418 name =
"EBLT laser timing mean L4 " +
Numbers::sEB(ism);
450 name =
"EBLT amplitude over PN L1 " +
Numbers::sEB(ism);
457 name =
"EBLT amplitude over PN L2 " +
Numbers::sEB(ism);
464 name =
"EBLT amplitude over PN L3 " +
Numbers::sEB(ism);
471 name =
"EBLT amplitude over PN L4 " +
Numbers::sEB(ism);
479 name =
"EBLT PNs pedestal rms " +
Numbers::sEB(ism) +
" G01 L1";
485 name =
"EBLT PNs pedestal rms " +
Numbers::sEB(ism) +
" G01 L2";
491 name =
"EBLT PNs pedestal rms " +
Numbers::sEB(ism) +
" G01 L3";
497 name =
"EBLT PNs pedestal rms " +
Numbers::sEB(ism) +
" G01 L4";
503 name =
"EBLT PNs pedestal rms " +
Numbers::sEB(ism) +
" G16 L1";
509 name =
"EBLT PNs pedestal rms " +
Numbers::sEB(ism) +
" G16 L2";
515 name =
"EBLT PNs pedestal rms " +
Numbers::sEB(ism) +
" G16 L3";
521 name =
"EBLT PNs pedestal rms " +
Numbers::sEB(ism) +
" G16 L4";
574 for (
int ie = 1; ie <= 85; ie++ ) {
575 for (
int ip = 1; ip <= 20; ip++ ) {
585 for (
int i = 1;
i <= 10;
i++ ) {
650 if (
h01_[ism-1] )
delete h01_[ism-1];
651 if (
h02_[ism-1] )
delete h02_[ism-1];
652 if (
h03_[ism-1] )
delete h03_[ism-1];
653 if (
h04_[ism-1] )
delete h04_[ism-1];
654 if (
h05_[ism-1] )
delete h05_[ism-1];
655 if (
h06_[ism-1] )
delete h06_[ism-1];
656 if (
h07_[ism-1] )
delete h07_[ism-1];
657 if (
h08_[ism-1] )
delete h08_[ism-1];
659 if (
h09_[ism-1] )
delete h09_[ism-1];
660 if (
h10_[ism-1] )
delete h10_[ism-1];
661 if (
h11_[ism-1] )
delete h11_[ism-1];
662 if (
h12_[ism-1] )
delete h12_[ism-1];
669 if (
i01_[ism-1] )
delete i01_[ism-1];
670 if (
i02_[ism-1] )
delete i02_[ism-1];
671 if (
i03_[ism-1] )
delete i03_[ism-1];
672 if (
i04_[ism-1] )
delete i04_[ism-1];
673 if (
i05_[ism-1] )
delete i05_[ism-1];
674 if (
i06_[ism-1] )
delete i06_[ism-1];
675 if (
i07_[ism-1] )
delete i07_[ism-1];
676 if (
i08_[ism-1] )
delete i08_[ism-1];
678 if (
i09_[ism-1] )
delete i09_[ism-1];
679 if (
i10_[ism-1] )
delete i10_[ism-1];
680 if (
i11_[ism-1] )
delete i11_[ism-1];
681 if (
i12_[ism-1] )
delete i12_[ism-1];
682 if (
i13_[ism-1] )
delete i13_[ism-1];
683 if (
i14_[ism-1] )
delete i14_[ism-1];
684 if (
i15_[ism-1] )
delete i15_[ism-1];
685 if (
i16_[ism-1] )
delete i16_[ism-1];
834 #ifdef WITH_ECAL_COND_DB
842 std::map<EcalLogicID, MonLaserBlueDat> dataset1_bl;
844 std::map<EcalLogicID, MonLaserGreenDat> dataset1_gr;
846 std::map<EcalLogicID, MonLaserIRedDat> dataset1_ir;
848 std::map<EcalLogicID, MonLaserRedDat> dataset1_rd;
871 for (
int ie = 1; ie <= 85; ie++ ) {
872 for (
int ip = 1; ip <= 20; ip++ ) {
883 float num01, num02, num03, num04, num05, num06, num07, num08;
884 float mean01, mean02, mean03, mean04, mean05, mean06, mean07, mean08;
885 float rms01, rms02, rms03, rms04, rms05, rms06, rms07, rms08;
896 if ( update01 || update02 ) {
902 std::cout <<
"L1 (" << ie <<
"," << ip <<
") " << num01 <<
" " << mean01 <<
" " << rms01 << std::endl;
926 dataset1_bl[ecid] = apd_bl;
931 if ( update03 || update04 ) {
937 std::cout <<
"L2 (" << ie <<
"," << ip <<
") " << num03 <<
" " << mean03 <<
" " << rms03 << std::endl;
961 dataset1_ir[ecid] = apd_ir;
966 if ( update05 || update06 ) {
972 std::cout <<
"L3 (" << ie <<
"," << ip <<
") " << num05 <<
" " << mean05 <<
" " << rms05 << std::endl;
996 dataset1_gr[ecid] = apd_gr;
1001 if ( update07 || update08 ) {
1007 std::cout <<
"L4 (" << ie <<
"," << ip <<
") " << num07 <<
" " << mean07 <<
" " << rms07 << std::endl;
1031 dataset1_rd[ecid] = apd_rd;
1049 }
catch (std::runtime_error &
e) {
1057 std::map<EcalLogicID, MonPNBlueDat> dataset2_bl;
1059 std::map<EcalLogicID, MonPNGreenDat> dataset2_gr;
1061 std::map<EcalLogicID, MonPNIRedDat> dataset2_ir;
1063 std::map<EcalLogicID, MonPNRedDat> dataset2_rd;
1106 for (
int i = 1;
i <= 10;
i++ ) {
1125 float num01, num02, num03, num04, num05, num06, num07, num08;
1126 float num09, num10, num11, num12, num13, num14, num15, num16;
1127 float mean01, mean02, mean03, mean04, mean05, mean06, mean07, mean08;
1128 float mean09, mean10, mean11, mean12, mean13, mean14, mean15, mean16;
1129 float rms01, rms02, rms03, rms04, rms05, rms06, rms07, rms08;
1130 float rms09, rms10, rms11, rms12, rms13, rms14, rms15, rms16;
1149 if ( update01 || update05 || update09 || update13 ) {
1155 std::cout <<
"PNs (" <<
i <<
") L1 G01 " << num01 <<
" " << mean01 <<
" " << rms01 << std::endl;
1156 std::cout <<
"PNs (" <<
i <<
") L1 G16 " << num09 <<
" " << mean09 <<
" " << rms09 << std::endl;
1186 dataset2_bl[ecid] = pn_bl;
1191 if ( update02 || update06 || update10 || update14 ) {
1197 std::cout <<
"PNs (" <<
i <<
") L2 G01 " << num02 <<
" " << mean02 <<
" " << rms02 << std::endl;
1198 std::cout <<
"PNs (" <<
i <<
") L2 G16 " << num10 <<
" " << mean10 <<
" " << rms10 << std::endl;
1228 dataset2_ir[ecid] = pn_ir;
1233 if ( update03 || update07 || update11 || update15 ) {
1239 std::cout <<
"PNs (" <<
i <<
") L3 G01 " << num03 <<
" " << mean03 <<
" " << rms03 << std::endl;
1240 std::cout <<
"PNs (" <<
i <<
") L3 G16 " << num11 <<
" " << mean11 <<
" " << rms11 << std::endl;
1270 dataset2_gr[ecid] = pn_gr;
1275 if ( update04 || update08 || update12 || update16 ) {
1281 std::cout <<
"PNs (" <<
i <<
") L4 G01 " << num04 <<
" " << mean04 <<
" " << rms04 << std::endl;
1282 std::cout <<
"PNs (" <<
i <<
") L4 G16 " << num12 <<
" " << mean12 <<
" " << rms12 << std::endl;
1312 dataset2_rd[ecid] = pn_rd;
1329 }
catch (std::runtime_error &e) {
1337 std::map<EcalLogicID, MonTimingLaserBlueCrystalDat> dataset3_bl;
1339 std::map<EcalLogicID, MonTimingLaserGreenCrystalDat> dataset3_gr;
1341 std::map<EcalLogicID, MonTimingLaserIRedCrystalDat> dataset3_ir;
1343 std::map<EcalLogicID, MonTimingLaserRedCrystalDat> dataset3_rd;
1354 for (
int ie = 1; ie <= 85; ie++ ) {
1355 for (
int ip = 1; ip <= 20; ip++ ) {
1362 float num01, num02, num03, num04;
1363 float mean01, mean02, mean03, mean04;
1364 float rms01, rms02, rms03, rms04;
1377 std::cout <<
"L1 crystal (" << ie <<
"," << ip <<
") " << num01 <<
" " << mean01 <<
" " << rms01 << std::endl;
1398 dataset3_bl[ecid] = t_bl;
1409 std::cout <<
"L2 crystal (" << ie <<
"," << ip <<
") " << num02 <<
" " << mean02 <<
" " << rms02 << std::endl;
1430 dataset3_gr[ecid] = t_gr;
1441 std::cout <<
"L3 crystal (" << ie <<
"," << ip <<
") " << num03 <<
" " << mean03 <<
" " << rms03 << std::endl;
1462 dataset3_ir[ecid] = t_ir;
1473 std::cout <<
"L4 crystal (" << ie <<
"," << ip <<
") " << num04 <<
" " << mean04 <<
" " << rms04 << std::endl;
1494 dataset3_rd[ecid] = t_rd;
1506 if (
verbose_ )
std::cout <<
"Inserting MonTimingLaserCrystalDat ..." << std::endl;
1512 }
catch (std::runtime_error &e) {
1526 if (
ievt_ % 10 == 0 ) {
1530 uint32_t bits01 = 0;
1534 uint32_t bits02 = 0;
1538 uint32_t bits03 = 0;
1542 uint32_t bits04 = 0;
1555 h01_[ism-1] = UtilsClient::getHisto<TProfile2D*>( me,
cloneME_,
h01_[ism-1] );
1558 h02_[ism-1] = UtilsClient::getHisto<TProfile2D*>( me,
cloneME_,
h02_[ism-1] );
1565 h03_[ism-1] = UtilsClient::getHisto<TProfile2D*>( me,
cloneME_,
h03_[ism-1] );
1568 h04_[ism-1] = UtilsClient::getHisto<TProfile2D*>( me,
cloneME_,
h04_[ism-1] );
1575 h05_[ism-1] = UtilsClient::getHisto<TProfile2D*>( me,
cloneME_,
h05_[ism-1] );
1578 h06_[ism-1] = UtilsClient::getHisto<TProfile2D*>( me,
cloneME_,
h06_[ism-1] );
1585 h07_[ism-1] = UtilsClient::getHisto<TProfile2D*>( me,
cloneME_,
h07_[ism-1] );
1588 h08_[ism-1] = UtilsClient::getHisto<TProfile2D*>( me,
cloneME_,
h08_[ism-1] );
1595 h09_[ism-1] = UtilsClient::getHisto<TProfile2D*>( me,
cloneME_,
h09_[ism-1] );
1602 h10_[ism-1] = UtilsClient::getHisto<TProfile2D*>( me,
cloneME_,
h10_[ism-1] );
1609 h11_[ism-1] = UtilsClient::getHisto<TProfile2D*>( me,
cloneME_,
h11_[ism-1] );
1616 h12_[ism-1] = UtilsClient::getHisto<TProfile2D*>( me,
cloneME_,
h12_[ism-1] );
1651 i01_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i01_[ism-1] );
1659 i02_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i02_[ism-1] );
1666 i03_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i03_[ism-1] );
1673 i04_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i04_[ism-1] );
1680 i05_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i05_[ism-1] );
1687 i06_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i06_[ism-1] );
1694 i07_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i07_[ism-1] );
1701 i08_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i08_[ism-1] );
1708 i09_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i09_[ism-1] );
1715 i10_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i10_[ism-1] );
1722 i11_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i11_[ism-1] );
1729 i12_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i12_[ism-1] );
1736 i13_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i13_[ism-1] );
1743 i14_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i14_[ism-1] );
1750 i15_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i15_[ism-1] );
1757 i16_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i16_[ism-1] );
1814 float meanAmplL1, meanAmplL2, meanAmplL3, meanAmplL4;
1816 int nCryL1, nCryL2, nCryL3, nCryL4;
1818 meanAmplL1 = meanAmplL2 = meanAmplL3 = meanAmplL4 = 0.;
1820 nCryL1 = nCryL2 = nCryL3 = nCryL4 = 0;
1822 for (
int ie = 1; ie <= 85; ie++ ) {
1823 for (
int ip = 1; ip <= 20; ip++ ) {
1830 float num01, num02, num03, num04;
1831 float mean01, mean02, mean03, mean04;
1832 float rms01, rms02, rms03, rms04;
1839 float xmean01 = mean01;
1840 float xmean02 = mean02;
1841 float xmean03 = mean03;
1842 float xmean04 = mean04;
1845 if ( ism == 22 && ie <= 5 ) {
1846 xmean01 = xmean01 * 1.5;
1847 xmean02 = xmean02 * 1.5;
1848 xmean03 = xmean03 * 1.5;
1849 xmean04 = xmean04 * 1.5;
1853 if ( ism == 27 && ie > 5 && ip <= 10 ) {
1854 xmean01 = xmean01 * 1.5;
1855 xmean02 = xmean02 * 1.5;
1856 xmean03 = xmean03 * 1.5;
1857 xmean04 = xmean04 * 1.5;
1861 if ( ism == 36 && ie > 5 && ip <= 10 ) {
1862 xmean01 = xmean01 * 1.0;
1863 xmean02 = xmean02 * 1.0;
1864 xmean03 = xmean03 * 1.0;
1865 xmean04 = xmean04 * 2.0;
1869 meanAmplL1 += xmean01;
1874 meanAmplL2 += xmean02;
1879 meanAmplL3 += xmean03;
1884 meanAmplL4 += xmean04;
1891 if ( nCryL1 > 0 ) meanAmplL1 /= float (nCryL1);
1892 if ( nCryL2 > 0 ) meanAmplL2 /= float (nCryL2);
1893 if ( nCryL3 > 0 ) meanAmplL3 /= float (nCryL3);
1894 if ( nCryL4 > 0 ) meanAmplL4 /= float (nCryL4);
1896 bool l1Data(
false), l2Data(
false), l3Data(
false), l4Data(
false);
1898 for (
int ie = 1; ie <= 85; ie++ ) {
1899 for (
int ip = 1; ip <= 20; ip++ ) {
1919 float num01, num02, num03, num04, num05, num06, num07, num08;
1920 float num09, num10, num11, num12;
1921 float mean01, mean02, mean03, mean04, mean05, mean06, mean07, mean08;
1922 float mean09, mean10, mean11, mean12;
1923 float rms01, rms02, rms03, rms04, rms05, rms06, rms07, rms08;
1924 float rms09, rms10, rms11, rms12;
1939 if(update01) l1Data =
true;
1940 if(update03) l2Data =
true;
1941 if(update05) l3Data =
true;
1942 if(update07) l4Data =
true;
1944 float xmean01 = mean01;
1945 float xmean03 = mean03;
1946 float xmean05 = mean05;
1947 float xmean07 = mean07;
1950 if ( ism == 22 && ie <= 5 ) {
1951 xmean01 = xmean01 * 1.5;
1952 xmean03 = xmean03 * 1.5;
1953 xmean05 = xmean05 * 1.5;
1954 xmean07 = xmean07 * 1.5;
1958 if ( ism == 27 && ie > 5 && ip <= 10 ) {
1959 xmean01 = xmean01 * 1.5;
1960 xmean03 = xmean03 * 1.5;
1961 xmean05 = xmean05 * 1.5;
1962 xmean07 = xmean07 * 1.5;
1966 if ( ism == 36 && ie > 5 && ip <= 10 ) {
1967 xmean01 = xmean01 * 1.0;
1968 xmean03 = xmean03 * 1.0;
1969 xmean05 = xmean05 * 1.0;
1970 xmean07 = xmean07 * 2.0;
1985 if ( mean01 > 0. ) {
2007 if ( mean03 > 0. ) {
2029 if ( mean05 > 0. ) {
2051 if ( mean07 > 0. ) {
2073 if ( mean02 > 0. ) {
2088 if ( mean04 > 0. ) {
2103 if ( mean06 > 0. ) {
2118 if ( mean08 > 0. ) {
2133 if ( mean09 > 0. ) {
2151 if ( mean10 > 0. ) {
2169 if ( mean11 > 0. ) {
2187 if ( mean12 > 0. ) {
2203 for (
int i = 1;
i <= 10;
i++ ) {
2231 float num01, num02, num03, num04, num05, num06, num07, num08;
2232 float num09, num10, num11, num12, num13, num14, num15, num16;
2233 float mean01, mean02, mean03, mean04, mean05, mean06, mean07, mean08;
2234 float mean09, mean10, mean11, mean12, mean13, mean14, mean15, mean16;
2235 float rms01, rms02, rms03, rms04, rms05, rms06, rms07, rms08;
2236 float rms09, rms10, rms11, rms12, rms13, rms14, rms15, rms16;
2255 if ( update01 && update05 ) {
2273 if ( update02 && update06 ) {
2290 if ( update03 && update07 ) {
2307 if ( update04 && update08 ) {
2324 if ( update09 && update13 ) {
2344 if ( update10 && update14 ) {
2364 if ( update11 && update15 ) {
2384 if ( update12 && update16 ) {
2420 for (
int i = 1;
i <= 10;
i++ ) {
2422 if (
hs01_[ism-1] ) {
2430 if (
hs02_[ism-1] ) {
2438 if (
hs03_[ism-1] ) {
2446 if (
hs04_[ism-1] ) {
MonitorElement * mea02_[36]
MonitorElement * metav02_[36]
MonitorElement * meg12_[36]
Cache logicID vector from database.
MonitorElement * me_hs03_[36]
void setADCMeanG1(float mean)
T getUntrackedParameter(std::string const &, T const &) const
void setADCRMSG16(float mean)
void setPedRMSG16(float mean)
MonitorElement * meg09_[36]
void analyze(void)
Analyze.
void setBinContent(int binx, double content)
set content of bin (1-D)
static const int LASER_MEAN_ERROR
static bool maskChannel(int ism, int i1, int i2, uint32_t bits, const EcalSubdetector subdet)
MonitorElement * mepnprms06_[36]
float pedPnDiscrepancyMean_[2]
void beginRun(void)
BeginRun.
MonitorElement * meg07_[36]
MonitorElement * mepnprms01_[36]
void setADCRMSG16(float mean)
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
void setADCMeanG16(float mean)
MonitorElement * meg04_[36]
MonitorElement * metav04_[36]
MonitorElement * met02_[36]
void setAPDOverPNRMS(float rms)
Some "id" conversions.
static std::string sEB(const unsigned ism)
void setAPDOverPNMean(float mean)
void setAPDMean(float mean)
static const int LASER_TIMING_RMS_ERROR
static const int PEDESTAL_HIGH_GAIN_MEAN_ERROR
static bool getBinQuality(const MonitorElement *me, const int ix, const int iy)
Returns true if the bin quality is good or masked.
void beginJob(void)
BeginJob.
void setADCMeanG16(float mean)
void setADCMeanG1(float mean)
MonitorElement * metav01_[36]
MonitorElement * meg02_[36]
MonitorElement * mepnprms03_[36]
MonitorElement * mepnprms02_[36]
void setADCRMSG1(float mean)
void setTaskStatus(bool status)
MonitorElement * mepnprms08_[36]
MonitorElement * me_hs02_[36]
void setADCRMSG1(float mean)
std::vector< int > laserWavelengths_
float amplitudeThresholdPnG01_
static const int PEDESTAL_LOW_GAIN_RMS_ERROR
void setPedRMSG16(float mean)
void setTimingMean(float mean)
static unsigned icEB(const unsigned ism, const unsigned ix, const unsigned iy)
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
static void maskBinContent(const MonitorElement *me, const int ix, const int iy)
Mask the bin content.
MonitorElement * metrms01_[36]
void setTaskStatus(bool status)
MonitorElement * met04_[36]
static const int PEDESTAL_HIGH_GAIN_RMS_ERROR
static bool maskPn(int ism, int i1, uint32_t bits, const EcalSubdetector subdet)
static bool getBinStatus(const MonitorElement *me, const int ix, const int iy)
Returns true if the bin status is red/dark red.
MonitorElement * meg06_[36]
float amplitudeThreshold_
MonitorElement * meg10_[36]
void setADCMeanG1(float mean)
float pedPnRMSThreshold_[2]
MonitorElement * metrms03_[36]
void setTaskStatus(bool status)
float rmsThresholdRelative_
void setAPDMean(float mean)
void removeElement(const std::string &name)
void setPedMeanG1(float mean)
void setAPDMean(float mean)
Abs< T >::type abs(const T &t)
void setTaskStatus(bool status)
MonitorElement * metav03_[36]
static unsigned indexEB(const unsigned ism, const unsigned ie, const unsigned ip)
MonitorElement * mea04_[36]
void setPedRMSG1(float mean)
void setPedRMSG1(float mean)
void setBinError(int binx, double error)
set uncertainty on content of bin (1-D)
void setPedRMSG1(float mean)
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")
void setADCMeanG1(float mean)
void setADCRMSG1(float mean)
MonitorElement * metrms02_[36]
void setPedRMSG1(float mean)
void setADCRMSG1(float mean)
void cleanup(void)
Cleanup.
virtual ~EBLaserClient()
Destructor.
void setTaskStatus(bool status)
void setAPDRMS(float rms)
MonitorElement * met03_[36]
void setPedRMSG16(float mean)
void setADCRMSG16(float mean)
void setAPDOverPNRMS(float rms)
void setAPDRMS(float rms)
EBLaserClient(const edm::ParameterSet &ps)
Constructor.
Ecal Monitor Utils for Client.
static const int PEDESTAL_LOW_GAIN_MEAN_ERROR
MonitorElement * meg08_[36]
void setTaskStatus(bool status)
MonitorElement * mepnprms04_[36]
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.
void setAPDOverPNRMS(float rms)
MonitorElement * meaopn04_[36]
MonitorElement * meaopn01_[36]
void setAPDOverPNMean(float mean)
void setTimingRMS(float rms)
void setADCMeanG16(float mean)
std::vector< int > superModules_
void setADCMeanG16(float mean)
void setTaskStatus(bool status)
MonitorElement * mepnprms07_[36]
void setPedMeanG16(float mean)
MonitorElement * meg11_[36]
void setAPDOverPNRMS(float rms)
MonitorElement * mea01_[36]
MonitorElement * mea03_[36]
MonitorElement * meg05_[36]
void setTaskStatus(bool status)
static const int LASER_TIMING_MEAN_ERROR
void setPedMeanG1(float mean)
MonitorElement * meg01_[36]
void setAPDOverPNMean(float mean)
void setAPDRMS(float rms)
float amplitudeThresholdPnG16_
void setPedMeanG16(float mean)
static unsigned iSM(const unsigned ism, const EcalSubdetector subdet)
void setPedMeanG1(float mean)
MonitorElement * me_hs04_[36]
MonitorElement * metrms04_[36]
void setPedRMSG16(float mean)
void insertDataArraySet(const std::map< EcalLogicID, DATT > *data, IOVT *iov)
float pedPnExpectedMean_[2]
MonitorElement * me_hs01_[36]
void setPedMeanG16(float mean)
void setTaskStatus(bool status)
void setAPDMean(float mean)
MonitorElement * meg03_[36]
void setADCRMSG16(float mean)
static const int LASER_RMS_ERROR
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
static EcalLogicID getEcalLogicID(const char *name, const int id1=EcalLogicID::NULLID, const int id2=EcalLogicID::NULLID, const int id3=EcalLogicID::NULLID)
void setAPDOverPNMean(float mean)
MonitorElement * meaopn02_[36]
int ism(int ieta, int iphi)
MonitorElement * meaopn03_[36]
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)
void setPedMeanG1(float mean)
static void printBadChannels(const MonitorElement *me, TH1 *hi, bool positive_only=false)
Print the bad channels.
void setAPDRMS(float rms)
MonitorElement * mepnprms05_[36]
void setCurrentFolder(const std::string &fullpath)
MonitorElement * met01_[36]
static int getFirstNonEmptyChannel(const TProfile2D *histo)
Find the first non empty bin.
void setPedMeanG16(float mean)