-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbatDraw.C
52 lines (50 loc) · 1.47 KB
/
batDraw.C
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
hv0bm = new HistoManager("hpostv0BM","halgV0_newTRDnewRC.root",1,"v0");
hv0bp = new HistoManager("hpostv0BP","halgV0_newTRDnewRC.root",1,"v0");
hv0b0 = new HistoManager("hpostv0B0","halgV0_newTRDnewRC.root",1,"v0");
hv0bm->SetColor(kBlue);
hv0bp->SetColor(kBlue);
hv0b0->SetColor(kBlue);
hv0bm->SetMarkerStyle(24);
hv0bp->SetMarkerStyle(24);
hv0b0->SetMarkerStyle(24);
hpfb0 = new HistoManager("hpostpfB0","halgPF3_newTRDnewRC.root",1);
hpfbp = new HistoManager("hpostpfBP","halgPF3_newTRDnewRC.root",1);
hpfbm = new HistoManager("hpostpfBM","halgPF3_newTRDnewRC.root",1);
hpfb0->SetColor(kRed);
hpfbp->SetColor(kRed);
hpfbm->SetColor(kRed);
hpfbm->SetMarkerStyle(20);
hpfbp->SetMarkerStyle(20);
hpfb0->SetMarkerStyle(20);
//
gROOT->ProcessLine(".L ProcRes.C++g");
TObjArray harr;
harr.Add(hv0b0);
harr.Add(hpfb0);
for (int i=harr.GetEntriesFast();i--;) {
HistoManager* hm = (HistoManager*)harr[i];
hm->SetMarkerSize(0.6);
}
DrawReport(&harr,"algRepB0_newTRDnewRCPF3");
//
harr.Clear();
harr.Add(hv0bp);
harr.Add(hpfbp);
for (int i=harr.GetEntriesFast();i--;) {
HistoManager* hm = (HistoManager*)harr[i];
hm->SetMarkerSize(0.6);
}
DrawReport(&harr,"algRepBP_newTRDnewRCPF3");
//
harr.Clear();
harr.Add(hv0bm);
harr.Add(hpfbm);
for (int i=harr.GetEntriesFast();i--;) {
HistoManager* hm = (HistoManager*)harr[i];
hm->SetMarkerSize(0.6);
}
DrawReport(&harr,"algRepBM_newTRDnewRCPF3");
//
//
}