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);
129 theStyle->SetOptStat(10);
130 theStyle->SetStatColor(kWhite);
131 theStyle->SetStatFont(42);
132 theStyle->SetStatFontSize(0.07);
133 theStyle->SetStatTextColor(1);
134 theStyle->SetStatFormat(
"6.4g");
135 theStyle->SetStatBorderSize(1);
136 theStyle->SetStatH(0.3);
137 theStyle->SetStatW(0.2);
143 theStyle->SetPadTopMargin(0.05);
144 theStyle->SetPadBottomMargin(0.13);
145 theStyle->SetPadLeftMargin(0.16);
146 theStyle->SetPadRightMargin(0.02);
150 theStyle->SetOptTitle(0);
151 theStyle->SetTitleFont(42);
152 theStyle->SetTitleColor(1);
153 theStyle->SetTitleTextColor(1);
154 theStyle->SetTitleFillColor(10);
155 theStyle->SetTitleFontSize(0.05);
165 theStyle->SetTitleColor(1,
"XYZ");
166 theStyle->SetTitleFont(42,
"XYZ");
167 theStyle->SetTitleSize(0.06,
"XYZ");
170 theStyle->SetTitleXOffset(0.9);
171 theStyle->SetTitleYOffset(1.25);
176 theStyle->SetLabelColor(1,
"XYZ");
177 theStyle->SetLabelFont(42,
"XYZ");
178 theStyle->SetLabelOffset(0.007,
"XYZ");
179 theStyle->SetLabelSize(0.045,
"XYZ");
183 theStyle->SetAxisColor(1,
"XYZ");
184 theStyle->SetStripDecimals(kTRUE);
185 theStyle->SetTickLength(0.03,
"XYZ");
186 theStyle->SetNdivisions(510,
"XYZ");
187 theStyle->SetPadTickX(1);
188 theStyle->SetPadTickY(1);
191 theStyle->SetOptLogx(0);
192 theStyle->SetOptLogy(0);
193 theStyle->SetOptLogz(0);
196 theStyle->SetPaperSize(20., 20.);