|
| mc |
| MCParticles StoreArray.
|
|
Reject tracks with bad combination of z0 and theta
Definition at line 93 of file firm2d.py.
◆ event()
Reject tracks with bad combination of z0 and theta
Definition at line 105 of file firm2d.py.
105 def event(self):
106 """
107 Reject tracks with bad combination of z0 and theta
108 """
109 self.return_value(0)
110 z0 = self.mc[0].getVertex().Z()
111 vec = self.mc[0].getMomentum()
112
113 if z_SL0[0] < z0 + r_SL0 / vec.Pt() * vec.Z() < z_SL0[1]:
114 self.return_value(1)
115
116
◆ initialize()
Initialize self.mc with MCParticles StoreArray
Definition at line 98 of file firm2d.py.
98 def initialize(self):
99 """
100 Initialize self.mc with MCParticles StoreArray
101 """
102
104
A (simplified) python wrapper for StoreArray.
◆ mc
MCParticles StoreArray.
Definition at line 103 of file firm2d.py.
The documentation for this class was generated from the following file: