GGS(GenericGEANT4Simulation)Software
2.7.0
|
A generator action to produce particles using the GPS generator. More...
#include <GGSGPSGeneratorAction.h>
Public Member Functions | |
void | GeneratePrimaries (G4Event *anEvent) |
Generate primaries with GPS generator. More... | |
GGSParameters | GetParameters () const |
Gets the generation parameters. More... | |
![]() | |
GGSGeneratorAction () | |
Constructor. | |
~GGSGeneratorAction () | |
Destructor. | |
unsigned int | GetNDiscarded () const |
Returns the number of discarded events for the current event generation. More... | |
Additional Inherited Members | |
![]() | |
unsigned long int | _nDiscarded |
A generator action to produce particles using the GPS generator.
Definition at line 18 of file GGSGPSGeneratorAction.h.
void GGSGPSGeneratorAction::GeneratePrimaries | ( | G4Event * | anEvent | ) |
Generate primaries with GPS generator.
anEvent | the current event. |
Definition at line 15 of file GGSGPSGeneratorAction.cpp.
|
virtual |
Gets the generation parameters.
The parameters exported by the GGSGunGeneratorAction are:
General
Name | Type | Description | Exported -------------—| ------------—|-----------------------------------------------------—|-----------------------------------— generator | string | The name of the generator "gps" | Always
Reimplemented from GGSGeneratorAction.
Definition at line 17 of file GGSGPSGeneratorAction.cpp.