45 const Int_t nDets = 2;
46 TString detNames[nDets] = {
"GEM",
"SILICON"};
47 for (
Int_t iDet = 0; iDet < nDets; iDet++)
49 Form(
"%sDST_1d, Distribution of Nhits, %s track",
prefix.Data(), detNames[iDet].
Data()),
50 Form(
"DST, Distribution of Nhits, %s track", detNames[iDet].Data()), 100, 0., 0.);
53 Form(
"DST, Distribution of total multiplicity"), 100, 0., 0.);
55 Form(
"DST, Distribution of momenta"), 200, -20., +20.);
57 Form(
"DST, Distribution of Nhits"), 100, 0., 0.);
60 Form(
"DST_2d, Vp_{z} vs. Ntracks"), 20, 0, 20, 200, -10., +10.);
62 const Int_t nDims = 3;
64 for (
Int_t iDim = 0; iDim < nDims; iDim++) {
66 Form(
"DST, Distribution of start%s",
dim[iDim].Data()), 100, 0., 0.);
67 if (!
dim[iDim].Contains(
"Z"))
69 Form(
"DST, Distribution of start T%s",
dim[iDim].Data()), 100, 0., 0.);
71 Form(
"DST, Distribution of last%s",
dim[iDim].Data()), 100, 0., 0.);
72 if (!
dim[iDim].Contains(
"Z"))
74 Form(
"DST, Distribution of last T%s",
dim[iDim].Data()), 100, 0., 0.);
80 const Int_t nDets = 6;
81 TString detNames[nDets] = {
"GEM",
"SILICON",
"CSC",
"TOF400",
"TOF700",
"DCH"};
84 for (
Int_t iDet = 0; iDet < nDets; iDet++) {
86 Form(
"%s, Distribution of X", detNames[iDet].Data()), 100, 0., 0.);
88 Form(
"%s, Distribution of Y", detNames[iDet].Data()), 100, 0., 0.);
90 Form(
"%s, Distribution of Z", detNames[iDet].Data()), 100, 0., 0.);
94 for (
Int_t iDet = 0; iDet < nDets; iDet++) {
96 Form(
"%s, Distribution of dX", detNames[iDet].Data()), 100, 0., 0.);
98 Form(
"%s, Distribution of dY", detNames[iDet].Data()), 100, 0., 0.);
102 for (
Int_t iDet = 0; iDet < nDets; iDet++) {
108 Form(
"%sDST_1d, %s, Distribution of X cluster size",
prefix.Data(), detNames[iDet].
Data()),
109 Form(
"%s, Distribution of X cluster size", detNames[iDet].Data()), 16, 0., 16.);
111 Form(
"%sDST_1d, %s, Distribution of X' cluster size",
prefix.Data(), detNames[iDet].
Data()),
112 Form(
"%s, Distribution of X' cluster size", detNames[iDet].Data()), 16, 0., 16.);
116 Form(
"%sDST_1d, %s, Distribution of X cluster signals",
prefix.Data(), detNames[iDet].
Data()),
117 Form(
"%s, Distribution of X cluster size", detNames[iDet].Data()), 100, 0., 0.);
119 Form(
"%sDST_1d, %s, Distribution of X' cluster signals",
prefix.Data(), detNames[iDet].
Data()),
120 Form(
"%s, Distribution of X' cluster size", detNames[iDet].Data()), 100, 0., 0.);
126 const Int_t nBins = 20;
127 const Int_t nBinsXY = 50;
129 const Int_t nDets = 4;
130 TString dets[nDets] = {
"CSC",
"DCH1",
"TOF700",
"DCH2"};
132 for (
Int_t iDet = 0; iDet < nDets; iDet++) {
134 Form(
"%s, matchingMomWithout; Rigidity [GeV/(Qc)]; N", dets[iDet].Data()), nBins,
137 Form(
"%s, matchingMomWith; Rigidity [GeV/(Qc)]; N", dets[iDet].Data()), nBins, 0.,
141 Form(
"%s, matchingEffWithout; X [cm]; Y [cm]", dets[iDet].Data()), nBinsXY, -20,
142 100, nBinsXY, -60, 60);
144 Form(
"%s, matchingEffWith; X [cm]; Y [cm]", dets[iDet].Data()), nBinsXY, -20, 100,
151 const Int_t nBins = 20;
152 const Int_t nBinsXY = 50;
153 const Int_t nDets = 4;
154 TString dets[nDets] = {
"CSC",
"DCH1",
"TOF700",
"DCH2"};
156 for (
Int_t iDet = 0; iDet < nDets; iDet++) {
159 Form(
"%s, Efficiency of matching; Rigidity [GeV/(Qc)]; Efficiency", dets[iDet].Data()), nBins, 0., 15.);
162 Form(
"%s, Efficiency of matching; X [cm]; Y [cm]", dets[iDet].Data()), nBinsXY,
163 -20, 100, nBinsXY, -60, 60);
169 const Int_t nDets = 8;
170 TString dets[nDets] = {
"MWPC",
"SILICON",
"GEM",
"CSC",
"TOF400",
"DCH1",
"TOF700",
"DCH2"};
174 for (
Int_t iDet = 0; iDet < nDets; iDet++) {
176 Form(
"%s, Residuals X; X Residual [cm]; N", dets[iDet].Data()), 100, -resBoard,
179 Form(
"%s, Residuals Y; Y Residual [cm]; N", dets[iDet].Data()), 100, -resBoard,
183 Form(
"%s Pulls X; X Pull [cm]; N", dets[iDet].Data()), 100, -resBoard, resBoard);
185 Form(
"%s, Pulls Y; Y Pull [cm]; N", dets[iDet].Data()), 100, -resBoard, resBoard);
191 const Int_t nDets = 5;
192 TString dets[nDets] = {
"SILICON",
"GEM",
"CSC",
"TOF400",
"TOF700"};
194 for (
Int_t iDet = 0; iDet < nDets; iDet++) {
195 if (dets[iDet].Contains(
"GEM"))
196 for (
Int_t iStat = 0; iStat <
fDetGem->GetNStations(); iStat++) {
203 Form(
"%sDST_2d, hOccupancy%s, stat %d",
prefix.Data(), dets[iDet].
Data(), iStat),
204 Form(
"Occupancy %s, stat %d; X [cm]; Y [cm]", dets[iDet].Data(), iStat),
Int_t(xUp - xLow), xLow,
205 xUp,
Int_t(yUp - yLow), yLow, yUp);
207 else if (dets[iDet].Contains(
"SILICON"))
215 Form(
"%sDST_2d, hOccupancy%s, stat %d",
prefix.Data(), dets[iDet].
Data(), iStat),
216 Form(
"Occupancy %s, stat %d; X [cm]; Y [cm]", dets[iDet].Data(), iStat), 3 *
Int_t(xUp - xLow),
217 xLow, xUp, 3 *
Int_t(yUp - yLow), yLow, yUp);
219 else if (dets[iDet].Contains(
"CSC") &&
fDetCsc)
220 for (
Int_t iStat = 0; iStat <
fDetCsc->GetNStations(); iStat++) {
227 Form(
"%sDST_2d, hOccupancy%s, stat %d",
prefix.Data(), dets[iDet].
Data(), iStat),
228 Form(
"Occupancy %s, stat %d; X [cm]; Y [cm]", dets[iDet].Data(), iStat),
Int_t(xUp - xLow), xLow,
229 xUp,
Int_t(yUp - yLow), yLow, yUp);
233 Form(
"Occupancy %s; X [cm]; Y [cm]", dets[iDet].Data()), 100, 0., 0., 100, 0.,
240 const Int_t nLayers = 2;
241 TString layers[nLayers] = {
"X",
"X'"};
243 for (
Int_t iLayer = 0; iLayer < nLayers; iLayer++) {
244 for (
Int_t iStat = 0; iStat <
fDetGem->GetNStations(); iStat++)
246 Form(
"%sDST_1d, Ave. strip value per hit in %s (%s)",
prefix.Data(),
"GEM", layers[iLayer].
Data()),
247 Form(
"%s, Ave. strip value per hit (%s); N_{strips}; N",
"GEM", layers[iLayer].Data()), 20, 0., 20.);
251 Form(
"%sDST_1d, Ave. strip value per hit in %s (%s)",
prefix.Data(),
"SILICON", layers[iLayer].
Data()),
252 Form(
"%s, Ave. strip value per hit (%s); N_{strips}; N",
"SILICON", layers[iLayer].Data()), 20, 0.,
256 for (
Int_t iStat = 0; iStat <
fDetCsc->GetNStations(); iStat++)
258 Form(
"%sDST_1d, Ave. strip value per hit in %s (%s)",
prefix.Data(),
"CSC", layers[iLayer].
Data()),
259 Form(
"%s, Ave. strip value per hit (%s); N_{strips}; N",
"CSC", layers[iLayer].Data()), 20, 0.,
266 const Int_t nLayers = 2;
267 TString layers[nLayers] = {
"X",
"X'"};
269 for (
Int_t iLayer = 0; iLayer < nLayers; iLayer++) {
270 for (
Int_t iStat = 0; iStat <
fDetGem->GetNStations(); iStat++)
272 Form(
"%sDST_1d, Ave. strip value per track in %s (%s)",
prefix.Data(),
"GEM", layers[iLayer].
Data()),
273 Form(
"%s, Ave. strip value per track (%s); N_{strips}; N",
"GEM", layers[iLayer].Data()), 20, 0., 20.);
277 Form(
"%sDST_1d, Ave. strip value per track in %s (%s)",
prefix.Data(),
"SILICON",
278 layers[iLayer].
Data()),
279 Form(
"%s, Ave. strip value per track (%s); N_{strips}; N",
"SILICON", layers[iLayer].Data()), 20, 0.,
283 for (
Int_t iStat = 0; iStat <
fDetCsc->GetNStations(); iStat++)
285 Form(
"%sDST_1d, Ave. strip value per track in %s (%s)",
prefix.Data(),
"CSC",
286 layers[iLayer].
Data()),
287 Form(
"%s, Ave. strip value per track (%s); N_{strips}; N",
"CSC", layers[iLayer].Data()), 20, 0.,