59 std::cout <<
"L1TDEMON::beginJob() start\n" << std::flush;
69 int phiNBins[
DEnsys] = {71, 71, 18, 18, 12, 255, 160, 255, 144, 0, 255, 0};
70 double phiMinim[
DEnsys] = {0.5, 0.5, -0.5, -0.5, -0.5, 0, -0.5, 0, -0.5, 0, 0, 0};
71 double phiMaxim[
DEnsys] = {71.5, 71.5, 17.5, 17.5, 11.5, 255, 159.5, 255, 143.5, 0, 255, 0};
73 int etaNBins[
DEnsys] = {35, 35, 22, 22, 5, 20, 120, 20, 64, 0, 20, 0};
74 double etaMinim[
DEnsys] = {-17.5, -17.5, -0.5, -0.5, -2.5, 0, -0.5, 0, -0.5, 0, 0, 0};
75 double etaMaxim[
DEnsys] = {17.5, 17.5, 21.5, 21.5, 2.5, 63, 119.5, 63, 63.5, 0, 63, 0};
77 int x3NBins[
DEnsys] = {0, 0, 7, 0, 4, 0, 0, 0, 0, 0, 0, 0};
78 double x3Minim[
DEnsys] = {0, 0, -0.5, 0, 0.5, 0, 0, 0, 0, 0, 0, 0};
79 double x3Maxim[
DEnsys] = {0, 0, 6.5, 0, 4.5, 0, 0, 0, 0, 0, 0, 0};
81 int rnkNBins[
DEnsys] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
82 double rnkMinim[
DEnsys] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
83 double rnkMaxim[
DEnsys] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
107 for (
int j = 0;
j < 2;
j++) {
109 lbl += (
j == 0 ?
"Data" :
"Emul");
113 sysrates = ibooker.
book1D(
"sysrates",
"sysrates", DEnsys, 0, DEnsys);
142 eta[
j] = ibooker.
book1D(lbl.data(), lbl.data(), etaNBins[
j], etaMinim[
j], etaMaxim[
j]);
146 phi[
j] = ibooker.
book1D(lbl.data(), lbl.data(), phiNBins[
j], phiMinim[
j], phiMaxim[
j]);
150 x3[
j] = ibooker.
book1D(lbl.data(), lbl.data(), x3NBins[
j], x3Minim[
j], x3Maxim[
j]);
155 lbl.data(), lbl.data(), etaNBins[
j], etaMinim[
j], etaMaxim[
j], phiNBins[
j], phiMinim[
j], phiMaxim[
j]);
161 etaData[
j] = ibooker.
book1D(lbl.data(), lbl.data(), etaNBins[
j], etaMinim[
j], etaMaxim[
j]);
166 phiData[
j] = ibooker.
book1D(lbl.data(), lbl.data(), phiNBins[
j], phiMinim[
j], phiMaxim[
j]);
171 x3Data[
j] = ibooker.
book1D(lbl.data(), lbl.data(), x3NBins[
j], x3Minim[
j], x3Maxim[
j]);
176 rnkData[
j] = ibooker.
book1D(lbl.data(), lbl.data(), rnkNBins[
j], rnkMinim[
j], rnkMaxim[
j]);
178 const int nbit = (j ==
GLT) ? 128 : 32;
182 dword[
j] = ibooker.
book1D(lbl.data(), lbl.data(), nbit, 0, nbit);
186 eword[
j] = ibooker.
book1D(lbl.data(), lbl.data(), nbit, 0, nbit);
190 deword[
j] = ibooker.
book1D(lbl.data(), lbl.data(), nbit, 0, nbit);
203 std::string errLabel[nerr] = {
"Agree",
"Loc. Agree",
"L.Disagree",
"Data only",
"Emul only"};
204 for (
int j = 0; j < nerr; j++) {
207 for (
int i = 0; i <
DEnsys; i++) {
213 for (
int j = 0; j < nerr; j++) {
222 for (
int i = 0; i <
DEnsys; i++) {
258 std::cout <<
"L1TDEMON::bookHistograms() end.\n" << std::flush;
MonitorElement * rnkData[dedefs::DEnsys]
const std::string SystLabelExt[DEnsys]
virtual void setCurrentFolder(std::string const &fullpath)
MonitorElement * phi[dedefs::DEnsys]
MonitorElement * x3[dedefs::DEnsys]
MonitorElement * dword[dedefs::DEnsys]
MonitorElement * sysncand[2]
MonitorElement * etaData[dedefs::DEnsys]
MonitorElement * x3Data[dedefs::DEnsys]
virtual 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 * sysrates
monitoring elements
bool m_doSys[dedefs::DEnsys]
MonitorElement * eword[dedefs::DEnsys]
MonitorElement * deword[dedefs::DEnsys]
MonitorElement * eta[dedefs::DEnsys]
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
const std::string SystLabel[DEnsys]
MonitorElement * errordist
MonitorElement * phiData[dedefs::DEnsys]
MonitorElement * etaphi[dedefs::DEnsys]
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
MonitorElement * errortype[dedefs::DEnsys]
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)