]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGLF/FORWARD/analysis2/scan/MakeTrend.C
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGLF / FORWARD / analysis2 / scan / MakeTrend.C
1 void MakeTrend()
2 {
3   const char* fwd = "$ALICE_ROOT/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