Import Geant4 11.1.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2022-07-01 10:44:02 +02:00
parent b3bf75a2a1
commit c07cea1fe0
2172 changed files with 183300 additions and 123938 deletions
@@ -364,8 +364,9 @@ G4HadFinalState *G4EMDissociation::ApplyYourself
}
G4Fragment* theFragment = new
G4Fragment((G4int) typeDaughter->GetBaryonNumber(),
(G4int) typeDaughter->GetPDGCharge(), dynamicDaughter->Get4Momentum(), false);
G4Fragment(typeDaughter->GetBaryonNumber(),
G4lrint(typeDaughter->GetPDGCharge()/CLHEP::eplus),
dynamicDaughter->Get4Momentum());
if (verboseLevel >= 2) {
G4cout <<"Dynamic properties of the prefragment:" <<G4endl;