Class RMGVertexFromPoint

Inheritance Relationships

Base Type

Class Documentation

class RMGVertexFromPoint : public RMGVVertexGenerator

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

Generate a primary vertex position.

Fills the provided vector v with the generated primary vertex position. If vertex generation is not implemented, v is set to a dummy position (0,0,0) and the function returns false.

Parameters:

v – Reference to the G4ThreeVector to hold the generated vertex.

Returns:

True if a valid vertex was generated, false otherwise.