1 // How to run expert QA
2 // using performance components.
4 // By default 6 performance components are added to
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)
13 // OPTIONS to run components on train:
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
25 1. go to working directory
26 cd $ALICE_ROOT/PWG1/macros
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)'
31 3. merge output files (if necessary)
32 aliroot -q -b MergeOutput.C'("outList.txt","ALL",2)';
34 4. analyse and print output histograms (e.g. AliPerformanceEff component)
38 TFile f("TPC.Performance.Merged.root");
39 AliPerformanceEff * compObjEff = (AliPerformanceEff*)coutput->FindObject("AliPerformanceEff");
40 compObjEff->Analyse();
41 compObjEff->GetAnalysisFolder()->ls("*");
43 compObjEff->PrintHisto(kTRUE,"PerformanceEffQA.ps");
44 // store output QA histograms in file
45 TFile fout("PerformanceEffQAHisto.root","recreate");
46 compObjEff->GetAnalysisFolder()->Write();