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