]>
Commit | Line | Data |
---|---|---|
e2213ed5 | 1 | /** |
2 | * @file DrawQA.C | |
3 | * @author Christian Holm Christensen <cholm@dalsgaard.hehi.nbi.dk> | |
4 | * @date Tue Jul 12 13:45:26 2011 | |
5 | * | |
6 | * @brief Script to draw most QA stuff | |
7 | * | |
2dbde04b | 8 | * @deprecated Use QATrender instead |
bd6f5206 | 9 | * @ingroup pwglf_forward_scripts_qa |
e2213ed5 | 10 | */ |
11 | /** | |
12 | * Draw most QA stuff | |
13 | * | |
14 | * @param file File to read | |
15 | * @param full If true, assume output of analysis | |
2dbde04b | 16 | * |
17 | * @deprecated Use QATrender instead | |
bd6f5206 | 18 | * @ingroup pwglf_forward_scripts_qa |
e2213ed5 | 19 | */ |
20 | void | |
21 | DrawQA(const char* file, bool full=false) | |
22 | { | |
23 | ||
bd6f5206 | 24 | gROOT->SetMacroPath(Form(".:$(ALICE_ROOT)/PWGLF/FORWARD/analysis2/qa:" |
25 | "$(ALICE_ROOT)/PWGLF/FORWARD/analysis2/corrs:%s", | |
e2213ed5 | 26 | gROOT->GetMacroPath())); |
d015ecfe | 27 | gROOT->LoadMacro("DrawBeforeAfter.C+g"); |
28 | gROOT->LoadMacro("DrawELossPoisson.C+g"); | |
29 | gROOT->LoadMacro("DrawNeighbors.C+g"); | |
30 | gROOT->LoadMacro("DrawOccupancy.C+g"); | |
31 | gROOT->LoadMacro("DrawRecAnaEloss.C+g"); | |
32 | gROOT->LoadMacro("Draw123.C+g"); | |
e2213ed5 | 33 | |
d015ecfe | 34 | Info("DrawQA", "Drawing before-after"); |
e2213ed5 | 35 | DrawBeforeAfter(file); |
d015ecfe | 36 | Info("DrawQA", "Drawing singles, doubles, tripples"); |
37 | Draw123(file); | |
38 | Info("DrawQA", "Drawing Neighbors"); | |
e2213ed5 | 39 | DrawNeighbors(file); |
d015ecfe | 40 | Info("DrawQA", "Drawing raw and analysed energy loss"); |
e2213ed5 | 41 | DrawRecAnaEloss(file); |
d015ecfe | 42 | Info("DrawQA", "Drawing poisson vs energy loss"); |
43 | DrawELossPoisson(file); | |
44 | Info("DrawQA", "Drawing Occupancies"); | |
45 | DrawOccupancy(file); | |
e2213ed5 | 46 | |
47 | if (!full) { | |
d015ecfe | 48 | Info("DrawQA", "Drawing fit results"); |
e2213ed5 | 49 | gROOT->LoadMacro("DrawAnaELoss.C"); |
50 | DrawAnaELoss(file); | |
51 | } | |
52 | else { | |
53 | gROOT->LoadMacro("DrawSteps.C"); | |
54 | DrawSteps(file); | |
55 | } | |
56 | } | |
57 | // | |
58 | // EOF | |
59 | // | |
60 | ||
61 |