72 std::cout <<
"L1TDEMON::beginJob() start\n" << std::flush;
87 int phiNBins[
DEnsys] = { 71 , 71 , 18 ,18 , 12, 255, 160, 255, 144, 0, 255,0};
88 double phiMinim[
DEnsys] = { 0.5, 0.5, -0.5,-0.5,-0.5, 0, -0.5, 0, -0.5, 0, 0,0};
89 double phiMaxim[
DEnsys] = { 71.5, 71.5, 17.5,17.5,11.5, 255,159.5, 255, 143.5, 0, 255,0};
91 int etaNBins[
DEnsys] = { 35 , 35 , 22 ,22 , 5, 20, 120, 20, 64, 0, 20,0};
92 double etaMinim[
DEnsys] = {-17.5,-17.5, -0.5,-0.5,-2.5, 0, -0.5, 0, -0.5, 0, 0,0};
93 double etaMaxim[
DEnsys] = { 17.5, 17.5, 21.5,21.5, 2.5, 63,119.5, 63, 63.5, 0, 63,0};
95 int x3NBins [
DEnsys] = { 0, 0, 7, 0, 4, 0, 0, 0, 0, 0, 0,0};
96 double x3Minim [
DEnsys] = { 0, 0, -0.5, 0, 0.5, 0, 0, 0, 0, 0, 0,0};
97 double x3Maxim [
DEnsys] = { 0, 0, 6.5, 0, 4.5, 0, 0, 0, 0, 0, 0,0};
99 int rnkNBins[
DEnsys] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0};
100 double rnkMinim[
DEnsys] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0};
101 double rnkMaxim[
DEnsys] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0};
109 rnkMinim[
DTP] = -0.5;
112 rnkMinim[
CTP] = -0.5;
113 rnkMaxim[
CTP] = 15.5;
127 for (
int j = 0;
j < 2;
j++) {
128 std::string lbl(
"sysncand");
129 lbl += (
j == 0 ?
"Data" :
"Emul");
166 etaMinim[
j], etaMaxim[
j]);
171 phiMinim[
j], phiMaxim[
j]);
175 x3[
j] =
dbe->
book1D(lbl.data(), lbl.data(), x3NBins[
j], x3Minim[
j],
181 etaMinim[
j], etaMaxim[
j], phiNBins[
j], phiMinim[
j],
189 etaMinim[
j], etaMaxim[
j]);
195 phiMinim[
j], phiMaxim[
j]);
201 x3Minim[
j], x3Maxim[
j]);
207 rnkMinim[
j], rnkMaxim[
j]);
209 const int nbit = (j ==
GLT) ? 128 : 32;
236 std::string errLabel[nerr] = {
"Agree",
"Loc. Agree",
"L.Disagree",
237 "Data only",
"Emul only" };
238 for (
int j = 0; j < nerr; j++) {
241 for (
int i = 0; i <
DEnsys; i++) {
248 for (
int j = 0; j < nerr; j++) {
258 for (
int i = 0; i <
DEnsys; i++) {
296 std::cout <<
"L1TDEMON::beginJob() end.\n" << std::flush;
MonitorElement * rnkData[dedefs::DEnsys]
const std::string SystLabelExt[DEnsys]
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
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]
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
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]
void setCurrentFolder(const std::string &fullpath)