227 |
|
theFile->cd(); |
228 |
|
theFile->mkdir("Others"); |
229 |
|
theFile->cd(); |
230 |
+ |
if (analyze_) { |
231 |
+ |
theFile->mkdir("Results"); |
232 |
+ |
theFile->cd(); |
233 |
+ |
} |
234 |
|
|
235 |
|
// Book Histograms: |
236 |
|
h_pvtrk = new PVHistograms(); |
293 |
|
theFile->cd("Summary"); |
294 |
|
h_pvtrk->Save(); |
295 |
|
h_pixvtx->Save(); |
292 |
– |
h_gen->Save(); |
296 |
|
h_misc->Save(); |
297 |
|
h_summary->Save(); |
298 |
< |
if (analyze_) |
298 |
> |
if (!realData_) |
299 |
> |
h_gen->Save(); |
300 |
> |
if (analyze_) { |
301 |
> |
theFile->cd(); |
302 |
> |
theFile->cd("Results"); |
303 |
|
h_ana->Save(); |
304 |
+ |
} |
305 |
|
theFile->cd(); |
306 |
|
theFile->cd("Others"); |
307 |
|
h_others->Save(); |