Geant4-11
|
#include <G4Scatterer.hh>
Data Structures | |
struct | Register |
Public Member Functions | |
G4Scatterer () | |
virtual const std::vector< G4CollisionInitialState * > & | GetCollisions (G4KineticTrack *aProjectile, std::vector< G4KineticTrack * > &someCandidates, G4double aCurrentTime) |
G4double | GetCrossSection (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const |
virtual G4KineticTrackVector * | GetFinalState (G4KineticTrack *aProjectile, std::vector< G4KineticTrack * > &theTargets) |
virtual G4double | GetTimeToInteraction (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const |
virtual G4KineticTrackVector * | Scatter (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const |
virtual | ~G4Scatterer () |
Private Member Functions | |
const G4VCollision * | FindCollision (const G4KineticTrack &trk1, const G4KineticTrack &trk2) const |
Private Attributes | |
std::vector< G4CollisionInitialState * > | theCollisions |
Static Private Attributes | |
static G4CollisionVector | collisions |
Definition at line 43 of file G4Scatterer.hh.
G4Scatterer::G4Scatterer | ( | ) |
Definition at line 62 of file G4Scatterer.cc.
References G4ForEach< group >::Apply(), collisions, anonymous_namespace{G4Scatterer.cc}::collisions_mutex, and anonymous_namespace{G4Scatterer.cc}::setupDone.
|
virtual |
Definition at line 75 of file G4Scatterer.cc.
References collisions, and anonymous_namespace{G4Scatterer.cc}::collisions_mutex.
|
private |
Definition at line 394 of file G4Scatterer.cc.
References collisions, and G4VCollision::IsInCharge().
Referenced by GetCrossSection(), GetTimeToInteraction(), and Scatter().
|
virtual |
Implements G4BCAction.
Definition at line 437 of file G4Scatterer.cc.
References DBL_MAX, GetTimeToInteraction(), and theCollisions.
G4double G4Scatterer::GetCrossSection | ( | const G4KineticTrack & | trk1, |
const G4KineticTrack & | trk2 | ||
) | const |
Definition at line 423 of file G4Scatterer.cc.
References G4VCollision::CrossSection(), and FindCollision().
|
virtual |
Implements G4BCAction.
Definition at line 461 of file G4Scatterer.cc.
References Scatter().
|
virtual |
Implements G4VScatterer.
Definition at line 84 of file G4Scatterer.cc.
References source.hepunit::c_light, G4VCollision::CrossSection(), DBL_MAX, CLHEP::HepLorentzVector::e(), FindCollision(), G4KineticTrack::Get4Momentum(), G4KineticTrack::GetActualMass(), G4KineticTrack::GetDefinition(), G4ParticleDefinition::GetPDGCharge(), G4KineticTrack::GetPosition(), G4KineticTrack::GetTrackingMomentum(), GeV, CLHEP::HepLorentzVector::mag(), CLHEP::Hep3Vector::mag2(), millibarn, G4Neutron::Neutron(), pi, pos, CLHEP::Hep3Vector::unit(), CLHEP::HepLorentzVector::vect(), CLHEP::HepLorentzVector::z(), and CLHEP::Hep3Vector::z().
Referenced by GetCollisions().
|
virtual |
Implements G4VScatterer.
Definition at line 283 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(), CLHEP::HepLorentzVector::mag(), MeV, CLHEP::HepLorentzVector::t(), CLHEP::Hep3Vector::unit(), CLHEP::HepLorentzVector::vect(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by G4QMDCollision::CalFinalStateOfTheBinaryCollision(), GetFinalState(), and G4BinaryCascade::Propagate1H1().
|
staticprivate |
Definition at line 83 of file G4Scatterer.hh.
Referenced by FindCollision(), G4Scatterer(), and ~G4Scatterer().
|
private |
Definition at line 84 of file G4Scatterer.hh.
Referenced by GetCollisions().