|
GGS(GenericGEANT4Simulation)Software
2.6.0
|
A multi-particle generator action. More...
#include <GGSMultiParticleGeneratorAction.h>


Public Member Functions | |
| GGSMultiParticleGeneratorAction () | |
| Constructor. | |
| ~GGSMultiParticleGeneratorAction () | |
| Destructor. | |
| void | SetEventsFile (const G4String &evFile) |
| void | GeneratePrimaries (G4Event *anEvent) |
| Override of GeneratePrimaries method. | |
A multi-particle generator action.
This generator reads multiple primary particles from a text file for each event. The text file format is the same used by the G4HEPEvtInterface generator, with some adjustments: for each particle (ie., in each line), after the particle's mass there must be three floating point numbers indicating the generation point ( (x,y,z), in cm), and then another floating point number representing the generation time (in ns). For other details about file format, see the G4HEPEvtInterface documentation.
Definition at line 31 of file GGSMultiParticleGeneratorAction.h.
1.8.5