22 #ifdef WITH_ECAL_COND_DB
76 std::cout <<
" Laser wavelengths:" << std::endl;
287 name =
"EBLT laser quality L1 PNs G01 " +
Numbers::sEB(ism);
294 name =
"EBLT laser quality L2 PNs G01 " +
Numbers::sEB(ism);
301 name =
"EBLT laser quality L3 PNs G01 " +
Numbers::sEB(ism);
308 name =
"EBLT laser quality L4 PNs G01 " +
Numbers::sEB(ism);
315 name =
"EBLT laser quality L1 PNs G16 " +
Numbers::sEB(ism);
322 name =
"EBLT laser quality L2 PNs G16 " +
Numbers::sEB(ism);
329 name =
"EBLT laser quality L3 PNs G16 " +
Numbers::sEB(ism);
336 name =
"EBLT laser quality L4 PNs G16 " +
Numbers::sEB(ism);
402 name =
"EBLT laser timing mean L1 " +
Numbers::sEB(ism);
408 name =
"EBLT laser timing mean L2 " +
Numbers::sEB(ism);
414 name =
"EBLT laser timing mean L3 " +
Numbers::sEB(ism);
420 name =
"EBLT laser timing mean L4 " +
Numbers::sEB(ism);
452 name =
"EBLT amplitude over PN L1 " +
Numbers::sEB(ism);
459 name =
"EBLT amplitude over PN L2 " +
Numbers::sEB(ism);
466 name =
"EBLT amplitude over PN L3 " +
Numbers::sEB(ism);
473 name =
"EBLT amplitude over PN L4 " +
Numbers::sEB(ism);
481 name =
"EBLT PNs pedestal rms " +
Numbers::sEB(ism) +
" G01 L1";
487 name =
"EBLT PNs pedestal rms " +
Numbers::sEB(ism) +
" G01 L2";
493 name =
"EBLT PNs pedestal rms " +
Numbers::sEB(ism) +
" G01 L3";
499 name =
"EBLT PNs pedestal rms " +
Numbers::sEB(ism) +
" G01 L4";
505 name =
"EBLT PNs pedestal rms " +
Numbers::sEB(ism) +
" G16 L1";
511 name =
"EBLT PNs pedestal rms " +
Numbers::sEB(ism) +
" G16 L2";
517 name =
"EBLT PNs pedestal rms " +
Numbers::sEB(ism) +
" G16 L3";
523 name =
"EBLT PNs pedestal rms " +
Numbers::sEB(ism) +
" G16 L4";
576 for (
int ie = 1; ie <= 85; ie++ ) {
577 for (
int ip = 1; ip <= 20; ip++ ) {
587 for (
int i = 1;
i <= 10;
i++ ) {
652 if (
h01_[ism-1] )
delete h01_[ism-1];
653 if (
h02_[ism-1] )
delete h02_[ism-1];
654 if (
h03_[ism-1] )
delete h03_[ism-1];
655 if (
h04_[ism-1] )
delete h04_[ism-1];
656 if (
h05_[ism-1] )
delete h05_[ism-1];
657 if (
h06_[ism-1] )
delete h06_[ism-1];
658 if (
h07_[ism-1] )
delete h07_[ism-1];
659 if (
h08_[ism-1] )
delete h08_[ism-1];
661 if (
h09_[ism-1] )
delete h09_[ism-1];
662 if (
h10_[ism-1] )
delete h10_[ism-1];
663 if (
h11_[ism-1] )
delete h11_[ism-1];
664 if (
h12_[ism-1] )
delete h12_[ism-1];
671 if (
i01_[ism-1] )
delete i01_[ism-1];
672 if (
i02_[ism-1] )
delete i02_[ism-1];
673 if (
i03_[ism-1] )
delete i03_[ism-1];
674 if (
i04_[ism-1] )
delete i04_[ism-1];
675 if (
i05_[ism-1] )
delete i05_[ism-1];
676 if (
i06_[ism-1] )
delete i06_[ism-1];
677 if (
i07_[ism-1] )
delete i07_[ism-1];
678 if (
i08_[ism-1] )
delete i08_[ism-1];
680 if (
i09_[ism-1] )
delete i09_[ism-1];
681 if (
i10_[ism-1] )
delete i10_[ism-1];
682 if (
i11_[ism-1] )
delete i11_[ism-1];
683 if (
i12_[ism-1] )
delete i12_[ism-1];
684 if (
i13_[ism-1] )
delete i13_[ism-1];
685 if (
i14_[ism-1] )
delete i14_[ism-1];
686 if (
i15_[ism-1] )
delete i15_[ism-1];
687 if (
i16_[ism-1] )
delete i16_[ism-1];
836 #ifdef WITH_ECAL_COND_DB
844 std::map<EcalLogicID, MonLaserBlueDat> dataset1_bl;
846 std::map<EcalLogicID, MonLaserGreenDat> dataset1_gr;
848 std::map<EcalLogicID, MonLaserIRedDat> dataset1_ir;
850 std::map<EcalLogicID, MonLaserRedDat> dataset1_rd;
873 for (
int ie = 1; ie <= 85; ie++ ) {
874 for (
int ip = 1; ip <= 20; ip++ ) {
885 float num01, num02, num03, num04, num05, num06, num07, num08;
886 float mean01, mean02, mean03, mean04, mean05, mean06, mean07, mean08;
887 float rms01, rms02, rms03, rms04, rms05, rms06, rms07, rms08;
898 if ( update01 || update02 ) {
904 std::cout <<
"L1 (" << ie <<
"," << ip <<
") " << num01 <<
" " << mean01 <<
" " << rms01 << std::endl;
928 dataset1_bl[ecid] = apd_bl;
933 if ( update03 || update04 ) {
939 std::cout <<
"L2 (" << ie <<
"," << ip <<
") " << num03 <<
" " << mean03 <<
" " << rms03 << std::endl;
963 dataset1_ir[ecid] = apd_ir;
968 if ( update05 || update06 ) {
974 std::cout <<
"L3 (" << ie <<
"," << ip <<
") " << num05 <<
" " << mean05 <<
" " << rms05 << std::endl;
998 dataset1_gr[ecid] = apd_gr;
1003 if ( update07 || update08 ) {
1009 std::cout <<
"L4 (" << ie <<
"," << ip <<
") " << num07 <<
" " << mean07 <<
" " << rms07 << std::endl;
1033 dataset1_rd[ecid] = apd_rd;
1051 }
catch (std::runtime_error &
e) {
1059 std::map<EcalLogicID, MonPNBlueDat> dataset2_bl;
1061 std::map<EcalLogicID, MonPNGreenDat> dataset2_gr;
1063 std::map<EcalLogicID, MonPNIRedDat> dataset2_ir;
1065 std::map<EcalLogicID, MonPNRedDat> dataset2_rd;
1108 for (
int i = 1;
i <= 10;
i++ ) {
1127 float num01, num02, num03, num04, num05, num06, num07, num08;
1128 float num09, num10, num11, num12, num13, num14, num15, num16;
1129 float mean01, mean02, mean03, mean04, mean05, mean06, mean07, mean08;
1130 float mean09, mean10, mean11, mean12, mean13, mean14, mean15, mean16;
1131 float rms01, rms02, rms03, rms04, rms05, rms06, rms07, rms08;
1132 float rms09, rms10, rms11, rms12, rms13, rms14, rms15, rms16;
1151 if ( update01 || update05 || update09 || update13 ) {
1157 std::cout <<
"PNs (" <<
i <<
") L1 G01 " << num01 <<
" " << mean01 <<
" " << rms01 << std::endl;
1158 std::cout <<
"PNs (" <<
i <<
") L1 G16 " << num09 <<
" " << mean09 <<
" " << rms09 << std::endl;
1188 dataset2_bl[ecid] = pn_bl;
1193 if ( update02 || update06 || update10 || update14 ) {
1199 std::cout <<
"PNs (" <<
i <<
") L2 G01 " << num02 <<
" " << mean02 <<
" " << rms02 << std::endl;
1200 std::cout <<
"PNs (" <<
i <<
") L2 G16 " << num10 <<
" " << mean10 <<
" " << rms10 << std::endl;
1230 dataset2_ir[ecid] = pn_ir;
1235 if ( update03 || update07 || update11 || update15 ) {
1241 std::cout <<
"PNs (" <<
i <<
") L3 G01 " << num03 <<
" " << mean03 <<
" " << rms03 << std::endl;
1242 std::cout <<
"PNs (" <<
i <<
") L3 G16 " << num11 <<
" " << mean11 <<
" " << rms11 << std::endl;
1272 dataset2_gr[ecid] = pn_gr;
1277 if ( update04 || update08 || update12 || update16 ) {
1283 std::cout <<
"PNs (" <<
i <<
") L4 G01 " << num04 <<
" " << mean04 <<
" " << rms04 << std::endl;
1284 std::cout <<
"PNs (" <<
i <<
") L4 G16 " << num12 <<
" " << mean12 <<
" " << rms12 << std::endl;
1314 dataset2_rd[ecid] = pn_rd;
1331 }
catch (std::runtime_error &e) {
1339 std::map<EcalLogicID, MonTimingLaserBlueCrystalDat> dataset3_bl;
1341 std::map<EcalLogicID, MonTimingLaserGreenCrystalDat> dataset3_gr;
1343 std::map<EcalLogicID, MonTimingLaserIRedCrystalDat> dataset3_ir;
1345 std::map<EcalLogicID, MonTimingLaserRedCrystalDat> dataset3_rd;
1356 for (
int ie = 1; ie <= 85; ie++ ) {
1357 for (
int ip = 1; ip <= 20; ip++ ) {
1364 float num01, num02, num03, num04;
1365 float mean01, mean02, mean03, mean04;
1366 float rms01, rms02, rms03, rms04;
1379 std::cout <<
"L1 crystal (" << ie <<
"," << ip <<
") " << num01 <<
" " << mean01 <<
" " << rms01 << std::endl;
1400 dataset3_bl[ecid] = t_bl;
1411 std::cout <<
"L2 crystal (" << ie <<
"," << ip <<
") " << num02 <<
" " << mean02 <<
" " << rms02 << std::endl;
1432 dataset3_gr[ecid] = t_gr;
1443 std::cout <<
"L3 crystal (" << ie <<
"," << ip <<
") " << num03 <<
" " << mean03 <<
" " << rms03 << std::endl;
1464 dataset3_ir[ecid] = t_ir;
1475 std::cout <<
"L4 crystal (" << ie <<
"," << ip <<
") " << num04 <<
" " << mean04 <<
" " << rms04 << std::endl;
1496 dataset3_rd[ecid] = t_rd;
1508 if (
verbose_ )
std::cout <<
"Inserting MonTimingLaserCrystalDat ..." << std::endl;
1514 }
catch (std::runtime_error &e) {
1528 if (
ievt_ % 10 == 0 ) {
1532 uint32_t bits01 = 0;
1536 uint32_t bits02 = 0;
1540 uint32_t bits03 = 0;
1544 uint32_t bits04 = 0;
1557 h01_[ism-1] = UtilsClient::getHisto<TProfile2D*>( me,
cloneME_,
h01_[ism-1] );
1560 h02_[ism-1] = UtilsClient::getHisto<TProfile2D*>( me,
cloneME_,
h02_[ism-1] );
1567 h03_[ism-1] = UtilsClient::getHisto<TProfile2D*>( me,
cloneME_,
h03_[ism-1] );
1570 h04_[ism-1] = UtilsClient::getHisto<TProfile2D*>( me,
cloneME_,
h04_[ism-1] );
1577 h05_[ism-1] = UtilsClient::getHisto<TProfile2D*>( me,
cloneME_,
h05_[ism-1] );
1580 h06_[ism-1] = UtilsClient::getHisto<TProfile2D*>( me,
cloneME_,
h06_[ism-1] );
1587 h07_[ism-1] = UtilsClient::getHisto<TProfile2D*>( me,
cloneME_,
h07_[ism-1] );
1590 h08_[ism-1] = UtilsClient::getHisto<TProfile2D*>( me,
cloneME_,
h08_[ism-1] );
1597 h09_[ism-1] = UtilsClient::getHisto<TProfile2D*>( me,
cloneME_,
h09_[ism-1] );
1604 h10_[ism-1] = UtilsClient::getHisto<TProfile2D*>( me,
cloneME_,
h10_[ism-1] );
1611 h11_[ism-1] = UtilsClient::getHisto<TProfile2D*>( me,
cloneME_,
h11_[ism-1] );
1618 h12_[ism-1] = UtilsClient::getHisto<TProfile2D*>( me,
cloneME_,
h12_[ism-1] );
1653 i01_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i01_[ism-1] );
1661 i02_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i02_[ism-1] );
1668 i03_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i03_[ism-1] );
1675 i04_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i04_[ism-1] );
1682 i05_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i05_[ism-1] );
1689 i06_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i06_[ism-1] );
1696 i07_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i07_[ism-1] );
1703 i08_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i08_[ism-1] );
1710 i09_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i09_[ism-1] );
1717 i10_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i10_[ism-1] );
1724 i11_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i11_[ism-1] );
1731 i12_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i12_[ism-1] );
1738 i13_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i13_[ism-1] );
1745 i14_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i14_[ism-1] );
1752 i15_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i15_[ism-1] );
1759 i16_[ism-1] = UtilsClient::getHisto<TProfile*>( me,
cloneME_,
i16_[ism-1] );
1816 float meanAmplL1, meanAmplL2, meanAmplL3, meanAmplL4;
1818 int nCryL1, nCryL2, nCryL3, nCryL4;
1820 meanAmplL1 = meanAmplL2 = meanAmplL3 = meanAmplL4 = 0.;
1822 nCryL1 = nCryL2 = nCryL3 = nCryL4 = 0;
1824 for (
int ie = 1; ie <= 85; ie++ ) {
1825 for (
int ip = 1; ip <= 20; ip++ ) {
1832 float num01, num02, num03, num04;
1833 float mean01, mean02, mean03, mean04;
1834 float rms01, rms02, rms03, rms04;
1841 float xmean01 = mean01;
1842 float xmean02 = mean02;
1843 float xmean03 = mean03;
1844 float xmean04 = mean04;
1847 if ( ism == 22 && ie <= 5 ) {
1848 xmean01 = xmean01 * 1.5;
1849 xmean02 = xmean02 * 1.5;
1850 xmean03 = xmean03 * 1.5;
1851 xmean04 = xmean04 * 1.5;
1855 if ( ism == 27 && ie > 5 && ip <= 10 ) {
1856 xmean01 = xmean01 * 1.5;
1857 xmean02 = xmean02 * 1.5;
1858 xmean03 = xmean03 * 1.5;
1859 xmean04 = xmean04 * 1.5;
1863 if ( ism == 36 && ie > 5 && ip <= 10 ) {
1864 xmean01 = xmean01 * 1.0;
1865 xmean02 = xmean02 * 1.0;
1866 xmean03 = xmean03 * 1.0;
1867 xmean04 = xmean04 * 2.0;
1871 meanAmplL1 += xmean01;
1876 meanAmplL2 += xmean02;
1881 meanAmplL3 += xmean03;
1886 meanAmplL4 += xmean04;
1893 if ( nCryL1 > 0 ) meanAmplL1 /= float (nCryL1);
1894 if ( nCryL2 > 0 ) meanAmplL2 /= float (nCryL2);
1895 if ( nCryL3 > 0 ) meanAmplL3 /= float (nCryL3);
1896 if ( nCryL4 > 0 ) meanAmplL4 /= float (nCryL4);
1898 bool l1Data(
false), l2Data(
false), l3Data(
false), l4Data(
false);
1900 for (
int ie = 1; ie <= 85; ie++ ) {
1901 for (
int ip = 1; ip <= 20; ip++ ) {
1921 float num01, num02, num03, num04, num05, num06, num07, num08;
1922 float num09, num10, num11, num12;
1923 float mean01, mean02, mean03, mean04, mean05, mean06, mean07, mean08;
1924 float mean09, mean10, mean11, mean12;
1925 float rms01, rms02, rms03, rms04, rms05, rms06, rms07, rms08;
1926 float rms09, rms10, rms11, rms12;
1941 if(update01) l1Data =
true;
1942 if(update03) l2Data =
true;
1943 if(update05) l3Data =
true;
1944 if(update07) l4Data =
true;
1946 float xmean01 = mean01;
1947 float xmean03 = mean03;
1948 float xmean05 = mean05;
1949 float xmean07 = mean07;
1952 if ( ism == 22 && ie <= 5 ) {
1953 xmean01 = xmean01 * 1.5;
1954 xmean03 = xmean03 * 1.5;
1955 xmean05 = xmean05 * 1.5;
1956 xmean07 = xmean07 * 1.5;
1960 if ( ism == 27 && ie > 5 && ip <= 10 ) {
1961 xmean01 = xmean01 * 1.5;
1962 xmean03 = xmean03 * 1.5;
1963 xmean05 = xmean05 * 1.5;
1964 xmean07 = xmean07 * 1.5;
1968 if ( ism == 36 && ie > 5 && ip <= 10 ) {
1969 xmean01 = xmean01 * 1.0;
1970 xmean03 = xmean03 * 1.0;
1971 xmean05 = xmean05 * 1.0;
1972 xmean07 = xmean07 * 2.0;
1987 if ( mean01 > 0. ) {
2009 if ( mean03 > 0. ) {
2031 if ( mean05 > 0. ) {
2053 if ( mean07 > 0. ) {
2075 if ( mean02 > 0. ) {
2090 if ( mean04 > 0. ) {
2105 if ( mean06 > 0. ) {
2120 if ( mean08 > 0. ) {
2135 if ( mean09 > 0. ) {
2153 if ( mean10 > 0. ) {
2171 if ( mean11 > 0. ) {
2189 if ( mean12 > 0. ) {
2205 for (
int i = 1;
i <= 10;
i++ ) {
2233 float num01, num02, num03, num04, num05, num06, num07, num08;
2234 float num09, num10, num11, num12, num13, num14, num15, num16;
2235 float mean01, mean02, mean03, mean04, mean05, mean06, mean07, mean08;
2236 float mean09, mean10, mean11, mean12, mean13, mean14, mean15, mean16;
2237 float rms01, rms02, rms03, rms04, rms05, rms06, rms07, rms08;
2238 float rms09, rms10, rms11, rms12, rms13, rms14, rms15, rms16;
2257 if ( update01 && update05 ) {
2275 if ( update02 && update06 ) {
2292 if ( update03 && update07 ) {
2309 if ( update04 && update08 ) {
2326 if ( update09 && update13 ) {
2346 if ( update10 && update14 ) {
2366 if ( update11 && update15 ) {
2386 if ( update12 && update16 ) {
2422 for (
int i = 1;
i <= 10;
i++ ) {
2424 if (
hs01_[ism-1] ) {
2432 if (
hs02_[ism-1] ) {
2440 if (
hs03_[ism-1] ) {
2448 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)
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)