AliPhysics  cdeda5a (cdeda5a)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DrawQA.C
Go to the documentation of this file.
1 
20 void
21 DrawQA(const char* file, bool full=false)
22 {
23 
24  gROOT->SetMacroPath(Form(".:$(ALICE_PHYSICS)/PWGLF/FORWARD/analysis2/qa:"
25  "$(ALICE_PHYSICS)/PWGLF/FORWARD/analysis2/corrs:%s",
26  gROOT->GetMacroPath()));
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");
33 
34  Info("DrawQA", "Drawing before-after");
35  DrawBeforeAfter(file);
36  Info("DrawQA", "Drawing singles, doubles, tripples");
37  Draw123(file);
38  Info("DrawQA", "Drawing Neighbors");
39  DrawNeighbors(file);
40  Info("DrawQA", "Drawing raw and analysed energy loss");
41  DrawRecAnaEloss(file);
42  Info("DrawQA", "Drawing poisson vs energy loss");
43  DrawELossPoisson(file);
44  Info("DrawQA", "Drawing Occupancies");
45  DrawOccupancy(file);
46 
47  if (!full) {
48  Info("DrawQA", "Drawing fit results");
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 
void DrawBeforeAfter(const char *filename="forward.root", const char *folder="ForwardResults")
void DrawRecAnaEloss(const char *filename="forward.root", const char *folder="ForwardResults")
void DrawNeighbors(const char *filename="forward.root", const char *folder="ForwardResults")
Definition: DrawNeighbors.C:96
void DrawQA(const char *file, bool full=false)
Definition: DrawQA.C:21
void DrawOccupancy(const char *filename="forward.root", const char *folder="ForwardResults")
Definition: DrawOccupancy.C:94
void DrawELossPoisson(const char *filename="forward.root", const char *folder="ForwardResults", Double_t xmax=-1, Double_t xmin=-1)
void DrawAnaELoss(const char *fname="forward_eloss.root", bool onlySummary=true)
Definition: DrawAnaELoss.C:489
TFile * file
void DrawSteps(const char *filename="forward.root", Bool_t single=true)
Definition: DrawSteps.C:304
void Draw123(const char *filename="forward.root", const char *folder="ForwardResults")
Definition: Draw123.C:92