-
Notifications
You must be signed in to change notification settings - Fork 0
/
HallA_style.cxx
39 lines (37 loc) · 1.13 KB
/
HallA_style.cxx
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
//void HallA_style() {
{
gROOT->SetStyle("Plain");
gStyle->SetPaperSize(TStyle::kUSLetter);
gStyle->SetPaperSize(18,22);
gStyle->SetOptFit(1111);
// gStyle->SetPalette(1);
gStyle->SetNdivisions(505);
gStyle->SetCanvasColor(10);
gStyle->SetPadTopMargin(.05);
gStyle->SetPadLeftMargin(.15);
gStyle->SetPadRightMargin(.1);
gStyle->SetPadBottomMargin(.15);
//gStyle->SetTitleYOffset(1.3);
gStyle->SetTitleYOffset(1.1);
gStyle->SetLabelFont(42,"X");
gStyle->SetLabelFont(42,"Y");
// prepare gStyle to be useful
// 1 = solid
// 2 = long dash (30 10)
// 3 = dotted (4 8)
// 4 = dash-dot (15 12 4 12)
// 5 = short dash ( 15 15 )
// 6 = dash-dot-dot
gStyle->SetLineStyleString(1,"[]");
gStyle->SetLineStyleString(2,"[30 10]");
gStyle->SetLineStyleString(3,"[4 8]");
gStyle->SetLineStyleString(4,"[15 12 4 12]");
gStyle->SetLineStyleString(5,"[15 15]");
gStyle->SetLineStyleString(6,"[15 12 4 12 4 12]");
gStyle->SetLabelSize(0.045,"X");
gStyle->SetLabelSize(0.045,"Y");
gStyle->SetNdivisions(505,"Y");
gStyle->SetOptDate(0);
gStyle->SetDateY(.98);
gStyle->SetStripDecimals(kFALSE);
}