10 regionLabel.push_back(
"-1");
11 regionLabel.push_back(
"1");
13 layerLabel.push_back(
"1");
14 layerLabel.push_back(
"2");
15 layerLabel.push_back(
"3");
16 layerLabel.push_back(
"4");
17 layerLabel.push_back(
"5");
18 layerLabel.push_back(
"6");
25 string hist_name, hist_label;
26 if (layer_num == 0 || layer_num == 1 || layer_num == 2 || layer_num == 3 || layer_num == 4 || layer_num == 5 ||
28 hist_name =
name +
string(
"_zr_r") + regionLabel[region_num] +
"_l" + layerLabel[layer_num];
29 hist_label =
label +
string(
" occupancy : region") + regionLabel[region_num] +
" layer " + layerLabel[layer_num] +
30 " " +
" ; globalZ [cm]; globalR[cm]";
32 hist_name =
name +
string(
"_zr_r") + regionLabel[region_num];
33 hist_label =
label +
string(
" occupancy : region") + regionLabel[region_num] +
" ; globalZ [cm]; globalR[cm]";
35 int xbin = (
int)nBinZR_[0];
36 int ybin = (
int)nBinZR_[1];
41 ymin = RangeZR_[RangeZR_.size() / 2 + 0];
43 ymax = RangeZR_[RangeZR_.size() / 2 + 1];
45 if (region_num == 0) {
57 string hist_name, hist_label;
58 if (layer_num == 0 || layer_num == 1 || layer_num == 2 || layer_num == 3 || layer_num == 4 || layer_num == 5 ||
60 hist_name =
name +
string(
"_xy_r") + regionLabel[region_num] +
"_l" + layerLabel[layer_num];
61 hist_label =
label +
string(
" occupancy : region") + regionLabel[region_num] +
" layer " + layerLabel[layer_num] +
62 " " +
" ; globalX [cm]; globalY[cm]";
64 hist_name =
name +
string(
"_xy_r") + regionLabel[region_num];
65 hist_label =
label +
string(
" occupancy : region") + regionLabel[region_num] +
" ; globalX [cm]; globalY[cm]";
67 return ibooker.
book2D(hist_name, hist_label, nBinXY_, -160, 160, nBinXY_, -160, 160);