Simple algorithm for advanced N-Tuple columns
Definition at line 51 of file TupleEx2.py.
◆ __init__()
def TupleEx2.TupleEx2.__init__ |
( |
|
self, |
|
|
|
name = 'TupleEx2' |
|
) |
| |
Constructor
Definition at line 57 of file TupleEx2.py.
57 def __init__(self, name='TupleEx2'):
59 TupleAlgo.__init__(self, name)
◆ execute()
def TupleEx2.TupleEx2.execute |
( |
|
self | ) |
|
The major method 'execute', it is invoked for each event
Definition at line 62 of file TupleEx2.py.
63 """ The major method 'execute', it is invoked for each event """
70 tup = self.nTuple(
'Vectors-4D',
'N-tuple with 4D-vectors')
71 for i
in range(0, 100):
73 lv1 = Math.PxPyPzEVector()
80 tup.column(
'lv1', lv1)
85 tup = self.nTuple(
'Vectors-3D',
'N-tuple with 3D-vectors')
86 for i
in range(0, 100):
98 tup = self.nTuple(
'Points-3D',
'N-tuple with 3D-points')
99 for i
in range(0, 100):
The documentation for this class was generated from the following file: