Simple algorithm for advanced N-Tuple columns
Definition at line 53 of file TupleEx2.py.
◆ __init__()
def TupleEx2.TupleEx2.__init__ |
( |
|
self, |
|
|
|
name = "TupleEx2" |
|
) |
| |
Constructor
Definition at line 59 of file TupleEx2.py.
59 def __init__(self, name="TupleEx2"):
61 TupleAlgo.__init__(self, name)
◆ execute()
def TupleEx2.TupleEx2.execute |
( |
|
self | ) |
|
The major method 'execute', it is invoked for each event
Definition at line 64 of file TupleEx2.py.
65 """The major method 'execute', it is invoked for each event"""
72 tup = self.nTuple(
"Vectors-4D",
"N-tuple with 4D-vectors")
73 for i
in range(0, 100):
75 lv1 = Math.PxPyPzEVector()
82 tup.column(
"lv1", lv1)
87 tup = self.nTuple(
"Vectors-3D",
"N-tuple with 3D-vectors")
88 for i
in range(0, 100):
100 tup = self.nTuple(
"Points-3D",
"N-tuple with 3D-points")
101 for i
in range(0, 100):
The documentation for this class was generated from the following file: