W pliku
BeamTestPrimaryGeneratorAction.cc
(zmiany
kolorem czerwonym)
.................................................................
BeamTestPrimaryGeneratorAction::BeamTestPrimaryGeneratorAction()
.................................................................
G4String
particleName;
G4ParticleDefinition* particle =
particleTable->FindParticle(particleName="e-");
// G4ParticleDefinition* particle =
particleTable->FindParticle(particleName="gamma");
// G4ParticleDefinition* particle =
particleTable->FindParticle(particleName="mu-");
// G4ParticleDefinition* particle =
particleTable->FindParticle(particleName="proton");
particleGun->SetParticleDefinition(particle);
.................................................................