Import Geant4 11.2.0 source tree
This commit is contained in:
@@ -48,6 +48,8 @@ modes that can be passed as a parameter to the executable:
|
||||
|
||||
\verbatim
|
||||
% exampleRE07 processes.mac
|
||||
% exampleRE07 specialized.mac
|
||||
% exampleRE07 tracking.mac
|
||||
\endverbatim
|
||||
|
||||
*/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#----------------------------------------------------------------------------
|
||||
# Setup the project
|
||||
cmake_minimum_required(VERSION 3.16...3.21)
|
||||
cmake_minimum_required(VERSION 3.16...3.27)
|
||||
project(RE07)
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
@@ -5,6 +5,10 @@ which **must** added in reverse chronological order (newest at the top). It must
|
||||
be used as a substitute for writing good git commit messages!
|
||||
|
||||
|
||||
## 2023-11-09 I. Hrivnacova (exampleRE07-V11-01-00)
|
||||
- Coding guidelines - document macros in README files
|
||||
- Added separators in EmStandardPhysicsTrackingManager.cc
|
||||
|
||||
## 2022-09-14 Jonas Hahnfeld (exampleRE07-V11-00-01)
|
||||
- Run `clang-format`
|
||||
- Rename static class member `fMasterTrackingManager`
|
||||
|
||||
@@ -50,3 +50,5 @@ a particle or a set of particles.
|
||||
modes that can be passed as a parameter to the executable:
|
||||
|
||||
% exampleRE07 processes.mac
|
||||
% exampleRE07 specialized.mac
|
||||
% exampleRE07 tracking.mac
|
||||
|
||||
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
|
||||
|
||||
|
||||
**************************************************************
|
||||
Geant4 version Name: geant4-11-01-ref-06 (30-June-2023)
|
||||
Geant4 version Name: geant4-11-02-ref-00 (8-December-2023)
|
||||
Copyright : Geant4 Collaboration
|
||||
References : NIM A 506 (2003), 250-303
|
||||
: IEEE-TNS 53 (2006), 270-278
|
||||
@@ -64,15 +64,15 @@ Command is ignored.
|
||||
------------------------------------------------------------
|
||||
material Edep RMS sqrt(E0(GeV))*rmsE/Emean total tracklen
|
||||
|
||||
G4_Pb: 775.16 MeV : 16.8 MeV 2.167 +- 0.06853 % 54.8 cm +- 1.27 cm
|
||||
G4_lAr: 214.33 MeV : 15.48 MeV 7.224 +- 0.2284 % 1.05 m +- 7.92 cm
|
||||
G4_Pb: 775.63 MeV : 16.45 MeV 2.12 +- 0.06705 % 54.8 cm +- 1.27 cm
|
||||
G4_lAr: 213.94 MeV : 15.28 MeV 7.144 +- 0.2259 % 1.05 m +- 7.81 cm
|
||||
|
||||
------------------------------------------------------------
|
||||
Beam particle e- E = 1 GeV
|
||||
Mean number of gamma 508
|
||||
Mean number of e- 870
|
||||
Mean number of e+ 53.5
|
||||
Mean number of charged steps 3666.14
|
||||
Mean number of neutral steps 3691.55
|
||||
Mean number of e+ 53.7
|
||||
Mean number of charged steps 3663.33
|
||||
Mean number of neutral steps 3685.01
|
||||
------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
|
||||
|
||||
|
||||
**************************************************************
|
||||
Geant4 version Name: geant4-11-01-ref-06 (30-June-2023)
|
||||
Geant4 version Name: geant4-11-02-ref-00 (8-December-2023)
|
||||
Copyright : Geant4 Collaboration
|
||||
References : NIM A 506 (2003), 250-303
|
||||
: IEEE-TNS 53 (2006), 270-278
|
||||
|
||||
@@ -54,9 +54,13 @@
|
||||
|
||||
#include "TrackingManagerHelper.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
EmStandardPhysicsTrackingManager* EmStandardPhysicsTrackingManager::fMasterTrackingManager =
|
||||
nullptr;
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
EmStandardPhysicsTrackingManager::EmStandardPhysicsTrackingManager()
|
||||
{
|
||||
G4EmParameters* param = G4EmParameters::Instance();
|
||||
@@ -157,6 +161,8 @@ EmStandardPhysicsTrackingManager::EmStandardPhysicsTrackingManager()
|
||||
}
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
EmStandardPhysicsTrackingManager::~EmStandardPhysicsTrackingManager()
|
||||
{
|
||||
if (fMasterTrackingManager == this) {
|
||||
@@ -164,6 +170,8 @@ EmStandardPhysicsTrackingManager::~EmStandardPhysicsTrackingManager()
|
||||
}
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void EmStandardPhysicsTrackingManager::BuildPhysicsTable(const G4ParticleDefinition& part)
|
||||
{
|
||||
if (&part == G4Electron::Definition()) {
|
||||
@@ -187,6 +195,8 @@ void EmStandardPhysicsTrackingManager::BuildPhysicsTable(const G4ParticleDefinit
|
||||
}
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void EmStandardPhysicsTrackingManager::PreparePhysicsTable(const G4ParticleDefinition& part)
|
||||
{
|
||||
if (&part == G4Electron::Definition()) {
|
||||
@@ -210,6 +220,8 @@ void EmStandardPhysicsTrackingManager::PreparePhysicsTable(const G4ParticleDefin
|
||||
}
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void EmStandardPhysicsTrackingManager::TrackElectron(G4Track* aTrack)
|
||||
{
|
||||
class ElectronPhysics final : public TrackingManagerHelper::Physics
|
||||
@@ -364,6 +376,8 @@ void EmStandardPhysicsTrackingManager::TrackElectron(G4Track* aTrack)
|
||||
TrackingManagerHelper::TrackChargedParticle(aTrack, physics);
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void EmStandardPhysicsTrackingManager::TrackPositron(G4Track* aTrack)
|
||||
{
|
||||
class PositronPhysics final : public TrackingManagerHelper::Physics
|
||||
@@ -553,6 +567,8 @@ void EmStandardPhysicsTrackingManager::TrackPositron(G4Track* aTrack)
|
||||
TrackingManagerHelper::TrackChargedParticle(aTrack, physics);
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void EmStandardPhysicsTrackingManager::TrackGamma(G4Track* aTrack)
|
||||
{
|
||||
class GammaPhysics final : public TrackingManagerHelper::Physics
|
||||
@@ -685,6 +701,8 @@ void EmStandardPhysicsTrackingManager::TrackGamma(G4Track* aTrack)
|
||||
TrackingManagerHelper::TrackNeutralParticle(aTrack, physics);
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void EmStandardPhysicsTrackingManager::HandOverOneTrack(G4Track* aTrack)
|
||||
{
|
||||
const G4ParticleDefinition* part = aTrack->GetParticleDefinition();
|
||||
@@ -702,3 +720,5 @@ void EmStandardPhysicsTrackingManager::HandOverOneTrack(G4Track* aTrack)
|
||||
aTrack->SetTrackStatus(fStopAndKill);
|
||||
delete aTrack;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
|
||||
|
||||
|
||||
**************************************************************
|
||||
Geant4 version Name: geant4-11-01-ref-06 (30-June-2023)
|
||||
Geant4 version Name: geant4-11-02-ref-00 (8-December-2023)
|
||||
Copyright : Geant4 Collaboration
|
||||
References : NIM A 506 (2003), 250-303
|
||||
: IEEE-TNS 53 (2006), 270-278
|
||||
@@ -64,15 +64,15 @@ Command is ignored.
|
||||
------------------------------------------------------------
|
||||
material Edep RMS sqrt(E0(GeV))*rmsE/Emean total tracklen
|
||||
|
||||
G4_Pb: 775.71 MeV : 16.23 MeV 2.092 +- 0.06615 % 54.8 cm +- 1.28 cm
|
||||
G4_lAr: 214.08 MeV : 15.48 MeV 7.229 +- 0.2286 % 1.05 m +- 7.91 cm
|
||||
G4_Pb: 775.67 MeV : 16.18 MeV 2.086 +- 0.06597 % 54.8 cm +- 1.28 cm
|
||||
G4_lAr: 214.11 MeV : 15.42 MeV 7.203 +- 0.2278 % 1.05 m +- 7.89 cm
|
||||
|
||||
------------------------------------------------------------
|
||||
Beam particle e- E = 1 GeV
|
||||
Mean number of gamma 509
|
||||
Mean number of e- 871
|
||||
Mean number of e+ 53.7
|
||||
Mean number of charged steps 3677.35
|
||||
Mean number of neutral steps 3694.33
|
||||
Mean number of charged steps 3676.98
|
||||
Mean number of neutral steps 3695.06
|
||||
------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user