23 sprintf(modfull,
"%s%s",
module, postfix);
25 sprintf(labfull,
"%s%s",
label, postfix);
36 TH1F* ntrk = (TH1F*)castat.getObject(
"ntrk");
40 plotfilename += outtrunk;
41 plotfilename += shortname;
42 plotfilename +=
"/ntrk_";
43 plotfilename += labfull;
45 plotfilename += shortname;
46 plotfilename +=
".gif";
47 gPad->Print(plotfilename.c_str());
50 TH1F*
pt = (TH1F*)castat.getObject(
"pt");
54 plotfilename += outtrunk;
55 plotfilename += shortname;
56 plotfilename +=
"/pt_";
57 plotfilename += labfull;
59 plotfilename += shortname;
60 plotfilename +=
".gif";
62 gPad->Print(plotfilename.c_str());
66 gStyle->SetOptStat(11);
67 TProfile2D* ptphieta = (TProfile2D*)castat.getObject(
"ptphivseta");
69 ptphieta->Draw(
"colz");
71 plotfilename += outtrunk;
72 plotfilename += shortname;
73 plotfilename +=
"/ptphieta_";
74 plotfilename += labfull;
76 plotfilename += shortname;
77 plotfilename +=
".gif";
78 gPad->Print(plotfilename.c_str());
81 gStyle->SetOptStat(1111);
82 TH1F*
phi = (TH1F*)castat.getObject(
"phi");
86 plotfilename += outtrunk;
87 plotfilename += shortname;
88 plotfilename +=
"/phi_";
89 plotfilename += labfull;
91 plotfilename += shortname;
92 plotfilename +=
".gif";
93 gPad->Print(plotfilename.c_str());
96 TH1F*
eta = (TH1F*)castat.getObject(
"eta");
100 plotfilename += outtrunk;
101 plotfilename += shortname;
102 plotfilename +=
"/eta_";
103 plotfilename += labfull;
105 plotfilename += shortname;
106 plotfilename +=
".gif";
107 gPad->Print(plotfilename.c_str());
110 gStyle->SetOptStat(11);
111 TH2F* phieta = (TH2F*)castat.getObject(
"phivseta");
113 phieta->Draw(
"colz");
115 plotfilename += outtrunk;
116 plotfilename += shortname;
117 plotfilename +=
"/phieta_";
118 plotfilename += labfull;
120 plotfilename += shortname;
121 plotfilename +=
".gif";
122 gPad->Print(plotfilename.c_str());
124 gStyle->SetOptStat(1111);
126 TH1F* nrhits = (TH1F*)castat.getObject(
"nrhits");
130 plotfilename += outtrunk;
131 plotfilename += shortname;
132 plotfilename +=
"/nrhits_";
133 plotfilename += labfull;
135 plotfilename += shortname;
136 plotfilename +=
".gif";
137 gPad->Print(plotfilename.c_str());
140 gStyle->SetOptStat(11);
141 TProfile2D* nhitphieta = (TProfile2D*)castat.getObject(
"nhitphivseta");
143 nhitphieta->Draw(
"colz");
145 plotfilename += outtrunk;
146 plotfilename += shortname;
147 plotfilename +=
"/nhitphieta_";
148 plotfilename += labfull;
150 plotfilename += shortname;
151 plotfilename +=
".gif";
152 gPad->Print(plotfilename.c_str());
155 gStyle->SetOptStat(1111);
156 TH1F* nlosthits = (TH1F*)castat.getObject(
"nlosthits");
160 plotfilename += outtrunk;
161 plotfilename += shortname;
162 plotfilename +=
"/nlosthits_";
163 plotfilename += labfull;
165 plotfilename += shortname;
166 plotfilename +=
".gif";
167 gPad->Print(plotfilename.c_str());
170 TH1F* npixelhits = (TH1F*)castat.getObject(
"npixelhits");
174 plotfilename += outtrunk;
175 plotfilename += shortname;
176 plotfilename +=
"/npixelhits_";
177 plotfilename += labfull;
179 plotfilename += shortname;
180 plotfilename +=
".gif";
181 gPad->Print(plotfilename.c_str());
184 TH1F* nstriphits = (TH1F*)castat.getObject(
"nstriphits");
188 plotfilename += outtrunk;
189 plotfilename += shortname;
190 plotfilename +=
"/nstriphits_";
191 plotfilename += labfull;
193 plotfilename += shortname;
194 plotfilename +=
".gif";
195 gPad->Print(plotfilename.c_str());
198 TH1F* nrlayers = (TH1F*)castat.getObject(
"nlayers");
202 plotfilename += outtrunk;
203 plotfilename += shortname;
204 plotfilename +=
"/nrlayers_";
205 plotfilename += labfull;
207 plotfilename += shortname;
208 plotfilename +=
".gif";
209 gPad->Print(plotfilename.c_str());
212 gStyle->SetOptStat(11);
213 TProfile2D* nlayerphieta = (TProfile2D*)castat.getObject(
"nlayerphivseta");
215 nlayerphieta->Draw(
"colz");
217 plotfilename += outtrunk;
218 plotfilename += shortname;
219 plotfilename +=
"/nlayerphieta_";
220 plotfilename += labfull;
222 plotfilename += shortname;
223 plotfilename +=
".gif";
224 gPad->Print(plotfilename.c_str());
227 gStyle->SetOptStat(1111);
228 TH1F* nlostlayers = (TH1F*)castat.getObject(
"nlostlayers");
232 plotfilename += outtrunk;
233 plotfilename += shortname;
234 plotfilename +=
"/nlostlayers_";
235 plotfilename += labfull;
237 plotfilename += shortname;
238 plotfilename +=
".gif";
239 gPad->Print(plotfilename.c_str());
242 TH1F* npixellayers = (TH1F*)castat.getObject(
"npixellayers");
244 npixellayers->Draw();
246 plotfilename += outtrunk;
247 plotfilename += shortname;
248 plotfilename +=
"/npixellayers_";
249 plotfilename += labfull;
251 plotfilename += shortname;
252 plotfilename +=
".gif";
253 gPad->Print(plotfilename.c_str());
256 TH1F* nstriplayers = (TH1F*)castat.getObject(
"nstriplayers");
258 nstriplayers->Draw();
260 plotfilename += outtrunk;
261 plotfilename += shortname;
262 plotfilename +=
"/nstriplayers_";
263 plotfilename += labfull;
265 plotfilename += shortname;
266 plotfilename +=
".gif";
267 gPad->Print(plotfilename.c_str());
270 TH1F* hhpfrac = (TH1F*)castat.getObject(
"hhpfrac");
274 plotfilename += outtrunk;
275 plotfilename += shortname;
276 plotfilename +=
"/hhpfrac_";
277 plotfilename += labfull;
279 plotfilename += shortname;
280 plotfilename +=
".gif";
282 gPad->Print(plotfilename.c_str());
286 TH1F* halgo = (TH1F*)castat.getObject(
"algo");
290 plotfilename += outtrunk;
291 plotfilename += shortname;
292 plotfilename +=
"/halgo_";
293 plotfilename += labfull;
295 plotfilename += shortname;
296 plotfilename +=
".gif";
297 gPad->Print(plotfilename.c_str());
300 gStyle->SetOptStat(111);
301 gStyle->SetOptFit(111);
302 TProfile* hntrkvslumi = (TProfile*)castat.getObject(
"ntrkvslumi");
303 if (hntrkvslumi && hntrkvslumi->GetEntries() > 0) {
305 hntrkvslumi->Fit(
"pol2",
"",
"", 0.5, 3.0);
306 if (hntrkvslumi->GetFunction(
"pol2")) {
307 hntrkvslumi->GetFunction(
"pol2")->SetLineColor(kBlack);
308 hntrkvslumi->GetFunction(
"pol2")->SetLineWidth(1);
311 plotfilename += outtrunk;
312 plotfilename += shortname;
313 plotfilename +=
"/hntrkvslumi_";
314 plotfilename += labfull;
316 plotfilename += shortname;
317 plotfilename +=
".gif";
318 gPad->Print(plotfilename.c_str());
320 gStyle->SetOptStat(1111);
322 TH2D* hntrkvslumi2D = (TH2D*)castat.getObject(
"ntrkvslumi2D");
323 if (hntrkvslumi2D && hntrkvslumi2D->GetEntries() > 0) {
324 hntrkvslumi2D->Draw(
"colz");
326 hntrkvslumi->SetMarkerStyle(20);
327 hntrkvslumi->SetMarkerSize(.3);
328 hntrkvslumi->Draw(
"same");
331 plotfilename += outtrunk;
332 plotfilename += shortname;
333 plotfilename +=
"/hntrkvslumi2D_";
334 plotfilename += labfull;
336 plotfilename += shortname;
337 plotfilename +=
".gif";
339 gPad->Print(plotfilename.c_str());
341 delete hntrkvslumi2D;