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