Import Geant4 10.7.0 source tree

This commit is contained in:
Gabriele Cosmo
2020-12-04 12:30:43 +01:00
parent 67ba86d073
commit dab42d2018
3770 changed files with 226369 additions and 286486 deletions
@@ -244,7 +244,7 @@ G4HadFinalState *G4EMDissociation::ApplyYourself
// energy includes the projectile and virtual gamma. This is then used
// to calculate the boost required for the secondaries.
pP.setE(pP.e()+Eg);
pP.setE( std::sqrt( pP.vect().mag2() + (mass + Eg)*(mass + Eg) ) );
boost = pP.findBoostToCM();
}
else
@@ -349,7 +349,7 @@ G4HadFinalState *G4EMDissociation::ApplyYourself
G4Fragment* theFragment = new
G4Fragment((G4int) typeDaughter->GetBaryonNumber(),
(G4int) typeDaughter->GetPDGCharge(), dynamicDaughter->Get4Momentum());
(G4int) typeDaughter->GetPDGCharge(), dynamicDaughter->Get4Momentum(), false);
if (verboseLevel >= 2) {
G4cout <<"Dynamic properties of the prefragment:" <<G4endl;