102 Float_t Xmin = geo->
GetX0();
103 Float_t Ymin = geo->
GetY0();
104 Float_t Zmin = geo->
GetZ0();
121 const Int_t
dim = 500;
124 CreateHistogram1(
"local X distribution of electrons in all GEM-stations", _suffix,
"X, cm", 100, Xmin, -Xmin);
126 CreateHistogram1(
"local Y distribution of electrons in all GEM-stations", _suffix,
"Y, cm", 100, Ymin, -Ymin);
128 CreateHistogram1(
"local Z distribution of electrons in all GEM-stations", _suffix,
"Z, cm", 100, Zmin, Zmax);
130 Char_t buffX[
dim] =
" ", buffY[
dim] =
" ", buffZ[
dim] =
" ";
134 sprintf(buffX,
"local X distribution of electrons in GEM%d",
i);
135 sprintf(buffY,
"local Y distribution of electrons in GEM%d",
i);
142 500, Xmin, -Xmin, 500, Ymin, -Ymin);
144 500, Ymin, -Ymin, 500, Zmin, Zmax);
146 500, Xmin, -Xmin, 500, Zmin, Zmax);
150 sprintf(buffX,
"local XY distribution of electrons in GEM%d",
i);
151 sprintf(buffY,
"local YZ distribution of electrons in GEM%d",
i);
152 sprintf(buffZ,
"local XZ distribution of electrons in GEM%d",
i);
154 XY[
i] =
CreateHistogram2(buffX, _suffix,
"X, cm",
"Y, cm", 500, Xmin, -Xmin, 500, Ymin, -Ymin);
157 _hADCX =
CreateHistogram1(
"X_ADC distribution in all GEM-stations", _suffix,
"ADC, x-strips", 100, 0., 10000.);
158 _hADCY =
CreateHistogram1(
"Y_ADC distribution in all GEM-stations", _suffix,
"ADC, y-strips", 100, 0., 10000.);
162 sprintf(buffX,
"X_ADC distribution in GEM%d",
i);
163 sprintf(buffY,
"Y_ADC distribution in GEM%d",
i);
169 _hDigiX =
CreateHistogram1(
"X_DIGIT distribution in all GEM-stations", _suffix,
"DIGITS, x-strips", 100, 0., 2000.);
170 _hDigiY =
CreateHistogram1(
"Y_DIGIT distribution in all GEM-stations", _suffix,
"DIGITS, y-strips", 100, 0., 2000.);
174 sprintf(buffX,
"X_DIGIT distribution in GEM%d",
i);
175 sprintf(buffY,
"Y_DIGIT distribution in GEM%d",
i);
182 "DIGITS, x-strips", 100, 0., 2000.);
184 "DIGITS, y-strips", 100, 0., 2000.);
188 sprintf(buffX,
"X_DIGIT weighted to ADC distribution in GEM%d",
i);
189 sprintf(buffY,
"Y_DIGIT weighted to ADC distribution in GEM%d",
i);
TH2F * CreateHistogram2(const char *name, const char *xtitle, const char *ytitle, int nbinx, Float_t firstBinX, Float_t lastBinX, int nbiny, Float_t firstBinY, Float_t lastBinY)