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
+21 -14
View File
@@ -1,20 +1,27 @@
-------------------------------------------------------------------
# Category procman History
=========================================================
Geant4 - an Object-Oriented Toolkit for Simulation in HEP
=========================================================
See `CONTRIBUTING.rst` for details of **required** info/format for each entry,
which **must** added in reverse chronological order (newest at the top). It must **not**
be used as a substitute for writing good git commit messages!
Category History file
---------------------
This file should be used by G4 developers and category coordinators
to briefly summarize all major modifications introduced in the code
and keep track of all category-tags.
It DOES NOT substitute the CVS log-message one should put at every
committal in the CVS repository !
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
## 2022-05-10 Jonas Hahnfeld (procman-V11-00-03)
- `G4VProcess`: Introduce new virtual method `GetCreatorProcess()`
## 2022-04-06 Vladimir Ivanchenko (procman-V11-00-02)
- G4VDiscreteProcess - added virtual method MinPrimaryEnergy(..) for
implementation of integral method
## 2022-03-17 Vladimir Ivanchenko (procman-V11-00-01)
- G4VDiscreteProcess - added virtual method GetCrossSection
needed for integral method both in hadronics and EM sub-libraries
## 2021-12-10 Ben Morgan (procman-V11-00-00)
- Change to new Markdown History format
---
# History entries prior to 11.0
- Oct 4, 2021 Alberto Ribon (procman-V10-07-04)
- G4NoProcess : added the method IsApplicable(), returning false, because
@@ -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
@@ -151,6 +151,12 @@ const G4String& G4VProcess::GetProcessTypeName(G4ProcessType aType )
return noType;
}
// --------------------------------------------------------------------
const G4VProcess* G4VProcess::GetCreatorProcess() const
{
return this;
}
// --------------------------------------------------------------------
G4bool G4VProcess::operator==(const G4VProcess& right) const
{