Class RMGGeneratorGPS

Inheritance Relationships

Base Type

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.