52 if (
name ==
"mstyle" ) {
53 theStyle =
new TStyle(
"mstyle",
"mstyle");
55 theStyle->SetPadBorderMode(0);
56 theStyle->SetCanvasBorderMode(0);
57 theStyle->SetPadColor(0);
58 theStyle->SetCanvasColor(0);
59 theStyle->SetMarkerStyle(8);
60 theStyle->SetMarkerSize(0.7);
61 theStyle->SetStatH(0.3);
62 theStyle->SetStatW(0.15);
65 theStyle->SetTitleBorderSize(1);
66 theStyle->SetPalette(1);
68 }
else if(
name ==
"tdr" ) {
69 theStyle =
new TStyle(
"tdrStyle",
"Style for P-TDR");
72 theStyle->SetCanvasBorderMode(0);
73 theStyle->SetCanvasColor(kWhite);
74 theStyle->SetCanvasDefH(600);
75 theStyle->SetCanvasDefW(600);
76 theStyle->SetCanvasDefX(0);
77 theStyle->SetCanvasDefY(0);
80 theStyle->SetPadBorderMode(0);
82 theStyle->SetPadColor(kWhite);
83 theStyle->SetPadGridX(
true);
84 theStyle->SetPadGridY(
true);
85 theStyle->SetGridColor(0);
86 theStyle->SetGridStyle(3);
87 theStyle->SetGridWidth(1);
90 theStyle->SetFrameBorderMode(0);
91 theStyle->SetFrameBorderSize(1);
92 theStyle->SetFrameFillColor(0);
93 theStyle->SetFrameFillStyle(0);
94 theStyle->SetFrameLineColor(1);
95 theStyle->SetFrameLineStyle(1);
96 theStyle->SetFrameLineWidth(1);
101 theStyle->SetHistLineColor(1);
102 theStyle->SetHistLineStyle(0);
103 theStyle->SetHistLineWidth(1);
107 theStyle->SetEndErrorSize(2);
109 theStyle->SetErrorX(0.);
111 theStyle->SetMarkerStyle(20);
114 theStyle->SetOptFit(1);
115 theStyle->SetFitFormat(
"5.4g");
116 theStyle->SetFuncColor(2);
117 theStyle->SetFuncStyle(1);
118 theStyle->SetFuncWidth(1);
121 theStyle->SetOptDate(0);
126 theStyle->SetOptFile(0);
128 theStyle->SetOptStat(10);
129 theStyle->SetStatColor(kWhite);
130 theStyle->SetStatFont(42);
131 theStyle->SetStatFontSize(0.07);
132 theStyle->SetStatTextColor(1);
133 theStyle->SetStatFormat(
"6.4g");
134 theStyle->SetStatBorderSize(1);
135 theStyle->SetStatH(0.3);
136 theStyle->SetStatW(0.2);
142 theStyle->SetPadTopMargin(0.05);
143 theStyle->SetPadBottomMargin(0.13);
144 theStyle->SetPadLeftMargin(0.16);
145 theStyle->SetPadRightMargin(0.02);
149 theStyle->SetOptTitle(0);
150 theStyle->SetTitleFont(42);
151 theStyle->SetTitleColor(1);
152 theStyle->SetTitleTextColor(1);
153 theStyle->SetTitleFillColor(10);
154 theStyle->SetTitleFontSize(0.05);
164 theStyle->SetTitleColor(1,
"XYZ");
165 theStyle->SetTitleFont(42,
"XYZ");
166 theStyle->SetTitleSize(0.06,
"XYZ");
169 theStyle->SetTitleXOffset(0.9);
170 theStyle->SetTitleYOffset(1.25);
175 theStyle->SetLabelColor(1,
"XYZ");
176 theStyle->SetLabelFont(42,
"XYZ");
177 theStyle->SetLabelOffset(0.007,
"XYZ");
178 theStyle->SetLabelSize(0.045,
"XYZ");
182 theStyle->SetAxisColor(1,
"XYZ");
183 theStyle->SetStripDecimals(kTRUE);
184 theStyle->SetTickLength(0.03,
"XYZ");
185 theStyle->SetNdivisions(510,
"XYZ");
186 theStyle->SetPadTickX(1);
187 theStyle->SetPadTickY(1);
190 theStyle->SetOptLogx(0);
191 theStyle->SetOptLogy(0);
192 theStyle->SetOptLogz(0);
195 theStyle->SetPaperSize(20.,20.);