GGS(GenericGEANT4Simulation)Software  2.6.0
 All Data Structures Namespaces Files Functions Variables Typedefs Macros
Public Member Functions
GGSGPSGeneratorAction Class Reference

A generator action to produce particles using the GPS generator. More...

#include <GGSGPSGeneratorAction.h>

Inheritance diagram for GGSGPSGeneratorAction:
Inheritance graph
[legend]
Collaboration diagram for GGSGPSGeneratorAction:
Collaboration graph
[legend]

Public Member Functions

 GGSGPSGeneratorAction ()
 Constructor.
 
 ~GGSGPSGeneratorAction ()
 Destructor.
 
void GeneratePrimaries (G4Event *anEvent)
 Generate primaries with GPS generator. More...
 

Detailed Description

A generator action to produce particles using the GPS generator.

Definition at line 17 of file GGSGPSGeneratorAction.h.

Member Function Documentation

void GGSGPSGeneratorAction::GeneratePrimaries ( G4Event *  anEvent)

Generate primaries with GPS generator.

Parameters
anEventthe current event.

Definition at line 33 of file GGSGPSGeneratorAction.cpp.

33  {
34  _gpsGenerator->GeneratePrimaryVertex(anEvent);
35 }

The documentation for this class was generated from the following files: