Import Geant4 11.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2022-12-09 14:43:28 +01:00
parent c07cea1fe0
commit 9f34590941
3810 changed files with 200490 additions and 182326 deletions
@@ -62,41 +62,36 @@ class TrackingManagerHelper
// automatically after this method returns. If secondaries should be given
// back to the G4EventManager, put them into the container passed as the
// last argument.
virtual void AlongStepDoIt(G4Track& track, G4Step& step,
G4TrackVector& secondaries) = 0;
virtual void AlongStepDoIt(G4Track& track, G4Step& step, G4TrackVector& secondaries) = 0;
// This method is called unless the track has been killed during this step.
// If secondaries should be given back to the G4EventManager, put them into
// the container passed as the last argument.
virtual void PostStepDoIt(G4Track& track, G4Step& step,
G4TrackVector& secondaries) = 0;
virtual void PostStepDoIt(G4Track& track, G4Step& step, G4TrackVector& secondaries) = 0;
virtual bool HasAtRestProcesses() { return false; }
// This method is called when a track is stopped, but still alive. If
// secondaries should be given back to the G4EventManager, put them into
// the container passed as the last argument.
virtual void AtRestDoIt(G4Track& track, G4Step& step,
G4TrackVector& secondaries)
virtual void AtRestDoIt(G4Track& track, G4Step& step, G4TrackVector& secondaries)
{
(void) track;
(void) step;
(void) secondaries;
(void)track;
(void)step;
(void)secondaries;
}
};
class Navigation
{
public:
virtual G4double MakeStep(G4Track& track, G4Step& step,
G4double physicalStep) = 0;
virtual G4double MakeStep(G4Track& track, G4Step& step, G4double physicalStep) = 0;
virtual void FinishStep(G4Track& track, G4Step& step) = 0;
};
template <typename PhysicsImpl, typename NavigationImpl>
static void TrackParticle(G4Track* aTrack, PhysicsImpl& physics,
NavigationImpl& navigation);
static void TrackParticle(G4Track* aTrack, PhysicsImpl& physics, NavigationImpl& navigation);
template <typename PhysicsImpl>
static void TrackChargedParticle(G4Track* aTrack, PhysicsImpl& physics);