1 --------------------------------------------
3 Authur: Satyajit Jena <sjena@cern.ch>
5 Last Update: Mon Mar 31 15:47:10 CEST 2014
6 Last Update: 27/06/2014 - LF
7 --------------------------------------------
10 README - This readme file
12 %+++++++++++++++++++++++++++++++++++++++++++
15 Script to run each post-processing macro on
18 Simple script to execute macros and produce output
20 Requirement: the macro paths need to be defined
21 ex: CODE=$ALICE_ROOT/PWGPP/analysisQA
23 Arguments for each macro should be change by
24 collecting proper information from respective
27 sh process.sh <output.root> <aod-number>
28 ex: sh process.sh output.root 145 eps
32 %+++++++++++++++++++++++++++++++++++++++++++
35 Processing of Flow QA task in Analysis QA train
39 %+++++++++++++++++++++++++++++++++++++++++++
40 processDrawAnaCaloTrackQA.C
42 %+++++++++++++++++++++++++++++++++++++++++++
45 %+++++++++++++++++++++++++++++++++++++++++++
48 %+++++++++++++++++++++++++++++++++++++++++++
51 Processes the results of the JE_PWG4HighPtTrackQA wagon. Should be run with the following arguments:
52 TString strFileIn = "AnalysisResults.root" : the path to the input file.
53 TString suffix = "eps" : the suffix that determines the output format. For example: eps, pdf, png, etc.
54 Int_t cent = 10 : the centrality class of the results. Options: 0 (0-10%), 1 (10-30%), 2 (30-50%), 3 (50-80%) and 10 (0-80%). Usually they are published with class 10.
55 Int_t trig = 1 : linked to the trigger. Default depends on data period: lhc11h: 1, containing lhc12 or lhc13: 5, or else: 6. On doubt one can always referr to the table at the bottom of this paragraph in after checking the AnalysisResults.root file with a browser.
56 Bool_t bESD = kFALSE : an obsolete variable. Might be removed in the future.
57 Int_t run = 0 : enables to add a run number to the plots. Not neccessary for general QA, and can be suppresed by giving the number 0.
58 const char *outfile ="JETrackQA_output.root" : the path to the place to store the plots as root file. This is in addition to the image files made with in the 'suffix' format.
60 if(trig==1) strTrigger = "kCentral";
61 if(trig==2) strTrigger = "kSemiCentral";
62 if(trig==3) strTrigger = "kMBkCentralkSemiCentral";
63 if(trig==4) strTrigger = "kEMCEJE";
64 if(trig==5) strTrigger = "kINT7";
65 if(trig==6) strTrigger = "kMB";
67 %+++++++++++++++++++++++++++++++++++++++++++
70 This is an old version of the macro. Use V2 if possible. Only use this for old results.
72 %+++++++++++++++++++++++++++++++++++++++++++
73 processJETriggerQA_V2.C
75 Processes the results of the JE_TriggerQAFullR020 wagon, and if present, can also be used for the results of the JE_TriggerQAFullR020_EMCEGA and JE_TriggerQAFullR020_EMCEJE wagon. Should be run with the following arguments:
76 TString strFileIn = "AnalysisResults.root" : the path to the input file.
77 TString suftype ="eps" : the suffix that deternmines the output format. For example: eps, pdf, png, etc.
78 Float_t jetR = 0.2 : the jetR. Default train value is 0.2, but can otherwise be found by opening the AnalysisResults.root file with the browser.
79 Float_t minTrkPT = 0.15 : the lower Track momentum cut-off. Default train value is 0.15, but can otherwise be found by opening the AnalysisResults.root file with the browser.
80 Float_t minClusterET = 0.3 : the lower Cluster energy cut-off. Default train value is 0.3, but can otherwise be found by opening the AnalysisResults.root file with the browser.
81 Int_t run = 0 : enables to add a run number to the plots. Not neccessary for general QA, and can be suppresed by giving the number 0.
82 TString trigsuffix = "" : leave empty to open the results of the JE_TriggerQAFullR020 wagon, but or use "EJE" or "EGA" to use the triggered results otherwise.
83 const char* outfile = "JETriggerQA_outfile.root" : the path to the place to store the plots as root file. This is in addition to the image files made with in the 'suffix' format.
85 %+++++++++++++++++++++++++++++++++++++++++++
86 processJpsi2eeQAplots.C
88 %+++++++++++++++++++++++++++++++++++++++++++
91 %+++++++++++++++++++++++++++++++++++++++++++
92 processMultistrangeQA.C
94 Processes the results of the wagons based on AddTaskQAMultistrange.C.
95 A copy is present in the folder: /PWGLF/QATasks/post/PostProcessQAMultistrange.C .
96 Creates a "summary pdf" file with several pages.
98 Int_t icasType = 0, // 0) Xi- 1) Xi+ 2) Omega- 3) Omega+
99 Int_t collidingsystem = 0, // 0) PbPb 1) pp 2) pPb
100 Bool_t isMC = kFALSE, // kTRUE-->MC and kFALSE-->Exp.
101 Char_t *fileDir = ".", // Input file directory
102 Char_t *filein = "AnalysisResults.root" // Input file name
103 Further details in the macro.
105 %+++++++++++++++++++++++++++++++++++++++++++
108 Processes the results of the wagons based on AddTaskQAPhi.C.
109 A copy is present in the folder: /PWGLF/QATasks/post/PostProcessQAPhi.C .
110 Creates a "summary pdf" file with several pages.
112 char* system = "pp276", // string giving the collision system ("pp276","pp7", or "PbPb276")
113 char* name_fin = "AnalysisResults.root", // name of input file
114 char* name_fout = "QAphi", // base name of output files (without suffix)
115 char* name_list = "RsnHistMini_Phi_PhiNsigma_KTPCnsig30", // name of the list in fin that contains histograms (may be different)
116 char* name_hist_base = "RsnMini_phi.PhiNsigma_KTPCnsig30" // base name of the THnSparse histograms (may be different)
117 Further details in the macro.
119 %+++++++++++++++++++++++++++++++++++++++++++
122 Processes the results of the wagons based on AddTaskQAV0.C or AddTaskQAV0AOD.C.
123 A copy is present in the folder: /PWGLF/QATasks/post/PostProcessQAV0.C .
124 Creates a "summary pdf" file with several pages.
126 Bool_t lAttemptInvMassFit = kTRUE // if kTRUE attempt rough signal extraction
127 The Macro run on the file: ./AnalysisResults.root .
129 %+++++++++++++++++++++++++++++++++++++++++++
132 Processes the results of the wagons based on AddTaskQAHighPtDeDx.C.
133 A copy is present in the folder: /PWGLF/QATasks/post/PostProcessQAHighPtDeDx.C .
134 How to run (use AliRoot because of AliXRDPROOFtoolkit):
136 gSystem->AddIncludePath("-I$ALICE_ROOT/TPC/Base")
137 gSystem->AddIncludePath("-I$ALICE_ROOT/PWGLF/SPECTRA/IdentifiedHighPt/macros")
138 gSystem->AddIncludePath("-I$ALICE_ROOT/PWGLF/SPECTRA/IdentifiedHighPt/grid")
139 gSystem->AddIncludePath("-I$ALICE_ROOT/PWGLF/SPECTRA/IdentifiedHighPt/lib")
140 gROOT->SetMacroPath(".:$ALICE_ROOT/PWGLF/SPECTRA/IdentifiedHighPt/macros:$ALICE_ROOT/PWGLF/SPECTRA/IdentifiedHighPt/grid:$ALICE_ROOT/PWGLF/SPECTRA/IdentifiedHighPt/lib/")
143 .L PostProcessQAHighPtDeDx.C+
145 PlotQA("FileRoot/AnalysisResults.root")
147 MakeFitsExternalData("FileRoot/AnalysisResults.root", "HistosForBB")
148 MakeFitsV0s("FileRoot/AnalysisResults.root", "HistosForBB/PrimaryElectrons.root", "HistosForBB",0)
149 MakeFitsV0s("FileRoot/AnalysisResults.root", "HistosForBB/PrimaryElectrons.root", "HistosForBB",1)
150 MakeFitsV0s("FileRoot/AnalysisResults.root", "HistosForBB/PrimaryElectrons.root", "HistosForBB",2)
151 MakeFitsV0s("FileRoot/AnalysisResults.root", "HistosForBB/PrimaryElectrons.root", "HistosForBB",3)
152 PlotParametrizations("HistosForBB")
154 FitDeDxVsP("FileRoot/AnalysisResults.root", 3.0, 10.0, 0, 6, 13, kTRUE, 0, 2, 0,1, 0, "HistosForBB/hres_0_5_02.root",27);
155 FitDeDxVsP("FileRoot/AnalysisResults.root", 3.0, 10.0, 0, 6, 13, kTRUE, 2, 4, 0,1, 0, "HistosForBB/hres_0_5_24.root",27);
156 FitDeDxVsP("FileRoot/AnalysisResults.root", 3.0, 10.0, 0, 6, 13, kTRUE, 4, 6, 0,1, 0, "HistosForBB/hres_0_5_46.root",27);
157 FitDeDxVsP("FileRoot/AnalysisResults.root", 3.0, 10.0, 0, 6, 13, kTRUE, 6, 8, 0,1, 0, "HistosForBB/hres_0_5_68.root",27);
158 MakeNSigmaPlot("FileRoot/AnalysisResults.root","fitparameters/MB/02_dataPbPb.root",2,50, 0, "02_dataPbPb.root");
159 MakeNSigmaPlot("FileRoot/AnalysisResults.root","fitparameters/MB/24_dataPbPb.root",2,50, 1, "24_dataPbPb.root");
160 MakeNSigmaPlot("FileRoot/AnalysisResults.root","fitparameters/MB/46_dataPbPb.root",2,50, 2, "46_dataPbPb.root");
161 MakeNSigmaPlot("FileRoot/AnalysisResults.root","fitparameters/MB/68_dataPbPb.root",2,50, 3, "68_dataPbPb.root");
162 PlotNSigma("nsigma_results")
164 ExtractUncPartFractvsP("FileRoot/AnalysisResults.root", 2, 50,0,0, "results/eta02","fractions");
165 ExtractUncPartFractvsP("FileRoot/AnalysisResults.root", 2, 50,0,1, "results/eta24","fractions");
166 ExtractUncPartFractvsP("FileRoot/AnalysisResults.root", 2, 50,0,2, "results/eta46","fractions");
167 ExtractUncPartFractvsP("FileRoot/AnalysisResults.root", 2, 50,0,3, "results/eta68","fractions");
169 Further details in the macro.
172 %+++++++++++++++++++++++++++++++++++++++++++
173 processProduceFastQA.C
175 %+++++++++++++++++++++++++++++++++++++++++++