Import Geant4 10.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 11:51:14 +02:00
parent e2d2f9810a
commit 286caacf06
12421 changed files with 730077 additions and 502383 deletions
@@ -81,6 +81,7 @@ void G4QMDSystem::ShowParticipants()
G4ThreeVector p_sum( 0.0 );
std::vector< G4QMDParticipant* >::iterator it;
G4cout << "Momentum and Position of each participant " << G4endl;
G4int orginal = G4cout.precision();
G4int i = 0;
for ( it = participants.begin() ; it != participants.end() ; it++ )
{
@@ -96,7 +97,9 @@ void G4QMDSystem::ShowParticipants()
p_sum += (*it)->GetMomentum();
i++;
}
G4cout << "Sum upped Momentum and mag " << p_sum << " " << p_sum.mag() << G4endl;
G4cout << "Sum upped Momentum and its mag " << p_sum << " " << p_sum.mag() << G4endl;
//restore orginal precision
G4cout << std::setprecision( orginal );
}