Geant4  10.01.p03
G4Scatterer Class Reference

#include <G4Scatterer.hh>

+ Inheritance diagram for G4Scatterer:
+ Collaboration diagram for G4Scatterer:

Classes

struct  Register
 

Public Member Functions

 G4Scatterer ()
 
virtual ~G4Scatterer ()
 
virtual G4double GetTimeToInteraction (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const
 
G4double GetCrossSection (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const
 
virtual G4KineticTrackVectorScatter (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const
 
virtual const std::vector
< G4CollisionInitialState * > & 
GetCollisions (G4KineticTrack *aProjectile, std::vector< G4KineticTrack * > &someCandidates, G4double aCurrentTime)
 
virtual G4KineticTrackVectorGetFinalState (G4KineticTrack *aProjectile, std::vector< G4KineticTrack * > &theTargets)
 
- Public Member Functions inherited from G4VScatterer
 G4VScatterer ()
 
virtual ~G4VScatterer ()
 
- Public Member Functions inherited from G4BCAction
 G4BCAction ()
 
virtual ~G4BCAction ()
 

Private Member Functions

const G4VCollisionFindCollision (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const
 

Private Attributes

std::vector
< G4CollisionInitialState * > 
theCollisions
 

Static Private Attributes

static G4CollisionVector collisions
 

Detailed Description

Definition at line 44 of file G4Scatterer.hh.

Constructor & Destructor Documentation

G4Scatterer::G4Scatterer ( )

Definition at line 63 of file G4Scatterer.cc.

References G4ForEach< group >::Apply().

+ Here is the call graph for this function:

G4Scatterer::~G4Scatterer ( )
virtual

Definition at line 76 of file G4Scatterer.cc.

References collisions.

Member Function Documentation

const G4VCollision * G4Scatterer::FindCollision ( const G4KineticTrack trk1,
const G4KineticTrack trk2 
) const
private

Definition at line 395 of file G4Scatterer.cc.

References collisions, and G4VCollision::IsInCharge().

Referenced by GetCrossSection(), GetTimeToInteraction(), and Scatter().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const std::vector< G4CollisionInitialState * > & G4Scatterer::GetCollisions ( G4KineticTrack aProjectile,
std::vector< G4KineticTrack * > &  someCandidates,
G4double  aCurrentTime 
)
virtual

Implements G4BCAction.

Definition at line 439 of file G4Scatterer.cc.

References DBL_MAX, GetTimeToInteraction(), and theCollisions.

+ Here is the call graph for this function:

G4double G4Scatterer::GetCrossSection ( const G4KineticTrack trk1,
const G4KineticTrack trk2 
) const

Definition at line 424 of file G4Scatterer.cc.

References G4VCollision::CrossSection(), and FindCollision().

+ Here is the call graph for this function:

G4KineticTrackVector * G4Scatterer::GetFinalState ( G4KineticTrack aProjectile,
std::vector< G4KineticTrack * > &  theTargets 
)
virtual

Implements G4BCAction.

Definition at line 463 of file G4Scatterer.cc.

References Scatter().

+ Here is the call graph for this function:

G4double G4Scatterer::GetTimeToInteraction ( const G4KineticTrack trk1,
const G4KineticTrack trk2 
) const
virtual

Implements G4VScatterer.

Definition at line 85 of file G4Scatterer.cc.

References G4VCollision::CrossSection(), DBL_MAX, FindCollision(), G4KineticTrack::Get4Momentum(), G4KineticTrack::GetActualMass(), G4KineticTrack::GetDefinition(), G4ParticleDefinition::GetPDGCharge(), G4KineticTrack::GetPosition(), G4KineticTrack::GetTrackingMomentum(), GeV, millibarn, G4Neutron::Neutron(), G4INCL::Math::pi, pos, and position.

Referenced by GetCollisions().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4KineticTrackVector * G4Scatterer::Scatter ( const G4KineticTrack trk1,
const G4KineticTrack trk2 
) const
virtual

Implements G4VScatterer.

Definition at line 284 of file G4Scatterer.cc.

References G4VCollision::CrossSection(), FatalException, G4VCollision::FinalState(), FindCollision(), G4cout, G4endl, G4Exception(), G4lrint(), G4KineticTrack::Get4Momentum(), G4ParticleDefinition::GetBaryonNumber(), G4KineticTrack::GetDefinition(), G4ParticleDefinition::GetParticleName(), G4ParticleDefinition::GetPDGCharge(), and MeV.

Referenced by G4QMDCollision::CalFinalStateOfTheBinaryCollision(), GetFinalState(), and G4BinaryCascade::Propagate1H1().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4CollisionVector G4Scatterer::collisions
staticprivate

Definition at line 84 of file G4Scatterer.hh.

Referenced by FindCollision(), and ~G4Scatterer().

std::vector<G4CollisionInitialState *> G4Scatterer::theCollisions
private

Definition at line 85 of file G4Scatterer.hh.

Referenced by GetCollisions().


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