Import Geant4 11.4.0 source tree
This commit is contained in:
@@ -6,6 +6,12 @@ It must **not** be used as a substitute for writing good git commit messages!
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
## 2025-11-24 Vladimir Ivantchenko (emadjoint-V11-03-01)
|
||||
- G4AdjointAlongStepWeightCorrection - fixed compilation warning
|
||||
|
||||
## 2025-07-12 Vladimir Ivantchenko (emadjoint-V11-03-00)
|
||||
- G4ContinuousGainOfEnergy - updated signature of CorrectionsAlongStep(..)
|
||||
|
||||
## 2024-11-01 Laurent Desorgher (emadjoint-V11-02-01)
|
||||
- Add attribute fLastFreeFlightTrackId in G4AdjointForcedInteractionForGamma
|
||||
in order to run adjoint simulation in MT mode
|
||||
|
||||
@@ -90,10 +90,7 @@ G4VParticleChange* G4AdjointAlongStepWeightCorrection::AlongStepDoIt(
|
||||
// This happens after weight correction of gamma for photo electric effect.
|
||||
// When the new weight is 0 it will be later on considered as NaN by G4.
|
||||
// Therefore we put a lower limit of 1.e-300. for new_weight
|
||||
if(new_weight == 0. || (new_weight <= 0. && new_weight > 0.))
|
||||
{
|
||||
new_weight = 1.e-300;
|
||||
}
|
||||
new_weight = std::max(new_weight, 1.e-300);
|
||||
|
||||
fParticleChange->SetParentWeightByProcess(false);
|
||||
fParticleChange->SetSecondaryWeightByProcess(false);
|
||||
|
||||
@@ -147,7 +147,8 @@ G4VParticleChange* G4ContinuousGainOfEnergy::AlongStepDoIt(const G4Track& track,
|
||||
dynParticle->SetKineticEnergy(Tkin + degain);
|
||||
|
||||
// Corrections, which cannot be tabulated for ions
|
||||
fCurrentModel->CorrectionsAlongStep(fCurrentCouple, dynParticle, dlength, degain);
|
||||
fCurrentModel->CorrectionsAlongStep(fCurrentMaterial, fDirectPartDef, Tkin,
|
||||
fCurrentTcut, dlength, degain);
|
||||
|
||||
// Sample fluctuations
|
||||
G4double deltaE = 0.;
|
||||
|
||||
Reference in New Issue
Block a user