Geant4  10.00.p02
G4INCL::TransmissionChannel Class Reference

#include <G4INCLTransmissionChannel.hh>

+ Inheritance diagram for G4INCL::TransmissionChannel:
+ Collaboration diagram for G4INCL::TransmissionChannel:

Public Member Functions

 TransmissionChannel (Nucleus *n, Particle *p)
 
 TransmissionChannel (Nucleus *n, Particle *p, const G4double TOut)
 
 TransmissionChannel (Nucleus *n, Particle *p, const G4double kOut, const G4double cosR)
 
virtual ~TransmissionChannel ()
 
FinalStategetFinalState ()
 
- Public Member Functions inherited from G4INCL::IChannel
 IChannel ()
 
virtual ~IChannel ()
 

Private Member Functions

void particleLeaves ()
 Modify particle that leaves the nucleus. More...
 
G4double initializeKineticEnergyOutside ()
 Kinetic energy of the transmitted particle. More...
 

Private Attributes

Nucleus *const theNucleus
 
Particle *const theParticle
 
const G4bool refraction
 True if refraction should be applied. More...
 
const G4double pOutMag
 Momentum of the particle outside the nucleus. More...
 
const G4double kineticEnergyOutside
 Kinetic energy of the particle outside the nucleus. More...
 
const G4double cosRefractionAngle
 Cosine of the refraction angle. More...
 

Detailed Description

Definition at line 46 of file G4INCLTransmissionChannel.hh.

Constructor & Destructor Documentation

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

Definition at line 41 of file G4INCLTransmissionChannel.cc.

G4INCL::TransmissionChannel::TransmissionChannel ( Nucleus n,
Particle p,
const G4double  TOut 
)

Definition at line 49 of file G4INCLTransmissionChannel.cc.

G4INCL::TransmissionChannel::TransmissionChannel ( Nucleus n,
Particle p,
const G4double  kOut,
const G4double  cosR 
)

Definition at line 57 of file G4INCLTransmissionChannel.cc.

G4INCL::TransmissionChannel::~TransmissionChannel ( )
virtual

Definition at line 65 of file G4INCLTransmissionChannel.cc.

Member Function Documentation

FinalState * G4INCL::TransmissionChannel::getFinalState ( )
virtual
G4double G4INCL::TransmissionChannel::initializeKineticEnergyOutside ( )
private

Kinetic energy of the transmitted particle.

Calculate the kinetic energy of the particle outside the nucleus, if the value has not been provided as a pre-calculated argument to the constructor.

Definition at line 67 of file G4INCLTransmissionChannel.cc.

References G4INCL::Particle::getA(), G4INCL::Particle::getEmissionQValueCorrection(), G4INCL::Particle::getEnergy(), G4INCL::Particle::getMass(), G4INCL::Particle::getPotentialEnergy(), G4INCL::Particle::getZ(), theNucleus, and theParticle.

+ Here is the call graph for this function:

void G4INCL::TransmissionChannel::particleLeaves ( )
private

Modify particle that leaves the nucleus.

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

Definition at line 82 of file G4INCLTransmissionChannel.cc.

References G4INCL::Particle::adjustMomentumFromEnergy(), cosRefractionAngle, G4INCL::ThreeVector::dot(), G4INCL::Particle::getMass(), G4INCL::Particle::getMomentum(), G4INCL::Particle::getPosition(), kineticEnergyOutside, G4INCL::ThreeVector::mag2(), CLHEP::normal(), position, pOutMag, refraction, G4INCL::Particle::setEnergy(), G4INCL::Particle::setMomentum(), G4INCL::Particle::setPotentialEnergy(), G4INCL::Particle::setTableMass(), and theParticle.

Referenced by getFinalState().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

const G4double G4INCL::TransmissionChannel::cosRefractionAngle
private

Cosine of the refraction angle.

Definition at line 84 of file G4INCLTransmissionChannel.hh.

Referenced by particleLeaves().

const G4double G4INCL::TransmissionChannel::kineticEnergyOutside
private

Kinetic energy of the particle outside the nucleus.

Definition at line 81 of file G4INCLTransmissionChannel.hh.

Referenced by particleLeaves().

const G4double G4INCL::TransmissionChannel::pOutMag
private

Momentum of the particle outside the nucleus.

Definition at line 78 of file G4INCLTransmissionChannel.hh.

Referenced by particleLeaves().

const G4bool G4INCL::TransmissionChannel::refraction
private

True if refraction should be applied.

Definition at line 75 of file G4INCLTransmissionChannel.hh.

Referenced by particleLeaves().

Nucleus* const G4INCL::TransmissionChannel::theNucleus
private

Definition at line 71 of file G4INCLTransmissionChannel.hh.

Referenced by getFinalState(), and initializeKineticEnergyOutside().

Particle* const G4INCL::TransmissionChannel::theParticle
private

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