Go to the source code of this file.
int plot_trackingQA |
( |
TString |
fileName | ) |
|
Definition at line 1 of file plot_trackingQA.C.
References c1, c2, c3, c4, and f.
2 TFile*
f =
new TFile(fileName);
3 TH1* histMVDPixel = (TH1*)f->Get(
"MVDHitsPixel");
4 histMVDPixel->GetXaxis()->SetRangeUser(0., 10.);
5 histMVDPixel->SetXTitle(
"NHits");
6 histMVDPixel->SetYTitle(
"Efficiency");
7 TH1* histMVDStrip = (TH1*)f->Get(
"MVDHitsStrip");
8 histMVDStrip->SetXTitle(
"NHits");
9 histMVDStrip->SetYTitle(
"Efficiency");
10 histMVDStrip->GetXaxis()->SetRangeUser(0., 10.);
12 TH1* histSTTHit = (TH1*)f->Get(
"STTHit");
13 histSTTHit->SetXTitle(
"NHits");
14 histSTTHit->SetYTitle(
"Efficiency");
15 TH1* histGEMHit = (TH1*)f->Get(
"GEMHit");
16 histGEMHit->GetXaxis()->SetRangeUser(0., 10.);
17 histGEMHit->SetXTitle(
"NHits");
18 histGEMHit->SetYTitle(
"Efficiency");
19 TH1* histFTSHit = (TH1*)f->Get(
"FTSHit");
20 histFTSHit->SetXTitle(
"NHits");
21 histFTSHit->SetYTitle(
"Efficiency");
23 TCanvas*
c1 =
new TCanvas();
26 histMVDPixel->Draw(
"colz");
28 histMVDStrip->Draw(
"colz");
30 histSTTHit->Draw(
"colz");
32 histGEMHit->Draw(
"colz");
34 histFTSHit->Draw(
"colz");
36 TH1* histoP = (TH1*)f->Get(
"fPHisto");
37 TH1* histoPRel = (TH1*)f->Get(
"fPRelHisto");
38 TH1* histoPt = (TH1*)f->Get(
"fPtHisto");
39 TH1* histoPtRel = (TH1*)f->Get(
"fPtRelHisto");
40 TH1* histoPl = (TH1*)f->Get(
"fPlHisto");
41 TH1* histoPlRel = (TH1*)f->Get(
"fPlRelHisto");
45 TCanvas*
c2 =
new TCanvas();
60 TH1* histoQualy = (TH1*)f->Get(
"fQualyHisto");
61 TH1* histoQualyColor = (TH1*)f->Get(
"fQualyHistoColor");
62 TH1* histoQualyRelAll = (TH1*)f->Get(
"fQualyHisto_rel_all");
63 TH1* histoQualyRelPos = (TH1*)f->Get(
"fQualyHisto_rel_possible");
65 TCanvas*
c3 =
new TCanvas();
68 histoQualy->Draw(
"TEXT HISTO");
70 histoQualyColor->Draw(
"TEXT HISTO");
72 histoQualyRelAll->Draw(
"TEXT HISTO");
74 histoQualyRelPos->Draw(
"TEXT HISTO");
76 TCanvas*
c4 =
new TCanvas();
78 histoQualyRelPos->Draw(
"TEXT HISTO");