Geant4  10.02
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 ()
 
void fillFinalState (FinalState *fs)
 
- Public Member Functions inherited from G4INCL::IChannel
 IChannel ()
 
virtual ~IChannel ()
 
FinalStategetFinalState ()
 
 INCL_DECLARE_ALLOCATION_POOL (IChannel)
 

Private Member Functions

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

Private Attributes

NucleustheNucleus
 
ParticletheParticle
 

Detailed Description

Definition at line 49 of file G4INCLParticleEntryChannel.hh.

Constructor & Destructor Documentation

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

Definition at line 45 of file G4INCLParticleEntryChannel.cc.

G4INCL::ParticleEntryChannel::~ParticleEntryChannel ( )
virtual

Definition at line 49 of file G4INCLParticleEntryChannel.cc.

Member Function Documentation

G4INCL::ParticleEntryChannel::INCL_DECLARE_ALLOCATION_POOL ( ParticleEntryChannel  )
private
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 167 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::print(), 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 fillFinalState().

+ 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 66 of file G4INCLParticleEntryChannel.hh.

Referenced by fillFinalState(), and particleEnters().

Particle* G4INCL::ParticleEntryChannel::theParticle
private

Definition at line 67 of file G4INCLParticleEntryChannel.hh.

Referenced by fillFinalState(), and particleEnters().


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