]>
Commit | Line | Data |
---|---|---|
d4623060 | 1 | // How to run expert QA |
2 | // using performance components. | |
3 | // | |
4 | // By default 6 performance components are added to | |
5 | // the output: | |
6 | 1. AliPerformanceRes (TPC track resolution at DCA) | |
7 | 2. AliPerformanceResTPCInner (TPC track resolution at inner TPC wall) | |
8 | 3. AliPerformanceEff (TPC track reconstruction efficieny) | |
9 | 4. AliPerformanceDEdxTPCInner (TPC dEdx response - track parameters at TPC inner wall) | |
10 | 5. AliPerformanceDCA (TPC impact parameter resolution at DCA) | |
11 | 6. AliPerformanceTPC (TPC cluster and track information) | |
12 | ||
13 | // OPTIONS to run components on train: | |
14 | ||
15 | ALL - all TPC performance components | |
16 | RES - TPC resolution components | |
17 | EFF - TPC efficiency component | |
18 | DEDX - TPC dedx component | |
19 | DCA - TPC DCA component | |
20 | ||
21 | // | |
22 | // Quick Start: | |
23 | // | |
24 | ||
25 | 1. go to working directory | |
26 | cd $ALICE_ROOT/PWG1/macros | |
27 | ||
28 | 2. run performance train (trains) on resonable statistics (estimate output size) | |
29 | aliroot -q -b RunPerformanceTrain.C'("list_PbPb_EMCAL_small.txt","ALL",2)' | |
30 | ||
31 | 3. merge output files (if necessary) | |
32 | aliroot -q -b MergeOutput.C'("outList.txt","ALL",2)'; | |
33 | ||
34 | 4. analyse and print output histograms (e.g. AliPerformanceEff component) | |
35 | ||
36 | aliroot | |
37 | ||
38 | TFile f("TPC.Performance.Merged.root"); | |
39 | AliPerformanceEff * compObjEff = (AliPerformanceEff*)coutput->FindObject("AliPerformanceEff"); | |
40 | compObjEff->Analyse(); | |
41 | compObjEff->GetAnalysisFolder()->ls("*"); | |
42 | // create pictures | |
43 | compObjEff->PrintHisto(kTRUE,"PerformanceEffQA.ps"); | |
44 | // store output QA histograms in file | |
45 | TFile fout("PerformanceEffQAHisto.root","recreate"); | |
46 | compObjEff->GetAnalysisFolder()->Write(); | |
47 | fout.Close(); | |
48 | f.Close(); |