38 #include "G4ParticleTable.hh" 39 #include "G4ParticleDefinition.hh" 40 #include "G4SystemOfUnits.hh" 62 G4ParticleDefinition* particle
63 = G4ParticleTable::GetParticleTable()->FindParticle(
"e-");
65 particleGun->SetParticleMomentumDirection(G4ThreeVector(1.,0.,0.));
68 particleGun->SetParticlePosition(G4ThreeVector(position,0.*cm,0.*cm));
DetectorConstruction * Detector
PrimaryGeneratorAction(DetectorConstruction *)
void SetDefaultKinematic()
void GeneratePrimaries(G4Event *)
G4ParticleGun * particleGun
~PrimaryGeneratorAction()