Definition at line 154 of file G4DebuggerConfig.py.
 
◆ configureLowerPad()
      
        
          | def python.plotting.G4DebuggerConfig.histogramDefs.configureLowerPad  | 
          ( | 
            | 
          self,  | 
        
        
           | 
           | 
            | 
          h2,  | 
        
        
           | 
           | 
            | 
          ratio,  | 
        
        
           | 
           | 
            | 
          xaxis,  | 
        
        
           | 
           | 
            | 
          yaxisr  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 194 of file G4DebuggerConfig.py.
  194   def configureLowerPad(self,h2,ratio,xaxis,yaxisr):
 
  195     h2.GetXaxis().SetTitle(xaxis)
 
  196     h2.GetYaxis().SetTitle(yaxisr)
 
  197     h2.GetXaxis().SetTitleSize(0.13)
 
  198     h2.GetXaxis().SetTitleOffset(0.9)
 
  199     h2.GetXaxis().SetLabelSize(0.10)
 
  200     h2.GetYaxis().SetTitleSize(0.12)
 
  201     h2.GetYaxis().SetTitleOffset(0.5)
 
  202     h2.GetYaxis().SetLabelSize(0.10)
 
  203     h2.GetYaxis().SetLabelOffset(0.015)
 
  204     h2.GetYaxis().SetRangeUser(0.5,1.5)
 
  205     h2.GetYaxis().SetNdivisions(6)
 
  206     h2.SetMinimum(1.0 - ratio)
 
  207     h2.SetMaximum(1.0 + ratio)
 
  208     ROOT.gPad.RedrawAxis()
 
 
 
 
◆ configureUpperPad()
      
        
          | def python.plotting.G4DebuggerConfig.histogramDefs.configureUpperPad  | 
          ( | 
            | 
          self,  | 
        
        
           | 
           | 
            | 
          hs1,  | 
        
        
           | 
           | 
            | 
          yaxis = ""  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 186 of file G4DebuggerConfig.py.
  186   def configureUpperPad(self,hs1, yaxis=""):
 
  187     hs1.GetXaxis().SetLabelSize(0)
 
  188     hs1.GetYaxis().SetLabelSize(0.06)
 
  189     hs1.GetYaxis().SetTitleSize(0.06)
 
  190     hs1.GetYaxis().SetTitleOffset(0.95)
 
  191     hs1.GetYaxis().SetTitle(self.yaxis 
if yaxis==
"" else yaxis)
 
  192     ROOT.gPad.RedrawAxis()
 
 
 
 
◆ getCanvas()
      
        
          | def python.plotting.G4DebuggerConfig.histogramDefs.getCanvas  | 
          ( | 
            | 
          self,  | 
        
        
           | 
           | 
            | 
          uniqueName,  | 
        
        
           | 
           | 
            | 
          nologx = False,  | 
        
        
           | 
           | 
            | 
          nology = False  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 163 of file G4DebuggerConfig.py.
  163   def getCanvas(self, uniqueName, nologx = False, nology = False):
 
  164     canv = ROOT.TCanvas(uniqueName,uniqueName,800,600)
 
  165     pad1 = ROOT.TPad(
"pad1"+uniqueName,
"top pad"+uniqueName,0.,self.rsplit,1.,1.)
 
  166     pad1.SetTopMargin(self.pad1TopMarin)
 
  167     pad1.SetBottomMargin(self.pad1BotMarin)
 
  168     pad1.SetLeftMargin(self.LeftMargin)
 
  174     pad2 = ROOT.TPad(
"pad2"+uniqueName,
"bottom pad"+uniqueName,0,0,1,self.rsplit)
 
  175     pad2.SetTopMargin(self.pad2TopMarin)
 
  176     pad2.SetBottomMargin(self.pad2BotMarin)
 
  177     pad2.SetLeftMargin(self.LeftMargin)
 
  184     return canv, pad1, pad2
 
 
 
 
◆ LeftMargin
  
  
      
        
          | float python.plotting.G4DebuggerConfig.histogramDefs.LeftMargin = 0.15 | 
         
       
   | 
  
static   | 
  
 
 
◆ pad1BotMarin
  
  
      
        
          | float python.plotting.G4DebuggerConfig.histogramDefs.pad1BotMarin = 0.04 | 
         
       
   | 
  
static   | 
  
 
 
◆ pad1TopMarin
  
  
      
        
          | float python.plotting.G4DebuggerConfig.histogramDefs.pad1TopMarin = 0.07 | 
         
       
   | 
  
static   | 
  
 
 
◆ pad2BotMarin
  
  
      
        
          | float python.plotting.G4DebuggerConfig.histogramDefs.pad2BotMarin = 0.4 | 
         
       
   | 
  
static   | 
  
 
 
◆ pad2TopMarin
  
  
      
        
          | float python.plotting.G4DebuggerConfig.histogramDefs.pad2TopMarin = 0.03 | 
         
       
   | 
  
static   | 
  
 
 
◆ rsplit
  
  
      
        
          | float python.plotting.G4DebuggerConfig.histogramDefs.rsplit = 0.35 | 
         
       
   | 
  
static   | 
  
 
 
◆ yaxis
  
  
      
        
          | string python.plotting.G4DebuggerConfig.histogramDefs.yaxis = "Steps" | 
         
       
   | 
  
static   | 
  
 
 
The documentation for this class was generated from the following file: