Class RMGGeneratorGPS¶
Defined in File RMGGeneratorGPS.hh
Inheritance Relationships¶
Base Type¶
public RMGVGenerator(Class RMGVGenerator)
Class Documentation¶
-
class RMGGeneratorGPS : public RMGVGenerator¶
Public Functions
-
inline RMGGeneratorGPS()¶
-
~RMGGeneratorGPS() = default¶
-
inline virtual void GeneratePrimaries(G4Event *event) override¶
Generate primary particles for an event.
Derived generators must implement this method to create primary particles and add them to the given
G4Event.- Parameters:
event – Pointer to the
G4Event.
-
inline virtual void SetParticlePosition(G4ThreeVector vec) override¶
Set the primary vertex position.
This pure virtual method must be implemented by derived classes to set the primary vertex position for the generator.
- Parameters:
vec – The desired primary vertex position.
-
inline RMGGeneratorGPS()¶