]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGPP/analysisQA/README
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / PWGPP / analysisQA / README
CommitLineData
c722c8a3 1--------------------------------------------
2Analysis QA
3Authur: Satyajit Jena <sjena@cern.ch>
4Date: 23 Nov 2013
5Last Update: Mon Mar 31 15:47:10 CEST 2014
0b6cb8ab 6Last Update: 27/06/2014 - LF
c722c8a3 7--------------------------------------------
8
ca14f2e9 9
c722c8a3 10README - This readme file
11
12%+++++++++++++++++++++++++++++++++++++++++++
13process.sh:
14
15Script to run each post-processing macro on
16respective outputs
17
18Simple script to execute macros and produce output
19
20 Requirement: the macro paths need to be defined
21 ex: CODE=$ALICE_ROOT/PWGPP/analysisQA
22
23 Arguments for each macro should be change by
24 collecting proper information from respective
25 wagon owner.
26
27 sh process.sh <output.root> <aod-number>
28 ex: sh process.sh output.root 145 eps
29
30
31
32%+++++++++++++++++++++++++++++++++++++++++++
33processCFv2vsPt.C
34
35Processing of Flow QA task in Analysis QA train
36
37
38
39%+++++++++++++++++++++++++++++++++++++++++++
40processDrawAnaCaloTrackQA.C
41
42%+++++++++++++++++++++++++++++++++++++++++++
43processDrawUDQA.C
44
45%+++++++++++++++++++++++++++++++++++++++++++
46processHFEQAtask.C
47
48%+++++++++++++++++++++++++++++++++++++++++++
49processJETrackQA.C
50
78c54fd7 51Processes the results of the JE_PWG4HighPtTrackQA wagon. Should be run with the following arguments:
52TString strFileIn = "AnalysisResults.root" : the path to the input file.
53TString suffix = "eps" : the suffix that determines the output format. For example: eps, pdf, png, etc.
54Int_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.
55Int_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.
56Bool_t bESD = kFALSE : an obsolete variable. Might be removed in the future.
57Int_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.
58const 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.
59List of triggers:
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";
66
c722c8a3 67%+++++++++++++++++++++++++++++++++++++++++++
68processJETriggerQA.C
69
78c54fd7 70This is an old version of the macro. Use V2 if possible. Only use this for old results.
71
c722c8a3 72%+++++++++++++++++++++++++++++++++++++++++++
73processJETriggerQA_V2.C
74
78c54fd7 75Processes 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:
76TString strFileIn = "AnalysisResults.root" : the path to the input file.
77TString suftype ="eps" : the suffix that deternmines the output format. For example: eps, pdf, png, etc.
78Float_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.
79Float_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.
80Float_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.
cd65ede4 81nt_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.
78c54fd7 82TString trigsuffix = "" : leave empty to open the results of the JE_TriggerQAFullR020 wagon, but or use "EJE" or "EGA" to use the triggered results otherwise.
83const 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.
84
c722c8a3 85%+++++++++++++++++++++++++++++++++++++++++++
86processJpsi2eeQAplots.C
87
88%+++++++++++++++++++++++++++++++++++++++++++
89processMakeQA2pc.C
90
91%+++++++++++++++++++++++++++++++++++++++++++
92processMultistrangeQA.C
93
0b6cb8ab 94Processes the results of the wagons based on AddTaskQAMultistrange.C.
95A copy is present in the folder: /PWGLF/QATasks/post/PostProcessQAMultistrange.C .
96Creates a "summary pdf" file with several pages.
97Arguments:
98Int_t icasType = 0, // 0) Xi- 1) Xi+ 2) Omega- 3) Omega+
99Int_t collidingsystem = 0, // 0) PbPb 1) pp 2) pPb
100Bool_t isMC = kFALSE, // kTRUE-->MC and kFALSE-->Exp.
101Char_t *fileDir = ".", // Input file directory
102Char_t *filein = "AnalysisResults.root" // Input file name
103Further details in the macro.
104
105%+++++++++++++++++++++++++++++++++++++++++++
106processResonance.C
107
108Processes the results of the wagons based on AddTaskQAPhi.C.
109A copy is present in the folder: /PWGLF/QATasks/post/PostProcessQAPhi.C .
110Creates a "summary pdf" file with several pages.
111Arguments:
112char* system = "pp276", // string giving the collision system ("pp276","pp7", or "PbPb276")
113char* name_fin = "AnalysisResults.root", // name of input file
114char* name_fout = "QAphi", // base name of output files (without suffix)
115char* name_list = "RsnHistMini_Phi_PhiNsigma_KTPCnsig30", // name of the list in fin that contains histograms (may be different)
116char* name_hist_base = "RsnMini_phi.PhiNsigma_KTPCnsig30" // base name of the THnSparse histograms (may be different)
117Further details in the macro.
118
119%+++++++++++++++++++++++++++++++++++++++++++
120processV0.C
121
122Processes the results of the wagons based on AddTaskQAV0.C or AddTaskQAV0AOD.C.
123A copy is present in the folder: /PWGLF/QATasks/post/PostProcessQAV0.C .
124Creates a "summary pdf" file with several pages.
125Arguments:
126Bool_t lAttemptInvMassFit = kTRUE // if kTRUE attempt rough signal extraction
127The Macro run on the file: ./AnalysisResults.root .
128
129%+++++++++++++++++++++++++++++++++++++++++++
130processHighPtDeDx.C
131
132Processes the results of the wagons based on AddTaskQAHighPtDeDx.C.
133A copy is present in the folder: /PWGLF/QATasks/post/PostProcessQAHighPtDeDx.C .
134How to run (use AliRoot because of AliXRDPROOFtoolkit):
135
136gSystem->AddIncludePath("-I$ALICE_ROOT/TPC/Base")
137gSystem->AddIncludePath("-I$ALICE_ROOT/PWGLF/SPECTRA/IdentifiedHighPt/macros")
138gSystem->AddIncludePath("-I$ALICE_ROOT/PWGLF/SPECTRA/IdentifiedHighPt/grid")
139gSystem->AddIncludePath("-I$ALICE_ROOT/PWGLF/SPECTRA/IdentifiedHighPt/lib")
140gROOT->SetMacroPath(".:$ALICE_ROOT/PWGLF/SPECTRA/IdentifiedHighPt/macros:$ALICE_ROOT/PWGLF/SPECTRA/IdentifiedHighPt/grid:$ALICE_ROOT/PWGLF/SPECTRA/IdentifiedHighPt/lib/")
141.L my_functions.C+
142.L my_tools.C+
143.L PostProcessQAHighPtDeDx.C+
144
145PlotQA("FileRoot/AnalysisResults.root")
146
147MakeFitsExternalData("FileRoot/AnalysisResults.root", "HistosForBB")
148MakeFitsV0s("FileRoot/AnalysisResults.root", "HistosForBB/PrimaryElectrons.root", "HistosForBB",0)
149MakeFitsV0s("FileRoot/AnalysisResults.root", "HistosForBB/PrimaryElectrons.root", "HistosForBB",1)
150MakeFitsV0s("FileRoot/AnalysisResults.root", "HistosForBB/PrimaryElectrons.root", "HistosForBB",2)
151MakeFitsV0s("FileRoot/AnalysisResults.root", "HistosForBB/PrimaryElectrons.root", "HistosForBB",3)
152PlotParametrizations("HistosForBB")
153
154FitDeDxVsP("FileRoot/AnalysisResults.root", 3.0, 10.0, 0, 6, 13, kTRUE, 0, 2, 0,1, 0, "HistosForBB/hres_0_5_02.root",27);
155FitDeDxVsP("FileRoot/AnalysisResults.root", 3.0, 10.0, 0, 6, 13, kTRUE, 2, 4, 0,1, 0, "HistosForBB/hres_0_5_24.root",27);
156FitDeDxVsP("FileRoot/AnalysisResults.root", 3.0, 10.0, 0, 6, 13, kTRUE, 4, 6, 0,1, 0, "HistosForBB/hres_0_5_46.root",27);
157FitDeDxVsP("FileRoot/AnalysisResults.root", 3.0, 10.0, 0, 6, 13, kTRUE, 6, 8, 0,1, 0, "HistosForBB/hres_0_5_68.root",27);
158MakeNSigmaPlot("FileRoot/AnalysisResults.root","fitparameters/MB/02_dataPbPb.root",2,50, 0, "02_dataPbPb.root");
159MakeNSigmaPlot("FileRoot/AnalysisResults.root","fitparameters/MB/24_dataPbPb.root",2,50, 1, "24_dataPbPb.root");
160MakeNSigmaPlot("FileRoot/AnalysisResults.root","fitparameters/MB/46_dataPbPb.root",2,50, 2, "46_dataPbPb.root");
161MakeNSigmaPlot("FileRoot/AnalysisResults.root","fitparameters/MB/68_dataPbPb.root",2,50, 3, "68_dataPbPb.root");
162PlotNSigma("nsigma_results")
163
164ExtractUncPartFractvsP("FileRoot/AnalysisResults.root", 2, 50,0,0, "results/eta02","fractions");
165ExtractUncPartFractvsP("FileRoot/AnalysisResults.root", 2, 50,0,1, "results/eta24","fractions");
166ExtractUncPartFractvsP("FileRoot/AnalysisResults.root", 2, 50,0,2, "results/eta46","fractions");
167ExtractUncPartFractvsP("FileRoot/AnalysisResults.root", 2, 50,0,3, "results/eta68","fractions");
168
169Further details in the macro.
170
171
c722c8a3 172%+++++++++++++++++++++++++++++++++++++++++++
173processProduceFastQA.C
174
175%+++++++++++++++++++++++++++++++++++++++++++