Definition at line 102 of file G4DebuggerConfig.py.
◆ configureLowerPad()
def python.plotting.G4DebuggerConfig.summaryDefs.configureLowerPad |
( |
|
self, |
|
|
|
h2, |
|
|
|
ratiodn, |
|
|
|
ratioup, |
|
|
|
xaxis, |
|
|
|
yaxisr |
|
) |
| |
Definition at line 136 of file G4DebuggerConfig.py.
136 def configureLowerPad(self,h2,ratiodn,ratioup,xaxis,yaxisr):
139 h2.GetXaxis().SetTitle(xaxis)
140 h2.GetYaxis().SetTitle(yaxisr)
141 h2.GetYaxis().SetRangeUser(1.0 - ratiodn, 1.0 + ratioup)
142 h2.SetLineColor(ROOT.kBlack)
143 h2.GetXaxis().LabelsOption(
"v")
144 h2.GetXaxis().SetLabelSize(0.15)
145 h2.GetXaxis().SetLabelOffset(0.02)
146 h2.GetXaxis().SetTitleOffset(2.2)
147 h2.GetXaxis().SetTitleSize(0.14)
148 h2.GetYaxis().SetLabelSize(0.11)
149 h2.GetYaxis().SetNdivisions(3)
150 h2.GetYaxis().SetTitleOffset(0.5)
151 h2.GetYaxis().SetTitleSize(0.12)
152 ROOT.gPad.RedrawAxis()
◆ configureUpperPad()
def python.plotting.G4DebuggerConfig.summaryDefs.configureUpperPad |
( |
|
self, |
|
|
|
hs1 |
|
) |
| |
Definition at line 128 of file G4DebuggerConfig.py.
128 def configureUpperPad(self,hs1):
129 hs1.GetXaxis().SetLabelSize(0)
130 hs1.GetYaxis().SetLabelSize(0.075)
131 hs1.GetYaxis().SetTitleSize(0.082)
132 hs1.GetYaxis().SetTitleOffset(0.7)
133 hs1.GetYaxis().SetTitle(self.yaxis)
134 ROOT.gPad.RedrawAxis()
◆ getCanvas()
def python.plotting.G4DebuggerConfig.summaryDefs.getCanvas |
( |
|
self, |
|
|
|
uniqueName |
|
) |
| |
Definition at line 112 of file G4DebuggerConfig.py.
112 def getCanvas(self, uniqueName):
113 canv = ROOT.TCanvas(uniqueName,uniqueName,700,600)
114 pad1 = ROOT.TPad(
"pad1"+uniqueName,
"top pad"+uniqueName,0.,self.rsplit,1.,1.)
115 pad1.SetTopMargin(self.pad1TopMarin)
116 pad1.SetBottomMargin(self.pad1BotMarin)
117 pad1.SetLeftMargin(self.LeftMargin)
119 pad2 = ROOT.TPad(
"pad2"+uniqueName,
"bottom pad"+uniqueName,0,0,1,self.rsplit)
120 pad2.SetTopMargin(self.pad2TopMarin)
121 pad2.SetBottomMargin(self.pad2BotMarin)
122 pad2.SetLeftMargin(self.LeftMargin)
126 return canv, pad1, pad2
◆ LeftMargin
float python.plotting.G4DebuggerConfig.summaryDefs.LeftMargin = 0.15 |
|
static |
◆ pad1BotMarin
float python.plotting.G4DebuggerConfig.summaryDefs.pad1BotMarin = 0.04 |
|
static |
◆ pad1TopMarin
float python.plotting.G4DebuggerConfig.summaryDefs.pad1TopMarin = 0.08 |
|
static |
◆ pad2BotMarin
float python.plotting.G4DebuggerConfig.summaryDefs.pad2BotMarin = 0.6 |
|
static |
◆ pad2TopMarin
float python.plotting.G4DebuggerConfig.summaryDefs.pad2TopMarin = 0.03 |
|
static |
◆ rsplit
float python.plotting.G4DebuggerConfig.summaryDefs.rsplit = 0.4 |
|
static |
◆ yaxis
string python.plotting.G4DebuggerConfig.summaryDefs.yaxis = "Steps / Event" |
|
static |
The documentation for this class was generated from the following file: