Inheritance diagram for TupleEx::TupleEx:
Public Member Functions | |
def | __init__ |
standard constructor | |
def | execute |
the main execution method |
Simple algorithm which implicitely book&fill N-Tuples
Definition at line 39 of file TupleEx.py.
def TupleEx::TupleEx::__init__ | ( | self, | ||
name = 'TupleEx' | ||||
) |
def TupleEx::TupleEx::execute | ( | self | ) |
the main execution method
The major method 'execute', it is invoked for each event
Definition at line 47 of file TupleEx.py.
00049 : 00050 """ 00051 The major method 'execute', it is invoked for each event 00052 """ 00053 00054 gauss = Rndm.Numbers( self.randSvc() , Rndm.Gauss( 0.0 , 1.0 ) ) 00055 00056 tup = self.nTuple('My trivial N-tuple') 00057 for i in range(0,100) : 00058 tup.column( 'a' , math.sin(i) ) 00059 tup.column( 'b' , math.cos(i) ) 00060 tup.column( 'c' , math.tan(i) ) 00061 tup.column( 'g' , gauss() ) 00062 tup.write() 00063 00064 return SUCCESS 00065