Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PrimaryGeneratorGPS Class Reference

#include <PrimaryGeneratorGPS.hh>

Inheritance diagram for PrimaryGeneratorGPS:
Collaboration diagram for PrimaryGeneratorGPS:

Public Member Functions

 PrimaryGeneratorGPS ()
 
 ~PrimaryGeneratorGPS ()
 
virtual void GeneratePrimaries (G4Event *)
 
- Public Member Functions inherited from G4VUserPrimaryGeneratorAction
 G4VUserPrimaryGeneratorAction ()
 
virtual ~G4VUserPrimaryGeneratorAction ()
 

Detailed Description

Definition at line 46 of file PrimaryGeneratorGPS.hh.

Constructor & Destructor Documentation

PrimaryGeneratorGPS::PrimaryGeneratorGPS ( )

Definition at line 42 of file PrimaryGeneratorGPS.cc.

PrimaryGeneratorGPS::~PrimaryGeneratorGPS ( )

Definition at line 51 of file PrimaryGeneratorGPS.cc.

52 {
53  delete fParticleGun;
54 }

Member Function Documentation

void PrimaryGeneratorGPS::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 58 of file PrimaryGeneratorGPS.cc.

59 {
60  //this function is called at the begining of event
61  //
62  fParticleGun->GeneratePrimaryVertex(anEvent);
63 }

Here is the call graph for this function:


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