66 std::cout <<
"L1TDEMON::beginJob() start\n" << std::flush;
76 int phiNBins[
DEnsys] = { 71 , 71 , 18 ,18 , 12, 255, 160, 255, 144, 0, 255,0};
77 double phiMinim[
DEnsys] = { 0.5, 0.5, -0.5,-0.5,-0.5, 0, -0.5, 0, -0.5, 0, 0,0};
78 double phiMaxim[
DEnsys] = { 71.5, 71.5, 17.5,17.5,11.5, 255,159.5, 255, 143.5, 0, 255,0};
80 int etaNBins[
DEnsys] = { 35 , 35 , 22 ,22 , 5, 20, 120, 20, 64, 0, 20,0};
81 double etaMinim[
DEnsys] = {-17.5,-17.5, -0.5,-0.5,-2.5, 0, -0.5, 0, -0.5, 0, 0,0};
82 double etaMaxim[
DEnsys] = { 17.5, 17.5, 21.5,21.5, 2.5, 63,119.5, 63, 63.5, 0, 63,0};
84 int x3NBins [
DEnsys] = { 0, 0, 7, 0, 4, 0, 0, 0, 0, 0, 0,0};
85 double x3Minim [
DEnsys] = { 0, 0, -0.5, 0, 0.5, 0, 0, 0, 0, 0, 0,0};
86 double x3Maxim [
DEnsys] = { 0, 0, 6.5, 0, 4.5, 0, 0, 0, 0, 0, 0,0};
88 int rnkNBins[
DEnsys] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0};
89 double rnkMinim[
DEnsys] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0};
90 double rnkMaxim[
DEnsys] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0};
101 rnkMinim[
CTP] = -0.5;
102 rnkMaxim[
CTP] = 15.5;
114 for (
int j = 0;
j < 2;
j++) {
116 lbl += (
j == 0 ?
"Data" :
"Emul");
120 sysrates = ibooker.
book1D(
"sysrates",
"sysrates", DEnsys, 0, DEnsys);
151 eta[
j] = ibooker.
book1D(lbl.data(), lbl.data(), etaNBins[
j],
152 etaMinim[
j], etaMaxim[
j]);
156 phi[
j] = ibooker.
book1D(lbl.data(), lbl.data(), phiNBins[
j],
157 phiMinim[
j], phiMaxim[
j]);
161 x3[
j] = ibooker.
book1D(lbl.data(), lbl.data(), x3NBins[
j], x3Minim[
j],
167 etaMinim[
j], etaMaxim[
j], phiNBins[
j], phiMinim[
j],
175 etaMinim[
j], etaMaxim[
j]);
181 phiMinim[
j], phiMaxim[
j]);
187 x3Minim[
j], x3Maxim[
j]);
193 rnkMinim[
j], rnkMaxim[
j]);
195 const int nbit = (j ==
GLT) ? 128 : 32;
199 dword[
j] = ibooker.
book1D(lbl.data(), lbl.data(), nbit, 0, nbit);
203 eword[
j] = ibooker.
book1D(lbl.data(), lbl.data(), nbit, 0, nbit);
207 deword[
j] = ibooker.
book1D(lbl.data(), lbl.data(), nbit, 0, nbit);
221 std::string errLabel[nerr] = {
"Agree",
"Loc. Agree",
"L.Disagree",
222 "Data only",
"Emul only" };
223 for (
int j = 0; j < nerr; j++) {
226 for (
int i = 0; i <
DEnsys; i++) {
233 for (
int j = 0; j < nerr; j++) {
243 for (
int i = 0; i <
DEnsys; i++) {
281 std::cout <<
"L1TDEMON::bookHistograms() 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 * book1D(Args &&...args)
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]
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)
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]