Geant4  10.00.p02
G4INCL::INCL::RecoilCMFunctor Class Reference

Class to adjust remnant recoil in the reaction CM system. More...

+ Inheritance diagram for G4INCL::INCL::RecoilCMFunctor:
+ Collaboration diagram for G4INCL::INCL::RecoilCMFunctor:

Public Member Functions

 RecoilCMFunctor (Nucleus *const n, const EventInfo &ei)
 Prepare for calling the () operator and scaleParticleEnergies. More...
 
virtual ~RecoilCMFunctor ()
 
G4double operator() (const G4double x) const
 Compute the energy-conservation violation. More...
 
void cleanUp (const G4bool success) const
 Clean up after root finding. More...
 
- Public Member Functions inherited from G4INCL::RootFunctor
virtual ~RootFunctor ()
 
- Public Member Functions inherited from G4INCL::IFunction1D
 IFunction1D ()
 
 IFunction1D (const G4double x0, const G4double x1)
 
virtual ~IFunction1D ()
 
virtual G4double getXMinimum () const
 Return the minimum allowed value of the independent variable. More...
 
virtual G4double getXMaximum () const
 Return the maximum allowed value of the independent variable. More...
 
virtual G4double integrate (const G4double x0, const G4double x1, const G4double step=-1.) const
 Integrate the function between two values. More...
 
IFunction1Dprimitive () const
 Return a pointer to the (numerical) primitive to this function. More...
 
InverseInterpolationTableinverseCDFTable (const G4int nNodes=60) const
 Return a pointer to the inverse of the CDF of this function. More...
 

Private Member Functions

void scaleParticleCMMomenta (const G4double rescale) const
 Scale the kinetic energies of the outgoing particles. More...
 

Private Attributes

Nucleusnucleus
 Pointer to the nucleus. More...
 
ThreeVector thePTBoostVector
 Projectile-target CM boost vector. More...
 
ThreeVector theIncomingMomentum
 Incoming momentum. More...
 
ParticleList outgoingParticles
 List of final-state particles. More...
 
EventInfo const & theEventInfo
 
std::list< ThreeVectorparticleCMMomenta
 Initial CM momenta of the outgoing particles. More...
 

Additional Inherited Members

- Protected Member Functions inherited from G4INCL::RootFunctor
 RootFunctor (const G4double x0, const G4double x1)
 
- Protected Attributes inherited from G4INCL::IFunction1D
G4double xMin
 Minimum value of the independent variable. More...
 
G4double xMax
 Maximum value of the independent variable. More...
 

Detailed Description

Class to adjust remnant recoil in the reaction CM system.

Definition at line 186 of file G4INCLCascade.hh.

Constructor & Destructor Documentation

G4INCL::INCL::RecoilCMFunctor::RecoilCMFunctor ( Nucleus *const  n,
const EventInfo ei 
)
inline

Prepare for calling the () operator and scaleParticleEnergies.

The constructor sets the private class members.

Definition at line 192 of file G4INCLCascade.hh.

References G4INCL::Cluster::boost(), G4INCL::Particle::getA(), G4INCL::Nucleus::getIncomingMomentum(), G4INCL::Nucleus::getInitialEnergy(), G4INCL::Particle::getMomentum(), G4INCL::Nucleus::getProjectileRemnant(), outgoingParticles, particleCMMomenta, and thePTBoostVector.

+ Here is the call graph for this function:

virtual G4INCL::INCL::RecoilCMFunctor::~RecoilCMFunctor ( )
inlinevirtual

Definition at line 210 of file G4INCLCascade.hh.

Member Function Documentation

void G4INCL::INCL::RecoilCMFunctor::cleanUp ( const G4bool  success) const
inlinevirtual

Clean up after root finding.

Implements G4INCL::RootFunctor.

Definition at line 223 of file G4INCLCascade.hh.

References scaleParticleCMMomenta().

+ Here is the call graph for this function:

G4double G4INCL::INCL::RecoilCMFunctor::operator() ( const G4double  x) const
inlinevirtual

Compute the energy-conservation violation.

Parameters
xscale factor for the particle energies
Returns
the energy-conservation violation

Implements G4INCL::IFunction1D.

Definition at line 217 of file G4INCLCascade.hh.

References G4INCL::Nucleus::ConservationBalance::energy, G4INCL::Nucleus::getConservationBalance(), and scaleParticleCMMomenta().

+ Here is the call graph for this function:

void G4INCL::INCL::RecoilCMFunctor::scaleParticleCMMomenta ( const G4double  rescale) const
inlineprivate

Scale the kinetic energies of the outgoing particles.

Parameters
rescalescale factor

Definition at line 246 of file G4INCLCascade.hh.

References G4INCL::Particle::getA(), G4INCL::Nucleus::getExcitationEnergy(), G4INCL::ParticleTable::getTableMass, G4INCL::Particle::getZ(), G4INCL::ThreeVector::mag2(), G4INCL::Particle::setEnergy(), G4INCL::Particle::setMomentum(), and theIncomingMomentum.

Referenced by cleanUp(), and operator()().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

Nucleus* G4INCL::INCL::RecoilCMFunctor::nucleus
private

Pointer to the nucleus.

Definition at line 230 of file G4INCLCascade.hh.

ParticleList G4INCL::INCL::RecoilCMFunctor::outgoingParticles
private

List of final-state particles.

Definition at line 236 of file G4INCLCascade.hh.

Referenced by RecoilCMFunctor().

std::list<ThreeVector> G4INCL::INCL::RecoilCMFunctor::particleCMMomenta
private

Initial CM momenta of the outgoing particles.

Definition at line 240 of file G4INCLCascade.hh.

Referenced by RecoilCMFunctor().

EventInfo const& G4INCL::INCL::RecoilCMFunctor::theEventInfo
private

Definition at line 238 of file G4INCLCascade.hh.

ThreeVector G4INCL::INCL::RecoilCMFunctor::theIncomingMomentum
private

Incoming momentum.

Definition at line 234 of file G4INCLCascade.hh.

Referenced by scaleParticleCMMomenta().

ThreeVector G4INCL::INCL::RecoilCMFunctor::thePTBoostVector
private

Projectile-target CM boost vector.

Definition at line 232 of file G4INCLCascade.hh.

Referenced by RecoilCMFunctor().


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