README for performance classes (Jacek)
authorjotwinow <jotwinow@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 6 Jul 2009 17:22:52 +0000 (17:22 +0000)
committerjotwinow <jotwinow@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 6 Jul 2009 17:22:52 +0000 (17:22 +0000)
PWG1/macros/README [new file with mode: 0644]

diff --git a/PWG1/macros/README b/PWG1/macros/README
new file mode 100644 (file)
index 0000000..d95d0db
--- /dev/null
@@ -0,0 +1,48 @@
+// How to run expert QA
+// using performance components.
+// 
+// By default 6 performance components are added to 
+// the output: 
+1. AliPerformanceRes (TPC track resolution at DCA)
+2. AliPerformanceResTPCInner (TPC track resolution at inner TPC wall)
+3. AliPerformanceEff (TPC track reconstruction efficieny)
+4. AliPerformanceDEdxTPCInner (TPC dEdx response - track parameters at TPC inner wall)
+5. AliPerformanceDCA (TPC impact parameter resolution at DCA)
+6. AliPerformanceTPC (TPC cluster and track information)
+
+// OPTIONS to run components on train:
+
+ALL - all TPC performance components
+RES - TPC resolution components
+EFF - TPC efficiency component
+DEDX - TPC dedx component
+DCA - TPC DCA component
+
+//
+// Quick Start:
+// 
+
+1. go to working directory
+cd $ALICE_ROOT/PWG1/macros
+
+2. run performance train (trains) on resonable statistics (estimate output size)
+aliroot -q -b  RunPerformanceTrain.C'("list_PbPb_EMCAL_small.txt","ALL",2)'
+
+3. merge output files (if necessary)
+aliroot -q -b MergeOutput.C'("outList.txt","ALL",2)';
+
+4. analyse and print output histograms (e.g. AliPerformanceEff component)
+
+aliroot
+
+TFile f("TPC.Performance.Merged.root");
+AliPerformanceEff * compObjEff = (AliPerformanceEff*)coutput->FindObject("AliPerformanceEff");
+compObjEff->Analyse();
+compObjEff->GetAnalysisFolder()->ls("*");
+// create pictures
+compObjEff->PrintHisto(kTRUE,"PerformanceEffQA.ps");
+// store output QA histograms in file
+TFile fout("PerformanceEffQAHisto.root","recreate");
+compObjEff->GetAnalysisFolder()->Write();
+fout.Close();
+f.Close();