35#include "G4LogicalVolume.hh"
36#include "G4LogicalVolumeStore.hh"
37#include "G4ParticleDefinition.hh"
38#include "G4ParticleGun.hh"
39#include "G4ParticleTable.hh"
40#include "G4RunManager.hh"
41#include "G4SystemOfUnits.hh"
42#include "Randomize.hh"
47 : G4VUserPrimaryGeneratorAction(), fParticleGun(0) {
48 G4int nofParticles = 1;
49 fParticleGun =
new G4ParticleGun(nofParticles);
95 fParticleGun->GeneratePrimaryVertex(anEvent);
Definition of the GarfieldPrimaryGeneratorAction class.
GarfieldPrimaryGeneratorAction()
virtual void GeneratePrimaries(G4Event *event)
virtual ~GarfieldPrimaryGeneratorAction()