#include <G4QMDSystem.hh>
Definition at line 45 of file G4QMDSystem.hh.
G4QMDSystem::G4QMDSystem |
( |
| ) |
|
Definition at line 31 of file G4QMDSystem.cc.
34 numberOfCollision = 0;
std::vector< G4QMDParticipant * > participants
G4QMDSystem::~G4QMDSystem |
( |
| ) |
|
|
virtual |
void G4QMDSystem::Clear |
( |
| ) |
|
Definition at line 68 of file G4QMDSystem.cc.
G4int GetTotalNumberOfParticipant()
std::vector< G4QMDParticipant * > participants
void G4QMDSystem::DeleteParticipant |
( |
G4int |
i | ) |
|
|
inline |
Definition at line 57 of file G4QMDSystem.hh.
std::vector< G4QMDParticipant * > participants
Definition at line 56 of file G4QMDSystem.hh.
std::vector< G4QMDParticipant * > participants
G4int G4QMDSystem::GetNOCollision |
( |
| ) |
|
|
inline |
Definition at line 62 of file G4QMDSystem.hh.
std::vector< G4QMDParticipant * > participants
G4int G4QMDSystem::GetTotalNumberOfParticipant |
( |
| ) |
|
|
inline |
Definition at line 60 of file G4QMDSystem.hh.
std::vector< G4QMDParticipant * > participants
void G4QMDSystem::IncrementCollisionCounter |
( |
| ) |
|
|
inline |
Definition at line 110 of file G4QMDSystem.cc.
114 G4cout <<
"G4QMDSystem::InsertParticipant size error" <<
G4endl;
116 std::vector< G4QMDParticipant* >::iterator it;
119 for (
G4int i = 0; i <
n ; i++ )
G4GLOB_DLL std::ostream G4cout
std::vector< G4QMDParticipant * > participants
Definition at line 51 of file G4QMDSystem.hh.
std::vector< G4QMDParticipant * > participants
Definition at line 46 of file G4QMDSystem.cc.
48 std::vector< G4QMDParticipant* >::iterator it;
52 (*it)->SetPosition ( r );
54 (*it)->SetMomentum ( p );
void SetParticipant(G4QMDParticipant *particle)
std::vector< G4QMDParticipant * > participants
void G4QMDSystem::ShowParticipants |
( |
| ) |
|
Definition at line 79 of file G4QMDSystem.cc.
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;
G4GLOB_DLL std::ostream G4cout
std::vector< G4QMDParticipant * > participants
Definition at line 59 of file G4QMDSystem.cc.
G4int GetTotalNumberOfParticipant()
std::vector< G4QMDParticipant * > participants
G4QMDParticipant * GetParticipant(G4int i)
The documentation for this class was generated from the following files:
- geant4.10.03.p01/source/processes/hadronic/models/qmd/include/G4QMDSystem.hh
- geant4.10.03.p01/source/processes/hadronic/models/qmd/src/G4QMDSystem.cc