Import Geant4 10.7.2 source tree
This commit is contained in:
@@ -14,6 +14,22 @@ track of all tags.
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
15 April 2021 Vladimir Ivanchenko radioactive_decay-V10-06-11
|
||||
---------------------------------------------------------------
|
||||
- G4RadioactiveDecayBase - fix #2350
|
||||
|
||||
16 February 2021 Alberto Ribon radioactive_decay-V10-06-10
|
||||
------------------------------------------------------------
|
||||
- G4RadioactiveDecayBase : set the weight of secondaries tracks to the
|
||||
mother's weight value in the method G4RadioactiveDecayBase::DecayAnalog.
|
||||
Thanks to Michael Dressel (Desy) for spotting this.
|
||||
This bug, present since a long time, affects only simulations that
|
||||
use Radioactive Decay in analogue mode with "external" biasing
|
||||
(e.g. generic biasing, GPS generator with weights, etc.).
|
||||
For completeness (but useless because this deprecated class will be
|
||||
removed in Geant4 11), the corresponding fix was done also in the
|
||||
class G4RadioactiveDecay in the method DecayIt.
|
||||
|
||||
05 August 2020 Alberto Ribon radioactive_decay-V10-06-09
|
||||
----------------------------------------------------------
|
||||
- G4RadioactiveDecayBaseMessenger, G4RadioactiveDecaymessenger,
|
||||
|
||||
@@ -1809,7 +1809,7 @@ G4RadioactiveDecay::DecayIt(const G4Track& theTrack, const G4Step&)
|
||||
for (index=0; index < numberOfSecondaries; index++) {
|
||||
G4Track* secondary = new G4Track(products->PopProducts(),
|
||||
finalGlobalTime, currentPosition);
|
||||
|
||||
secondary->SetWeight(theTrack.GetWeight());
|
||||
secondary->SetCreatorModelIndex(theRadDecayMode);
|
||||
//Change for atomics relaxation
|
||||
if (theRadDecayMode == IT && index>0){
|
||||
|
||||
@@ -495,7 +495,7 @@ G4RadioactiveDecayBase::StreamInfo(std::ostream& os, const G4String& endline)
|
||||
os << "Use Bearden atomic level energies "
|
||||
<< emparam->BeardenFluoDir() << endline;
|
||||
os << "======================================================================"
|
||||
<< endline;
|
||||
<< G4endl;
|
||||
os.precision(prec);
|
||||
}
|
||||
|
||||
@@ -1151,6 +1151,7 @@ void G4RadioactiveDecayBase::DecayAnalog(const G4Track& theTrack)
|
||||
for (G4int index = 0; index < numberOfSecondaries; index++) {
|
||||
G4Track* secondary = new G4Track(products->PopProducts(), finalGlobalTime,
|
||||
theTrack.GetPosition() );
|
||||
secondary->SetWeight(theTrack.GetWeight());
|
||||
secondary->SetCreatorModelIndex(theRadDecayMode);
|
||||
//Change for atomics relaxation
|
||||
if (theRadDecayMode == IT && index>0){
|
||||
|
||||
Reference in New Issue
Block a user