Visualize the vertex configured for the ParticleGun
Definition at line 31 of file pgun_vertex.py.
◆ event()
reimplementation of Module::event().
Definition at line 39 of file pgun_vertex.py.
40 """reimplementation of Module::event()."""
45 displayData.obj().addLabel(
"Origin", XYZVector(0, 0, 0))
46 displayData.obj().addLabel(
"0,0,10", XYZVector(0, 0, 10))
50 displayData.obj().addPoint(
"Vertex", XYZVector(vertexparams[0][0],
54 sigma = vertexparams[d][1]
56 vertexparams[d][0] -= sigma
57 displayData.obj().addPoint(
"Width", XYZVector(vertexparams[0][0],
60 vertexparams[d][0] += 2 * sigma
61 displayData.obj().addPoint(
"Width", XYZVector(vertexparams[0][0],
64 vertexparams[d][0] -= sigma
a (simplified) python wrapper for StoreObjPtr.
◆ initialize()
reimplementation of Module::initialize().
Definition at line 34 of file pgun_vertex.py.
The documentation for this class was generated from the following file: