Select all things related to a Particle
Definition at line 22 of file highlight_particle.py.
◆ event()
reimplementation of Module::event().
Definition at line 30 of file highlight_particle.py.
31 """reimplementation of Module::event()."""
38 if abs(p.getPDGCode()) == 413:
39 b2.B2WARNING(
"highlighting D*+ candidate")
41 daughters = p.getFinalStateDaughters()
44 mcp = d.getRelated(
'MCParticles')
45 displayData.obj().select(mcp)
A (simplified) python wrapper for StoreArray.
a (simplified) python wrapper for StoreObjPtr.
◆ initialize()
The documentation for this class was generated from the following file: