Geant4  10.01.p01
G4MesonAbsorption Class Reference

#include <G4MesonAbsorption.hh>

+ Inheritance diagram for G4MesonAbsorption:
+ Collaboration diagram for G4MesonAbsorption:

Public Member Functions

 G4MesonAbsorption ()
 
virtual ~G4MesonAbsorption ()
 
virtual const std::vector
< G4CollisionInitialState * > & 
GetCollisions (G4KineticTrack *aProjectile, std::vector< G4KineticTrack * > &someCandidates, G4double aCurrentTime)
 
virtual G4KineticTrackVectorGetFinalState (G4KineticTrack *aProjectile, std::vector< G4KineticTrack * > &theTargets)
 
G4CollisionInitialStateGetCollision (G4KineticTrack *projectile, std::vector< G4KineticTrack * > targets)
 
- Public Member Functions inherited from G4BCAction
 G4BCAction ()
 
virtual ~G4BCAction ()
 

Private Member Functions

 G4MesonAbsorption (const G4MesonAbsorption &)
 
G4MesonAbsorptionoperator= (const G4MesonAbsorption &)
 
G4double GetTimeToAbsorption (const G4KineticTrack &trk1, const G4KineticTrack &trk2)
 
void FindAndFillCluster (G4KineticTrackVector &result, G4KineticTrack *aProjectile, std::vector< G4KineticTrack * > &someCandidates)
 
G4double AbsorptionCrossSection (const G4KineticTrack &trk1, const G4KineticTrack &trk2)
 

Private Attributes

std::vector
< G4CollisionInitialState * > 
theCollisions
 

Detailed Description

Definition at line 34 of file G4MesonAbsorption.hh.

Constructor & Destructor Documentation

G4MesonAbsorption::G4MesonAbsorption ( )
inline

Definition at line 37 of file G4MesonAbsorption.hh.

virtual G4MesonAbsorption::~G4MesonAbsorption ( )
inlinevirtual

Definition at line 38 of file G4MesonAbsorption.hh.

G4MesonAbsorption::G4MesonAbsorption ( const G4MesonAbsorption )
private

Member Function Documentation

G4double G4MesonAbsorption::AbsorptionCrossSection ( const G4KineticTrack trk1,
const G4KineticTrack trk2 
)
private

Definition at line 306 of file G4MesonAbsorption.cc.

References G4KineticTrack::Get4Momentum(), G4KineticTrack::GetDefinition(), MeV, millibarn, G4PionMinus::PionMinusDefinition(), and G4PionPlus::PionPlusDefinition().

Referenced by GetTimeToAbsorption().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4MesonAbsorption::FindAndFillCluster ( G4KineticTrackVector result,
G4KineticTrack aProjectile,
std::vector< G4KineticTrack * > &  someCandidates 
)
private

Definition at line 74 of file G4MesonAbsorption.cc.

References DBL_MAX, G4lrint(), G4KineticTrack::GetDefinition(), G4ParticleDefinition::GetPDGCharge(), G4KineticTrack::GetPosition(), and G4INCL::Math::min().

Referenced by GetCollisions().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4CollisionInitialState* G4MesonAbsorption::GetCollision ( G4KineticTrack projectile,
std::vector< G4KineticTrack * >  targets 
)
const std::vector< G4CollisionInitialState * > & G4MesonAbsorption::GetCollisions ( G4KineticTrack aProjectile,
std::vector< G4KineticTrack * > &  someCandidates,
G4double  aCurrentTime 
)
virtual

Implements G4BCAction.

Definition at line 44 of file G4MesonAbsorption.cc.

References DBL_MAX, FindAndFillCluster(), GetTimeToAbsorption(), and theCollisions.

+ Here is the call graph for this function:

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

Implements G4BCAction.

Definition at line 104 of file G4MesonAbsorption.cc.

References d1, d2, f1, f2, G4endl, G4lrint(), G4UniformRand, G4KineticTrack::Get4Momentum(), G4ParticleDefinition::GetBaryonNumber(), G4KineticTrack::GetDefinition(), G4ParticleDefinition::GetPDGCharge(), G4ParticleDefinition::GetPDGMass(), G4Neutron::NeutronDefinition(), G4INCL::Math::pi, G4Proton::ProtonDefinition(), and sqr().

+ Here is the call graph for this function:

G4double G4MesonAbsorption::GetTimeToAbsorption ( const G4KineticTrack trk1,
const G4KineticTrack trk2 
)
private

Definition at line 238 of file G4MesonAbsorption.cc.

References AbsorptionCrossSection(), DBL_MAX, eV, G4cout, G4endl, G4KineticTrack::Get4Momentum(), G4KineticTrack::GetActualMass(), G4KineticTrack::GetDefinition(), G4ParticleDefinition::GetPDGCharge(), G4KineticTrack::GetPosition(), G4KineticTrack::GetTrackingMomentum(), GeV, millibarn, G4Neutron::Neutron(), G4INCL::Math::pi, G4PionMinus::PionMinusDefinition(), G4PionPlus::PionPlusDefinition(), pos, and position.

Referenced by GetCollisions().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4MesonAbsorption& G4MesonAbsorption::operator= ( const G4MesonAbsorption )
private

Member Data Documentation

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

Definition at line 65 of file G4MesonAbsorption.hh.

Referenced by GetCollisions().


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