Class RMGGeneratorCosmicMuons¶
Defined in File RMGGeneratorCosmicMuons.hh
Inheritance Relationships¶
Base Type¶
public RMGVGenerator(Class RMGVGenerator)
Class Documentation¶
-
class RMGGeneratorCosmicMuons : public RMGVGenerator¶
-
Public Functions
-
RMGGeneratorCosmicMuons()¶
-
~RMGGeneratorCosmicMuons()¶
-
RMGGeneratorCosmicMuons(RMGGeneratorCosmicMuons const&) = delete¶
-
RMGGeneratorCosmicMuons &operator=(RMGGeneratorCosmicMuons const&) = delete¶
-
RMGGeneratorCosmicMuons(RMGGeneratorCosmicMuons&&) = delete¶
-
RMGGeneratorCosmicMuons &operator=(RMGGeneratorCosmicMuons&&) = delete¶
-
virtual void GeneratePrimaries(G4Event*) 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) 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.
-
virtual void BeginOfRunAction(const G4Run*) override¶
Called at the beginning of a run.
Derived generators can perform any necessary initialization in this method.
-
inline virtual void EndOfRunAction(const G4Run*) override¶
Called at the end of a run.
Derived generators can perform any necessary finalization in this method.
-
RMGGeneratorCosmicMuons()¶