Class RMGVertexFromPoint

Inheritance Relationships

Base Type

Class Documentation

class RMGVertexFromPoint : public RMGVVertexGenerator

Trivial vertex generator returning a single user-configured point.

The vertex coordinates are set through the /RMG/Generator/Confine/FromPoint/ messenger commands. Useful for debugging and for sources with a well-defined fixed location.

Public Functions

RMGVertexFromPoint()
~RMGVertexFromPoint() = default
RMGVertexFromPoint(RMGVertexFromPoint const&) = delete
RMGVertexFromPoint &operator=(RMGVertexFromPoint const&) = delete
RMGVertexFromPoint(RMGVertexFromPoint&&) = delete
RMGVertexFromPoint &operator=(RMGVertexFromPoint&&) = delete
inline virtual bool GenerateVertex(G4ThreeVector &vertex) override

Return the configured fixed point; always succeeds.