Import Geant4 10.6.2 source tree

This commit is contained in:
Gabriele Cosmo
2020-05-29 14:54:29 +02:00
parent 8c87fe78c4
commit c02c370437
448 changed files with 23779 additions and 31516 deletions
@@ -87,6 +87,8 @@ void B2PrimaryGeneratorAction::GeneratePrimaries(G4Event* anEvent)
G4cerr << "The gun will be place in the center." << G4endl;
}
// Note that this particular case of starting a primary particle on the world boundary
// requires shooting in a direction towards inside the world.
fParticleGun->SetParticlePosition(G4ThreeVector(0., 0., -worldZHalfLength));
fParticleGun->GeneratePrimaryVertex(anEvent);