| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

HistoEx::HistoEx Class Reference

Inheritance diagram for HistoEx::HistoEx:
[legend]
Collaboration diagram for HistoEx::HistoEx:
[legend]
List of all members.

Public Member Functions

def __init__
def execute

Detailed Description

Simple algorithm which implicitely book&fill three histograms 

Definition at line 26 of file HistoEx.py.


Member Function Documentation

def HistoEx::HistoEx::__init__ (   self,
  name 
)

Constructor 

Definition at line 28 of file HistoEx.py.

00028                                  :
00029         """ Constructor """
00030         HistoAlgo.__init__( self , name )
00031         
    def execute( self ) :

def HistoEx::HistoEx::execute (   self  ) 

The major method 'execute', it is invoked for each event 

Definition at line 32 of file HistoEx.py.

00032                         :
00033         """ The major method 'execute', it is invoked for each event """
00034         for i in range(0,10) :
00035             self.plot1D( i
00036                          , ' 1D histo '
00037                          , 0 , 20 , 20 )
00038             for j in range(0,10) :
00039                 self.plot2D( i   , j  
00040                              ,' 2D histo '
00041                              ,  0 , 20 
00042                              ,  0 , 20 
00043                              , 20 , 20 )
00044                 for k in range(0,10) : 
00045                     self.plot3D( i , j , k 
00046                                  , ' 3D histo ' 
00047                                  ,  0 , 20  
00048                                  ,  0 , 20   
00049                                  ,  0 , 20 
00050                                  , 20 , 20 , 20 )  
00051                     
00052         return SUCCESS
00053                 
00054                 
00055 # =============================================================================
00056 # job configuration 
00057 # =============================================================================
def configure( gaudi = None  ) :


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 19:59:39 2011 for GaudiExamples by doxygen 1.4.7