AliPhysics  0bb4a45 (0bb4a45)
MakeTrend.C
Go to the documentation of this file.
1 void MakeTrend()
2 {
3  const char* fwd = "$ALICE_PHYSICS/PWGLF/FORWARD/analysis2";
4  gROOT->SetMacroPath(Form("%s:%s:%s/scripts:$(ANA_SRC)/scan",
5  gROOT->GetMacroPath(),
6  fwd, fwd));
7  gSystem->AddIncludePath(Form("-I%s", fwd));
8  gSystem->AddIncludePath(Form("-I%s/scripts", fwd));
9 
10  gROOT->LoadMacro("Trend.C++g");
11 
12  Trend t;
13  t.AddDCCut("mpv", "0.6 0.7 0.8 0.82 0.85");
14  t.AddSLCut("fix", "0.05 0.15 0.2 0.3 0.4");
15  t.AddSLCut("mpv", "0.01 0.05 0.1");
16  t.AddSLCut("sig", "1 2 3");
17  t.AddSHCut("mpv", "0.6 0.7 0.8 0.82 0.85");
18  t.AddSHCut("sig", "1 2");
19  t.AddSHCut("xi", "1 2");
20  t.AddRun("137848");
21  t.AddRun("138190");
22  t.AddCentrality( 0, 5);
23  t.AddCentrality( 5,10);
24  t.AddCentrality(10,20);
25  t.AddCentrality(20,30);
26  t.SetOrder("dc sl sh");
27 
28  t.Run();
29 
30  TFile* f = TFile::Open("trending.root", "READ");
31  new TBrowser("b", f);
32 }
33 
void Run(const char *output="trending.root", UShort_t sys=2, UShort_t sNN=2760, UShort_t trg=1)
Definition: Trend.C:129
void AddSLCut(const TString &name, const TString &values)
Definition: Trend.C:38
void AddCentrality(UShort_t l, UShort_t h)
Definition: Trend.C:81
TSystem * gSystem
void AddDCCut(const TString &name, const TString &values)
Definition: Trend.C:60
Definition: Trend.C:16
void AddRun(const TString &name)
Definition: Trend.C:70
const char * fwd
void AddSHCut(const TString &name, const TString &values)
Definition: Trend.C:49
void SetOrder(const TString &order)
Definition: Trend.C:96
void MakeTrend()
Definition: MakeTrend.C:1