Import Geant4 11.1.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2022-07-01 10:44:02 +02:00
parent b3bf75a2a1
commit c07cea1fe0
2172 changed files with 183300 additions and 123938 deletions
@@ -85,12 +85,25 @@ class G4VDiscreteProcess : public G4VProcess
virtual G4VParticleChange* AtRestDoIt(
const G4Track& ,
const G4Step&
) { return 0; }
) { return nullptr; }
virtual G4VParticleChange* AlongStepDoIt(
const G4Track& ,
const G4Step&
) { return 0; }
) { return nullptr; }
// cross section in the unit of inverse length as a
// function of kinetic energy
virtual G4double GetCrossSection(
const G4double,
const G4MaterialCutsCouple*
) { return 0.0; }
// minimal energy for non-zero cross section
virtual G4double MinPrimaryEnergy(
const G4ParticleDefinition*,
const G4Material*
) { return 0.0; }
protected:
@@ -240,6 +240,10 @@ class G4VProcess
static const G4String& GetProcessTypeName(G4ProcessType);
// Returns the process type name
virtual const G4VProcess* GetCreatorProcess() const;
// Returns the process to be used as CreatorProcess for secondaries
// coming from this process
virtual void StartTracking(G4Track*);
virtual void EndTracking();
// Inform Start/End of tracking for each track to the physics process