Generate a list of 10 electrons which have stupid momenta just to sort
them later. And then add one electron where all momentum components are
nan
Definition at line 16 of file best_candidate_selection.py.
◆ event()
And then we generate particles, ensuring some overlap in the momenta.
Definition at line 27 of file best_candidate_selection.py.
28 """And then we generate particles, ensuring some overlap in the momenta."""
31 px, py, pz = random.randrange(1, 5), random.randrange(1, 5), random.randrange(1, 5)
33 p = self.mcp.appendNew()
36 p.setMomentum(px, py, pz)
38 p = self.mcp.appendNew()
41 p.setMomentum(math.nan, math.nan, math.nan)
◆ initialize()
The documentation for this class was generated from the following file: