48 std::vector< G4QMDParticipant* >::iterator
it;
52 (*it)->SetPosition ( r );
54 (*it)->SetMomentum ( p );
82 std::ios::fmtflags oldform =
G4cout.flags();
85 std::vector< G4QMDParticipant* >::iterator
it;
86 G4cout <<
"Momentum and Position of each participant " <<
G4endl;
92 << (*it)->GetDefinition()->GetParticleName()
94 << std::setprecision( 8 )
95 << (*it)->GetMomentum()
97 << (*it)->GetPosition()
99 p_sum += (*it)->GetMomentum();
102 G4cout <<
"Sum upped Momentum and its mag " << p_sum <<
" " << p_sum.
mag() <<
G4endl;
114 G4cout <<
"G4QMDSystem::InsertParticipant size error" <<
G4endl;
116 std::vector< G4QMDParticipant* >::iterator
it;
119 for (
G4int i = 0; i <
n ; i++ )