Geant4
10.01.p03
|
#include <G4CollisionManager.hh>
Public Member Functions | |
G4CollisionManager () | |
~G4CollisionManager () | |
G4int | Entries () |
void | AddCollision (G4double time, G4KineticTrack *proj, G4KineticTrack *target=NULL) |
void | AddCollision (G4CollisionInitialState *collision) |
void | RemoveCollision (G4CollisionInitialState *collision) |
void | RemoveTracksCollisions (G4KineticTrackVector *ktv) |
void | ClearAndDestroy () |
G4CollisionInitialState * | GetNextCollision () |
void | Print () |
Private Member Functions | |
G4CollisionManager (const G4CollisionManager &) | |
G4CollisionManager & | operator= (const G4CollisionManager &) |
Private Attributes | |
G4ListOfCollisions * | theCollisionList |
Definition at line 36 of file G4CollisionManager.hh.
G4CollisionManager::G4CollisionManager | ( | ) |
Definition at line 35 of file G4CollisionManager.cc.
References theCollisionList.
G4CollisionManager::~G4CollisionManager | ( | ) |
Definition at line 41 of file G4CollisionManager.cc.
References ClearAndDestroy(), and theCollisionList.
|
private |
void G4CollisionManager::AddCollision | ( | G4double | time, |
G4KineticTrack * | proj, | ||
G4KineticTrack * | target = NULL |
||
) |
Definition at line 48 of file G4CollisionManager.cc.
References DBL_MAX, G4cerr, G4endl, G4KineticTrack::Get4Momentum(), G4KineticTrack::GetDefinition(), G4ParticleDefinition::GetParticleName(), and theCollisionList.
Referenced by G4BinaryCascade::FindCollisions(), G4BinaryCascade::FindDecayCollision(), and G4BinaryCascade::FindLateParticleCollision().
|
inline |
Definition at line 45 of file G4CollisionManager.hh.
References theCollisionList.
void G4CollisionManager::ClearAndDestroy | ( | ) |
Definition at line 131 of file G4CollisionManager.cc.
References theCollisionList.
Referenced by G4BinaryCascade::ApplyYourself(), G4BinaryCascade::Propagate(), and ~G4CollisionManager().
|
inline |
Definition at line 65 of file G4CollisionManager.hh.
References theCollisionList.
Referenced by G4BinaryCascade::DoTimeStep(), G4BinaryCascade::FillVoidNucleusProducts(), G4BinaryCascade::Propagate(), and G4BinaryCascade::StepParticlesOut().
G4CollisionInitialState * G4CollisionManager::GetNextCollision | ( | ) |
Definition at line 140 of file G4CollisionManager.cc.
References DBL_MAX, G4cerr, G4endl, and theCollisionList.
Referenced by G4BinaryCascade::DoTimeStep(), G4BinaryCascade::FillVoidNucleusProducts(), G4BinaryCascade::Propagate(), and G4BinaryCascade::StepParticlesOut().
|
private |
void G4CollisionManager::Print | ( | void | ) |
Definition at line 175 of file G4CollisionManager.cc.
References G4cout, G4endl, G4CollisionInitialState::GetCollisionTime(), G4KineticTrack::GetDefinition(), G4CollisionInitialState::GetGenerator(), G4ParticleDefinition::GetPDGEncoding(), G4CollisionInitialState::GetPrimary(), G4CollisionInitialState::GetTarget(), name, second, and theCollisionList.
Referenced by G4BinaryCascade::ApplyCollision().
void G4CollisionManager::RemoveCollision | ( | G4CollisionInitialState * | collision | ) |
Definition at line 70 of file G4CollisionManager.cc.
References theCollisionList.
Referenced by G4BinaryCascade::FillVoidNucleusProducts(), G4BinaryCascade::Propagate(), and G4BinaryCascade::StepParticlesOut().
void G4CollisionManager::RemoveTracksCollisions | ( | G4KineticTrackVector * | ktv | ) |
Definition at line 80 of file G4CollisionManager.cc.
References G4CollisionInitialState::GetPrimary(), G4CollisionInitialState::GetTarget(), G4CollisionInitialState::GetTargetCollection(), and theCollisionList.
Referenced by G4BinaryCascade::ApplyCollision(), and G4BinaryCascade::UpdateTracksAndCollisions().
|
private |
Definition at line 60 of file G4CollisionManager.hh.
Referenced by AddCollision(), ClearAndDestroy(), Entries(), G4CollisionManager(), GetNextCollision(), Print(), RemoveCollision(), RemoveTracksCollisions(), and ~G4CollisionManager().