Skip to content

Commit be7f5e1

Browse files
committed
ITS3: add study workflow and fix QA macros
Signed-off-by: Felix Schlepper <[email protected]>
1 parent da7b62e commit be7f5e1

File tree

17 files changed

+1445
-1109
lines changed

17 files changed

+1445
-1109
lines changed

Detectors/ITSMFT/ITS/macros/test/CheckTracksCA.C

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,8 @@ void CheckTracksCA(bool doEffStud = true,
335335
multiFak->Write("multiFake");
336336
clone->Write("clones");
337337
}
338+
c1->SaveAs("efficiency.png");
339+
c2->SaveAs("vertex.png");
338340
std::cout << " done." << std::endl;
339341
}
340342

@@ -639,6 +641,7 @@ void CheckTracksCA(bool doEffStud = true,
639641
c->cd(25);
640642
doPullCalc(hQoPtPull);
641643
c->Draw();
644+
c->SaveAs("pulls.png");
642645
std::cout << " done\n";
643646
}
644647

Detectors/Upgrades/ITS3/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ add_subdirectory(base)
1919
add_subdirectory(workflow)
2020
add_subdirectory(reconstruction)
2121
add_subdirectory(macros)
22+
add_subdirectory(study)

Detectors/Upgrades/ITS3/macros/test/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
its3_add_macro(CheckDigitsITS3.C)
1313
its3_add_macro(CheckClustersITS3.C)
1414
its3_add_macro(CheckTracksITS3.C)
15-
its3_add_macro(CheckDCA.C)
1615
its3_add_macro(CreateDictionariesITS3.C)
1716
its3_add_macro(buildMatBudLUT.C)
1817
its3_add_macro(CheckHits.C)

Detectors/Upgrades/ITS3/macros/test/CheckClustersITS3.C

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ void CheckClustersITS3(const std::string& clusfile = "o2clus_its.root",
283283
nt.Draw("cgy:cgx>>h_cgy_vs_cgx_OB(1000, -50, 50, 1000, -50, 50)", "id >= 3456", "colz");
284284
canvCgXCgY->cd(4);
285285
nt.Draw("cgy:cgz>>h_cgy_vs_cgz_OB(1000, -100, 100, 1000, -50, 50)", "id >= 3456", "colz");
286-
canvCgXCgY->SaveAs("it3clusters_y_vs_x_vs_z.pdf");
286+
canvCgXCgY->SaveAs("it3clusters_y_vs_x_vs_z.png");
287287

288288
auto canvdXdZ = new TCanvas("canvdXdZ", "", 1600, 800);
289289
canvdXdZ->Divide(2, 2);
@@ -295,7 +295,7 @@ void CheckClustersITS3(const std::string& clusfile = "o2clus_its.root",
295295
nt.Draw("dx:dz>>h_dx_vs_dz_IB_z(1000, -0.01, 0.01, 1000, -0.01, 0.01)", "id < 3456 && abs(cgz) < 2", "colz");
296296
canvdXdZ->cd(4)->SetLogz();
297297
nt.Draw("dx:dz>>h_dx_vs_dz_OB_z(1000, -0.01, 0.01, 1000, -0.01, 0.01)", "id >= 3456 && abs(cgz) < 2", "colz");
298-
canvdXdZ->SaveAs("it3clusters_dx_vs_dz.pdf");
298+
canvdXdZ->SaveAs("it3clusters_dx_vs_dz.png");
299299

300300
auto canvCHXZ = new TCanvas("canvCHXZ", "", 1600, 1600);
301301
canvCHXZ->Divide(2, 2);
@@ -307,7 +307,7 @@ void CheckClustersITS3(const std::string& clusfile = "o2clus_its.root",
307307
nt.Draw("(cgz-hgz)*10000:eta>>h_chz_IB(101,-1.4,1.4,101,-50,50)", "id<3456", "prof");
308308
canvCHXZ->cd(4);
309309
nt.Draw("(cgz-hgz)*10000:eta>>h_chz_OB(101,-1.4,1.4,101,-50,50)", "id>=3456", "prof");
310-
canvCgXCgY->SaveAs("it3clusters_xz_eta.pdf");
310+
canvCgXCgY->SaveAs("it3clusters_xz_eta.png");
311311

312312
auto c1 = new TCanvas("p1", "pullX");
313313
c1->cd();

Detectors/Upgrades/ITS3/macros/test/CheckDCA.C

Lines changed: 0 additions & 965 deletions
This file was deleted.

0 commit comments

Comments
 (0)