Simple algorithm which explicitly book&fill profile histograms
 
Definition at line 40 of file HistoEx2.py.
◆ __init__()
      
        
          | def HistoEx2.HistoEx2.__init__ | ( |  | self, | 
        
          |  |  |  | name = "HistoEx2" | 
        
          |  | ) |  |  | 
      
 
Constructor
 
Definition at line 43 of file HistoEx2.py.
   43     def __init__(self, name="HistoEx2"):
 
   45         HistoAlgo.__init__(self, name)
 
 
 
◆ execute()
      
        
          | def HistoEx2.HistoEx2.execute | ( |  | self | ) |  | 
      
 
The major method 'execute', it is invoked for each event
 
Definition at line 47 of file HistoEx2.py.
   48         """The major method 'execute', it is invoked for each event""" 
   51         for i 
in range(0, 1000):
 
   54             self.plot2D(x, y, 
" x vs y    ", -2, 2, -4, 4)
 
   55             self.plot2D(x, y + 3 * x, 
" x vs y+3x ", -2, 2, -4, 4)
 
   56             self.plot2D(x, y - 3 * x, 
" x vs y-3x ", -2, 2, -4, 4)
 
   57             self.profile1D(x, y, 
" x vs y    (profile)", -2, 2)
 
   58             self.profile1D(x, y + 3 * x, 
" x vs y+3x (profile)", -2, 2)
 
   59             self.profile1D(x, y - 3 * x, 
" x vs y-3x (profile)", -2, 2)
 
 
 
 
The documentation for this class was generated from the following file: