GGS(GenericGEANT4Simulation)Software
2.7.0
|
A generator action to produce particles using the HEPEvt generator. More...
#include <GGSHEPEvtGeneratorAction.h>
Public Member Functions | |
GGSHEPEvtGeneratorAction () | |
Constructor. | |
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 HEPEvt generator.
Definition at line 23 of file GGSHEPEvtGeneratorAction.h.
void GGSHEPEvtGeneratorAction::GeneratePrimaries | ( | G4Event * | anEvent | ) |
Generate primaries with GPS generator.
anEvent | the current event. |
Definition at line 31 of file GGSHEPEvtGeneratorAction.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 "hepEvt" | Always
Reimplemented from GGSGeneratorAction.
Definition at line 40 of file GGSHEPEvtGeneratorAction.cpp.