Geant4  10.00.p03
G4CollisionManager Class Reference

#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 ()
 
G4CollisionInitialStateGetNextCollision ()
 
void Print ()
 

Private Member Functions

 G4CollisionManager (const G4CollisionManager &)
 
G4CollisionManageroperator= (const G4CollisionManager &)
 

Private Attributes

G4ListOfCollisionstheCollisionList
 

Detailed Description

Definition at line 36 of file G4CollisionManager.hh.

Constructor & Destructor Documentation

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.

+ Here is the call graph for this function:

G4CollisionManager::G4CollisionManager ( const G4CollisionManager )
private

Member Function Documentation

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4CollisionManager::AddCollision ( G4CollisionInitialState collision)
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().

+ Here is the caller graph for this function:

G4int G4CollisionManager::Entries ( )
inline

Definition at line 65 of file G4CollisionManager.hh.

References theCollisionList.

Referenced by G4BinaryCascade::DoTimeStep(), G4BinaryCascade::FillVoidNucleusProducts(), G4BinaryCascade::Propagate(), and G4BinaryCascade::StepParticlesOut().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

G4CollisionManager& G4CollisionManager::operator= ( const G4CollisionManager )
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4CollisionManager::RemoveCollision ( G4CollisionInitialState collision)

Definition at line 70 of file G4CollisionManager.cc.

References theCollisionList.

Referenced by G4BinaryCascade::FillVoidNucleusProducts(), G4BinaryCascade::Propagate(), and G4BinaryCascade::StepParticlesOut().

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation


The documentation for this class was generated from the following files: