Import Geant4 11.1.1 source tree
This commit is contained in:
@@ -1,8 +1,22 @@
|
||||
# Category phys-ctor-decay History
|
||||
|
||||
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!
|
||||
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!
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
## 2023-01-11 Alberto Ribon (phys-ctor-decay-V11-00-04)
|
||||
- G4RadioactiveDecayPhysics : assigned the RadioactiveDecay process
|
||||
to G4Triton (which is the only light ion that decays).
|
||||
Note: before, triton did not have beta decay, i.e. it was wrongly
|
||||
treated as stable even when radioactive decay physics was enabled;
|
||||
anti_triton did not, and still does not, have beta decay
|
||||
(because RadioactiveDecay, in its current implementation, does
|
||||
not handle any kind of anti-ions): in practice, this is an acceptable
|
||||
approximation because of its relatively long lifetime and the fact
|
||||
that annihilation and nuclear capture are more likely to happen
|
||||
before decay.
|
||||
|
||||
## 2022-11-16 Vladimir Ivanchenko (phys-ctor-decay-V11-00-03)
|
||||
- added calls to G4EmBuilder and G4PhysListUtil in order to
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
#include "G4DeexPrecoParameters.hh"
|
||||
#include "G4NuclideTable.hh"
|
||||
#include "G4PhysListUtil.hh"
|
||||
#include "G4Triton.hh"
|
||||
|
||||
// factory
|
||||
#include "G4PhysicsConstructorFactory.hh"
|
||||
@@ -99,6 +100,15 @@ void G4RadioactiveDecayPhysics::ConstructProcess()
|
||||
|
||||
G4PhysicsListHelper::GetPhysicsListHelper()->
|
||||
RegisterProcess(new G4RadioactiveDecay(), G4GenericIon::GenericIon());
|
||||
|
||||
// Triton (which is not a generic ion) is the only light ion that decays.
|
||||
// Note that the anti_triton does not have beta decay, because RadioactiveDecay,
|
||||
// in its current implementation, does not handle any kind of anti-ions:
|
||||
// in practice, this is an acceptable approximation because of its relatively
|
||||
// long lifetime and the fact that annihilation and nuclear capture
|
||||
// are more likely to happen before decay.
|
||||
G4PhysicsListHelper::GetPhysicsListHelper()->
|
||||
RegisterProcess(new G4RadioactiveDecay(), G4Triton::Triton());
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -6,6 +6,9 @@ It must **not** be used as a substitute for writing good git commit messages!
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
## 2022-12-09 Vladimir Ivanchenko (phys-ctor-em-V11-00-36)
|
||||
- G4GammaGeneralProcess - in all cases select sub-process (fix problem #2521)
|
||||
|
||||
## 2022-11-24 Gabriele Cosmo (phys-ctor-em-V11-00-35)
|
||||
- Fixed compilation warnings for implicit type conversions on macOS/XCode 14.1.
|
||||
|
||||
|
||||
@@ -604,6 +604,8 @@ G4VParticleChange* G4GammaGeneralProcess::PostStepDoIt(const G4Track& track,
|
||||
SelectEmProcess(step, theCompton);
|
||||
} else if(theRayleigh) {
|
||||
SelectEmProcess(step, theRayleigh);
|
||||
} else {
|
||||
SelectEmProcess(step, thePhotoElectric);
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -616,6 +618,8 @@ G4VParticleChange* G4GammaGeneralProcess::PostStepDoIt(const G4Track& track,
|
||||
SelectEmProcess(step, thePhotoElectric);
|
||||
} else if(theGammaNuclear) {
|
||||
SelectHadProcess(track, step, theGammaNuclear);
|
||||
} else {
|
||||
SelectEmProcess(step, theConversionEE);
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -630,6 +634,8 @@ G4VParticleChange* G4GammaGeneralProcess::PostStepDoIt(const G4Track& track,
|
||||
SelectHadProcess(track, step, theGammaNuclear);
|
||||
} else if(theConversionMM) {
|
||||
SelectedProcess(step, theConversionMM);
|
||||
} else {
|
||||
SelectEmProcess(step, theConversionEE);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user