GGS(GenericGEANT4Simulation)Software  2.7.0
 All Data Structures Namespaces Files Functions Variables Typedefs Macros
GGSGPSGeneratorAction.h
Go to the documentation of this file.
1 /*
2  * GGSGPSGeneratorAction.h
3  *
4  * Created on: 10 Oct 2013
5  * Author: Nicola Mori
6  */
7 
10 #ifndef GGSGPSGENERATORACTION_H_
11 #define GGSGPSGENERATORACTION_H_
12 
14 
15 #include "G4GeneralParticleSource.hh"
16 
19 public:
24  void GeneratePrimaries(G4Event *anEvent);
25 
40 
41 private:
42  G4GeneralParticleSource _gpsGenerator;
43 };
44 
45 #endif /* GGSGPSGENERATORACTION_H_ */
A generator action to produce particles using the GPS generator.
Base class for GGS generator actions.
Class for storing parameters.
Definition: GGSParameters.h:29
void GeneratePrimaries(G4Event *anEvent)
Generate primaries with GPS generator.
GGSParameters GetParameters() const
Gets the generation parameters.