75 std::cout <<
"L1TDEMON::beginJob() start\n" << std::flush;
90 int phiNBins[
DEnsys] = { 71 , 71 , 18 ,18 , 12, 255, 160, 255, 144, 0, 255,0};
91 double phiMinim[
DEnsys] = { 0.5, 0.5, -0.5,-0.5,-0.5, 0, -0.5, 0, -0.5, 0, 0,0};
92 double phiMaxim[
DEnsys] = { 71.5, 71.5, 17.5,17.5,11.5, 255,159.5, 255, 143.5, 0, 255,0};
94 int etaNBins[
DEnsys] = { 35 , 35 , 22 ,22 , 5, 20, 120, 20, 64, 0, 20,0};
95 double etaMinim[
DEnsys] = {-17.5,-17.5, -0.5,-0.5,-2.5, 0, -0.5, 0, -0.5, 0, 0,0};
96 double etaMaxim[
DEnsys] = { 17.5, 17.5, 21.5,21.5, 2.5, 63,119.5, 63, 63.5, 0, 63,0};
98 int x3NBins [
DEnsys] = { 0, 0, 7, 0, 4, 0, 0, 0, 0, 0, 0,0};
99 double x3Minim [
DEnsys] = { 0, 0, -0.5, 0, 0.5, 0, 0, 0, 0, 0, 0,0};
100 double x3Maxim [
DEnsys] = { 0, 0, 6.5, 0, 4.5, 0, 0, 0, 0, 0, 0,0};
102 int rnkNBins[
DEnsys] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0};
103 double rnkMinim[
DEnsys] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0};
104 double rnkMaxim[
DEnsys] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0};
112 rnkMinim[
DTP] = -0.5;
115 rnkMinim[
CTP] = -0.5;
116 rnkMaxim[
CTP] = 15.5;
130 for (
int j = 0;
j < 2;
j++) {
132 lbl += (
j == 0 ?
"Data" :
"Emul");
137 sysrates =
dbe->book1D(
"sysrates",
"sysrates", DEnsys, 0, DEnsys);
139 errordist =
dbe->book1D(
"errorflag",
"errorflag", nerr, 0, nerr);
149 dbe->setCurrentFolder(
157 errortype[
j] =
dbe->book1D(lbl.data(), lbl.data(), nerr, 0, nerr);
168 eta[
j] =
dbe->book1D(lbl.data(), lbl.data(), etaNBins[
j],
169 etaMinim[
j], etaMaxim[
j]);
173 phi[
j] =
dbe->book1D(lbl.data(), lbl.data(), phiNBins[
j],
174 phiMinim[
j], phiMaxim[
j]);
178 x3[
j] =
dbe->book1D(lbl.data(), lbl.data(), x3NBins[
j], x3Minim[
j],
183 etaphi[
j] =
dbe->book2D(lbl.data(), lbl.data(), etaNBins[
j],
184 etaMinim[
j], etaMaxim[
j], phiNBins[
j], phiMinim[
j],
191 etaData[
j] =
dbe->book1D(lbl.data(), lbl.data(), etaNBins[
j],
192 etaMinim[
j], etaMaxim[
j]);
197 phiData[
j] =
dbe->book1D(lbl.data(), lbl.data(), phiNBins[
j],
198 phiMinim[
j], phiMaxim[
j]);
203 x3Data[
j] =
dbe->book1D(lbl.data(), lbl.data(), x3NBins[
j],
204 x3Minim[
j], x3Maxim[
j]);
209 rnkData[
j] =
dbe->book1D(lbl.data(), lbl.data(), rnkNBins[
j],
210 rnkMinim[
j], rnkMaxim[
j]);
212 const int nbit = (j ==
GLT) ? 128 : 32;
216 dword[
j] =
dbe->book1D(lbl.data(), lbl.data(), nbit, 0, nbit);
220 eword[
j] =
dbe->book1D(lbl.data(), lbl.data(), nbit, 0, nbit);
224 deword[
j] =
dbe->book1D(lbl.data(), lbl.data(), nbit, 0, nbit);
239 std::string errLabel[nerr] = {
"Agree",
"Loc. Agree",
"L.Disagree",
240 "Data only",
"Emul only" };
241 for (
int j = 0; j < nerr; j++) {
244 for (
int i = 0; i <
DEnsys; i++) {
251 for (
int j = 0; j < nerr; j++) {
261 for (
int i = 0; i <
DEnsys; i++) {
299 std::cout <<
"L1TDEMON::beginJob() end.\n" << std::flush;
MonitorElement * rnkData[dedefs::DEnsys]
const std::string SystLabelExt[DEnsys]
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 * phi[dedefs::DEnsys]
MonitorElement * x3[dedefs::DEnsys]
MonitorElement * dword[dedefs::DEnsys]
MonitorElement * sysncand[2]
MonitorElement * etaData[dedefs::DEnsys]
MonitorElement * x3Data[dedefs::DEnsys]
MonitorElement * sysrates
monitoring elements
bool m_doSys[dedefs::DEnsys]
MonitorElement * eword[dedefs::DEnsys]
MonitorElement * deword[dedefs::DEnsys]
MonitorElement * eta[dedefs::DEnsys]
const std::string SystLabel[DEnsys]
MonitorElement * errordist
MonitorElement * phiData[dedefs::DEnsys]
MonitorElement * etaphi[dedefs::DEnsys]
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * errortype[dedefs::DEnsys]