Import Geant4 10.3.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2016-06-30 14:12:05 +02:00
parent a654a7ab1f
commit 4ec577e5c4
2021 changed files with 100995 additions and 78277 deletions
@@ -13,6 +13,10 @@ code and to keep track of all tags.
* Please list in reverse chronological order (last date on top)
---------------------------------------------------------------
10 February 2016 Tatsumi Koi (hadr-qmd-V10-02-00)
- Fix bug in handling forgiven decay
src/G4QMDCollision.cc
3 November 2015 Tatsumi Koi (hadr-qmd-V10-01-09)
- Loop checking
@@ -231,8 +231,9 @@ void G4QMDCollision::CalKinematicsOfBinaryCollisions( G4double dt )
theSystem->GetParticipant( i )->SetPosition( r0 );
theSystem->GetParticipant( i )->SetMomentum( p0 );
for ( G4int i0i = 0 ; i0i < id-1 ; i0i++ )
{
//for ( G4int i0i = 0 ; i0i < id-1 ; i0i++ )
//160210 deletion must be done in descending order
for ( G4int i0i = id-2 ; 0 <= i0i ; i0i-- ) {
//081118
//std::cout << "Decay Energitically Blocked deleteing " << i0i+n0 << std::endl;
theSystem->DeleteParticipant( i0i+n0 );
@@ -296,6 +297,7 @@ void G4QMDCollision::CalKinematicsOfBinaryCollisions( G4double dt )
{
//081118
//std::cout << "Decay Blocked deleteing " << i0i+n0 << std::endl;
//160210 adding commnet: deletion must be done in descending order
theSystem->DeleteParticipant( i0+n0-i0i-1 );
}
//081103