Visualize the vertex configured for the ParticleGun
Definition at line 25 of file pgun_vertex.py.
◆ event()
reimplementation of Module::event().
Definition at line 33 of file pgun_vertex.py.
34 """reimplementation of Module::event()."""
39 displayData.obj().addLabel(
"Origin", TVector3(0, 0, 0))
40 displayData.obj().addLabel(
"0,0,10", TVector3(0, 0, 10))
44 displayData.obj().addPoint(
"Vertex", TVector3(vertexparams[0][0],
48 sigma = vertexparams[d][1]
50 vertexparams[d][0] -= sigma
51 displayData.obj().addPoint(
"Width", TVector3(vertexparams[0][0],
54 vertexparams[d][0] += 2 * sigma
55 displayData.obj().addPoint(
"Width", TVector3(vertexparams[0][0],
58 vertexparams[d][0] -= sigma
◆ initialize()
reimplementation of Module::initialize().
Definition at line 28 of file pgun_vertex.py.
The documentation for this class was generated from the following file: