34 #define INCLXX_IN_GEANT4_MODE 1
43 : theNucleus(nucleus), theParticle(particle),
46 kineticEnergyOutside(initializeKineticEnergyOutside()),
47 cosRefractionAngle(1.)
51 : theNucleus(nucleus), theParticle(particle),
54 kineticEnergyOutside(TOut),
55 cosRefractionAngle(1.)
59 : theNucleus(nucleus), theParticle(particle),
62 kineticEnergyOutside(initializeKineticEnergyOutside()),
63 cosRefractionAngle(cosR)
79 TOut += theQValueCorrection;
98 normal = position / std::sqrt(r2);
G4int getA() const
Returns the baryon number.
TransmissionChannel(Nucleus *n, Particle *p)
G4double getMass() const
Get the cached particle mass.
G4double dot(const ThreeVector &v) const
Dot product.
virtual ~TransmissionChannel()
void particleLeaves()
Modify particle that leaves the nucleus.
const G4INCL::ThreeVector & getMomentum() const
Get the momentum vector.
G4double getEnergy() const
Get the energy of the particle in MeV.
Particle *const theParticle
G4double mag2() const
Get the square of the length.
G4double getPotentialEnergy() const
Get the particle potential energy.
void setEnergy(G4double energy)
Set the energy of the particle in MeV.
static double normal(HepRandomEngine *eptr)
const G4double cosRefractionAngle
Cosine of the refraction angle.
Final state of an interaction.
const G4bool refraction
True if refraction should be applied.
const G4double pOutMag
Momentum of the particle outside the nucleus.
G4int getZ() const
Returns the charge number.
void addOutgoingParticle(Particle *p)
void setPotentialEnergy(G4double v)
Set the particle potential energy.
void setTotalEnergyBeforeInteraction(G4double E)
void setTableMass()
Set the mass of the Particle to its table mass.
const G4double kineticEnergyOutside
Kinetic energy of the particle outside the nucleus.
const G4INCL::ThreeVector & getPosition() const
Set the position vector.
virtual G4double getTableMass() const
Get the tabulated particle mass.
G4double getEmissionQValueCorrection(const G4int AParent, const G4int ZParent) const
Computes correction on the emission Q-value.
Nucleus *const theNucleus
void fillFinalState(FinalState *fs)
const ThreeVector & adjustMomentumFromEnergy()
Rescale the momentum to match the total energy.
G4double initializeKineticEnergyOutside()
Kinetic energy of the transmitted particle.
virtual void setMomentum(const G4INCL::ThreeVector &momentum)
Set the momentum vector.