19 params.
SetParam(
"generator", std::string(
"gun"));
A generator action to produce particles using the GPS generator.
void SetParam(const std::string &name, T value)
Sets a parameter.
Class for storing parameters.
void GeneratePrimaries(G4Event *anEvent)
Generate primaries with GPS generator.
#define RegisterGA(gaClassName, gaName)
Macro for registration of user generator actions.
GGSParameters GetParameters() const
Gets the generation parameters.