Import Geant4 11.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2023-12-08 10:43:34 +01:00
parent dd1f179cda
commit 860a2b92bf
3962 changed files with 139318 additions and 164259 deletions
+6
View File
@@ -6,6 +6,12 @@ It must **not** be used as a substitute for writing good git commit messages!
-------------------------------------------------------------------------------
## 2023-10-19 Ben Morgan (gflash-V11-01-01)
- Replace use of deprecated functions with modern equivalents
## 2023-08-29 Ben Morgan (gflash-V11-01-00)
- Fix Coverity warnings for uninitialized data members.
## 2022-11-18 Gabriele Cosmo (gflash-V11-00-03)
- Fixed compilation warnings for implicit type conversions on macOS/XCode 14.1.
@@ -35,7 +35,6 @@ geant4_module_link_libraries(G4gflash
G4partman
G4navigation
G4geometrymng
G4volumes
G4intercoms
G4globman
PRIVATE
@@ -61,6 +61,7 @@ GFlashShowerModel::GFlashShowerModel(G4String modelName,
FlagParamType = 0;
FlagParticleContainment = 1;
StepInX0 = 0.1;
EnergyStop = 0.0;
Messenger = new GFlashShowerModelMessenger(this);
}
@@ -71,6 +72,7 @@ GFlashShowerModel::GFlashShowerModel(G4String modelName)
FlagParamType =1;
FlagParticleContainment = 1;
StepInX0 = 0.1;
EnergyStop = 0.0;
Messenger = new GFlashShowerModelMessenger(this);
}
@@ -193,8 +195,8 @@ GFlashShowerModel::ElectronDoIt(const G4FastTrack& fastTrack,
// std::cout<<"--- ElectronDoit --- "<<std::endl;
fastStep.KillPrimaryTrack();
fastStep.SetPrimaryTrackPathLength(0.0);
fastStep.SetTotalEnergyDeposited(fastTrack.GetPrimaryTrack()->
fastStep.ProposePrimaryTrackPathLength(0.0);
fastStep.ProposeTotalEnergyDeposited(fastTrack.GetPrimaryTrack()->
GetKineticEnergy());
//-----------------------------