#include <G4QMDSystem.hh>
Definition at line 45 of file G4QMDSystem.hh.
◆ G4QMDSystem()
G4QMDSystem::G4QMDSystem |
( |
| ) |
|
Definition at line 31 of file G4QMDSystem.cc.
std::vector< G4QMDParticipant *> participants
◆ ~G4QMDSystem()
G4QMDSystem::~G4QMDSystem |
( |
| ) |
|
|
virtual |
◆ Clear()
void G4QMDSystem::Clear |
( |
| ) |
|
Definition at line 68 of file G4QMDSystem.cc.
G4int GetTotalNumberOfParticipant()
std::vector< G4QMDParticipant *> participants
◆ DeleteParticipant()
void G4QMDSystem::DeleteParticipant |
( |
G4int |
i | ) |
|
|
inline |
Definition at line 57 of file G4QMDSystem.hh.
std::vector< G4QMDParticipant *> participants
◆ EraseParticipant()
Definition at line 56 of file G4QMDSystem.hh.
std::vector< G4QMDParticipant *> participants
◆ GetNOCollision()
G4int G4QMDSystem::GetNOCollision |
( |
| ) |
|
|
inline |
◆ GetParticipant()
Definition at line 62 of file G4QMDSystem.hh.
std::vector< G4QMDParticipant *> participants
◆ GetTotalNumberOfParticipant()
G4int G4QMDSystem::GetTotalNumberOfParticipant |
( |
| ) |
|
|
inline |
Definition at line 60 of file G4QMDSystem.hh.
std::vector< G4QMDParticipant *> participants
◆ IncrementCollisionCounter()
void G4QMDSystem::IncrementCollisionCounter |
( |
| ) |
|
|
inline |
◆ InsertParticipant()
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
◆ SetParticipant()
Definition at line 51 of file G4QMDSystem.hh.
std::vector< G4QMDParticipant *> participants
◆ SetSystem()
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
◆ ShowParticipants()
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
◆ SubtractSystem()
void G4QMDSystem::SubtractSystem |
( |
G4QMDSystem * |
nucleus | ) |
|
Definition at line 59 of file G4QMDSystem.cc.
G4int GetTotalNumberOfParticipant()
std::vector< G4QMDParticipant *> participants
G4QMDParticipant * GetParticipant(G4int i)
◆ numberOfCollision
G4int G4QMDSystem::numberOfCollision |
|
private |
◆ participants
The documentation for this class was generated from the following files: