1 |
|
## |
2 |
|
## $Log$ |
3 |
+ |
## Revision 1.3 2008/01/18 15:51:18 wangdy |
4 |
+ |
## adjust top margin of the pad w/(o) title |
5 |
+ |
## |
6 |
|
## Revision 1.2 2008/01/18 11:33:19 wangdy |
7 |
|
## add setting for title color |
8 |
|
## |
21 |
|
|
22 |
|
global atlasStyle |
23 |
|
##.. style from RooLogon.C in workdir |
24 |
< |
## atlasStyle=TStyle("ATLAS","Atlas style") |
24 |
> |
## atlasStyle=TStyle("ATLAS","Atlas style") |
25 |
|
|
26 |
|
## use plain black on white colors |
27 |
|
icol=0 |
35 |
|
|
36 |
|
## set the paper & margin sizes |
37 |
|
atlasStyle.SetPaperSize(20,26) |
38 |
< |
atlasStyle.SetPadTopMargin(0.05) |
38 |
> |
|
39 |
> |
## with title:0.07 ;no title:0.05 |
40 |
> |
atlasStyle.SetPadTopMargin(0.07) |
41 |
|
atlasStyle.SetPadRightMargin(0.05) |
42 |
< |
atlasStyle.SetPadBottomMargin(0.16) |
42 |
> |
|
43 |
> |
## with title:0.14 ;no title:0.16 |
44 |
> |
atlasStyle.SetPadBottomMargin(0.14) |
45 |
|
atlasStyle.SetPadLeftMargin(0.12) |
46 |
|
|
47 |
|
## use large fonts |
98 |
|
Here is CMS ptdr style |
99 |
|
""" |
100 |
|
global tdrStyle |
101 |
< |
# tdrStyle = TStyle("tdrStyle","Style for P-TDR") |
101 |
> |
## tdrStyle = TStyle("tdrStyle","Style for P-TDR") |
102 |
|
|
103 |
|
## For the canvas: |
104 |
|
tdrStyle.SetCanvasBorderMode(0) |
235 |
|
atlasStyle=TStyle("ATLAS","Atlas style") |
236 |
|
tdrStyle = TStyle("tdrStyle","Style for P-TDR") |
237 |
|
if __name__ == '__main__': |
238 |
< |
## default style |
238 |
> |
## default style |
239 |
|
gROOT.SetStyle("Plain") |
240 |
|
gStyle.SetOptStat(1111111) |
241 |
|
gStyle.SetPadTickX(1) |