Geant4  10.00.p02
G4INCL::ParticleEntryChannel Class Reference

#include <G4INCLParticleEntryChannel.hh>

+ Inheritance diagram for G4INCL::ParticleEntryChannel:
+ Collaboration diagram for G4INCL::ParticleEntryChannel:

Public Member Functions

 ParticleEntryChannel (Nucleus *n, Particle *p)
 
virtual ~ParticleEntryChannel ()
 
FinalStategetFinalState ()
 
- Public Member Functions inherited from G4INCL::IChannel
 IChannel ()
 
virtual ~IChannel ()
 

Private Member Functions

G4bool particleEnters (const G4double theQValueCorrection)
 Modify particle that enters the nucleus. More...
 

Private Attributes

NucleustheNucleus
 
ParticletheParticle
 

Detailed Description

Definition at line 47 of file G4INCLParticleEntryChannel.hh.

Constructor & Destructor Documentation

G4INCL::ParticleEntryChannel::ParticleEntryChannel ( Nucleus n,
Particle p 
)

Definition at line 44 of file G4INCLParticleEntryChannel.cc.

G4INCL::ParticleEntryChannel::~ParticleEntryChannel ( )
virtual

Definition at line 48 of file G4INCLParticleEntryChannel.cc.

Member Function Documentation

G4bool G4INCL::ParticleEntryChannel::particleEnters ( const G4double  theQValueCorrection)
private

Modify particle that enters the nucleus.

Modify the particle momentum and/or position when the particle enters the nucleus.

Returns
false if the particle enters below 0 total energy.

Definition at line 168 of file G4INCLParticleEntryChannel.cc.

References G4INCL::Particle::adjustMomentumFromEnergy(), G4INCL::NuclearPotential::INuclearPotential::computePotentialEnergy(), G4INCL::Store::getConfig(), G4INCL::Particle::getCosRPAngle(), G4INCL::Particle::getEnergy(), G4INCL::Particle::getID(), G4INCL::Particle::getKineticEnergy(), G4INCL::Particle::getMass(), G4INCL::Particle::getMomentum(), G4INCL::Particle::getPosition(), G4INCL::Nucleus::getPotential(), G4INCL::Config::getRefraction(), G4INCL::Nucleus::getStore(), INCL_DEBUG, INCL_WARN, G4INCL::ThreeVector::mag2(), G4INCL::Math::max(), n, CLHEP::normal(), position, G4INCL::Particle::setEnergy(), G4INCL::Particle::setINCLMass(), G4INCL::Particle::setMomentum(), G4INCL::Particle::setPotentialEnergy(), G4INCL::RootFinder::solve(), G4INCL::RootFinder::Solution::success, theNucleus, theParticle, and G4INCL::RootFinder::Solution::x.

Referenced by getFinalState().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

Nucleus* G4INCL::ParticleEntryChannel::theNucleus
private

Definition at line 64 of file G4INCLParticleEntryChannel.hh.

Referenced by getFinalState(), and particleEnters().

Particle* G4INCL::ParticleEntryChannel::theParticle
private

Definition at line 65 of file G4INCLParticleEntryChannel.hh.

Referenced by getFinalState(), and particleEnters().


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