Geant4  10.00.p02
G4LorentzConvertor Class Reference

#include <G4LorentzConvertor.hh>

Public Member Functions

 G4LorentzConvertor ()
 
 G4LorentzConvertor (const G4LorentzVector &bmom, G4double bmass, const G4LorentzVector &tmom, G4double tmass)
 
 G4LorentzConvertor (const G4InuclParticle *bullet, const G4InuclParticle *target)
 
void setVerbose (G4int vb=0)
 
void setBullet (const G4InuclParticle *bullet)
 
void setTarget (const G4InuclParticle *target)
 
void setBullet (const G4InuclParticle &bullet)
 
void setTarget (const G4InuclParticle &target)
 
void setBullet (const G4LorentzVector &bmom)
 
void setTarget (const G4LorentzVector &bmom)
 
void setBullet (const G4LorentzVector &bmom, G4double bmass)
 
void setTarget (const G4LorentzVector &tmom, G4double tmass)
 
void toTheCenterOfMass ()
 
void toTheTargetRestFrame ()
 
void fillKinematics ()
 
G4LorentzVector backToTheLab (const G4LorentzVector &mom) const
 
const G4LorentzVectorgetBullet () const
 
const G4LorentzVectorgetTarget () const
 
G4double getKinEnergyInTheTRS () const
 
G4double getTotalSCMEnergy () const
 
G4double getSCMMomentum () const
 
G4double getTRSMomentum () const
 
G4LorentzVector rotate (const G4LorentzVector &mom) const
 
G4LorentzVector rotate (const G4LorentzVector &mom1, const G4LorentzVector &mom) const
 
G4bool reflectionNeeded () const
 
G4bool trivial () const
 
void printBullet () const
 
void printTarget () const
 

Private Attributes

G4int verboseLevel
 
G4LorentzVector bullet_mom
 
G4LorentzVector target_mom
 
G4LorentzVector scm_momentum
 
G4ThreeVector scm_direction
 
G4ThreeVector velocity
 
G4double v2
 
G4double ecm_tot
 
G4double valong
 
G4bool degenerated
 

Static Private Attributes

static const G4double small = 1.0e-10
 

Detailed Description

Definition at line 45 of file G4LorentzConvertor.hh.

Constructor & Destructor Documentation

G4LorentzConvertor::G4LorentzConvertor ( )

Definition at line 47 of file G4LorentzConvertor.cc.

G4LorentzConvertor::G4LorentzConvertor ( const G4LorentzVector bmom,
G4double  bmass,
const G4LorentzVector tmom,
G4double  tmass 
)

Definition at line 51 of file G4LorentzConvertor.cc.

References setBullet(), and setTarget().

+ Here is the call graph for this function:

G4LorentzConvertor::G4LorentzConvertor ( const G4InuclParticle bullet,
const G4InuclParticle target 
)

Definition at line 59 of file G4LorentzConvertor.cc.

References setBullet(), and setTarget().

+ Here is the call graph for this function:

Member Function Documentation

G4LorentzVector G4LorentzConvertor::backToTheLab ( const G4LorentzVector mom) const

Definition at line 135 of file G4LorentzConvertor.cc.

References G4cout, G4endl, small, v2, velocity, and verboseLevel.

Referenced by G4CollisionOutput::boostToLabFrame(), G4ElementaryParticleCollider::collide(), G4NonEquilibriumEvaporator::deExcite(), G4EquilibriumEvaporator::deExcite(), and G4NucleiModel::initializeCascad().

+ Here is the caller graph for this function:

void G4LorentzConvertor::fillKinematics ( )

Definition at line 113 of file G4LorentzConvertor.cc.

References bullet_mom, degenerated, ecm_tot, G4cout, G4endl, m, scm_direction, scm_momentum, small, target_mom, v2, valong, velocity, and verboseLevel.

Referenced by toTheCenterOfMass(), and toTheTargetRestFrame().

+ Here is the caller graph for this function:

const G4LorentzVector& G4LorentzConvertor::getBullet ( ) const
inline

Definition at line 93 of file G4LorentzConvertor.hh.

References bullet_mom.

G4double G4LorentzConvertor::getKinEnergyInTheTRS ( ) const

Definition at line 157 of file G4LorentzConvertor.cc.

References bullet_mom, G4cout, G4endl, target_mom, and verboseLevel.

Referenced by G4InuclCollider::collide(), G4ElementaryParticleCollider::collide(), G4NucleiModel::inverseMeanFreePath(), and G4CascadeFinalStateAlgorithm::SaveKinematics().

+ Here is the caller graph for this function:

G4double G4LorentzConvertor::getSCMMomentum ( ) const
inline

Definition at line 98 of file G4LorentzConvertor.hh.

References scm_momentum.

const G4LorentzVector& G4LorentzConvertor::getTarget ( ) const
inline

Definition at line 94 of file G4LorentzConvertor.hh.

References target_mom.

G4double G4LorentzConvertor::getTotalSCMEnergy ( ) const
inline

Definition at line 97 of file G4LorentzConvertor.hh.

References ecm_tot.

Referenced by G4ElementaryParticleCollider::collide().

+ Here is the caller graph for this function:

G4double G4LorentzConvertor::getTRSMomentum ( ) const

Definition at line 166 of file G4LorentzConvertor.cc.

References bullet_mom, G4cout, G4endl, target_mom, and verboseLevel.

Referenced by G4InuclCollider::collide().

+ Here is the caller graph for this function:

void G4LorentzConvertor::printBullet ( ) const

Definition at line 289 of file G4LorentzConvertor.cc.

References bullet_mom, G4cout, and G4endl.

Referenced by setBullet().

+ Here is the caller graph for this function:

void G4LorentzConvertor::printTarget ( ) const

Definition at line 295 of file G4LorentzConvertor.cc.

References G4cout, G4endl, and target_mom.

Referenced by setTarget().

+ Here is the caller graph for this function:

G4bool G4LorentzConvertor::reflectionNeeded ( ) const

Definition at line 265 of file G4LorentzConvertor.cc.

References degenerated, G4cout, G4endl, scm_momentum, small, v2, and verboseLevel.

Referenced by G4CollisionOutput::boostToLabFrame().

+ Here is the caller graph for this function:

G4LorentzVector G4LorentzConvertor::rotate ( const G4LorentzVector mom) const

Definition at line 175 of file G4LorentzConvertor.cc.

References degenerated, G4cerr, G4cout, G4endl, scm_direction, small, valong, velocity, and verboseLevel.

Referenced by G4CollisionOutput::boostToLabFrame(), G4CascadeFinalStateAlgorithm::FillDirManyBody(), G4CascadeFinalStateAlgorithm::FillDirThreeBody(), and G4CascadeFinalStateAlgorithm::GenerateTwoBody().

+ Here is the caller graph for this function:

G4LorentzVector G4LorentzConvertor::rotate ( const G4LorentzVector mom1,
const G4LorentzVector mom 
) const

Definition at line 215 of file G4LorentzConvertor.cc.

References G4cerr, G4cout, G4endl, small, v2, velocity, and verboseLevel.

void G4LorentzConvertor::setBullet ( const G4InuclParticle bullet)

Definition at line 67 of file G4LorentzConvertor.cc.

References G4InuclParticle::getMomentum().

Referenced by G4ElementaryParticleCollider::collide(), G4NonEquilibriumEvaporator::deExcite(), G4EquilibriumEvaporator::deExcite(), G4LorentzConvertor(), G4NucleiModel::inverseMeanFreePath(), and G4CascadeFinalStateAlgorithm::SaveKinematics().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4LorentzConvertor::setBullet ( const G4InuclParticle bullet)
inline

Definition at line 60 of file G4LorentzConvertor.hh.

References setBullet().

Referenced by setBullet().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4LorentzConvertor::setBullet ( const G4LorentzVector bmom)
inline

Definition at line 64 of file G4LorentzConvertor.hh.

References bullet_mom, printBullet(), and verboseLevel.

+ Here is the call graph for this function:

void G4LorentzConvertor::setBullet ( const G4LorentzVector bmom,
G4double  bmass 
)
inline

Definition at line 75 of file G4LorentzConvertor.hh.

References bullet_mom, printBullet(), and verboseLevel.

+ Here is the call graph for this function:

void G4LorentzConvertor::setTarget ( const G4InuclParticle target)

Definition at line 71 of file G4LorentzConvertor.cc.

References G4InuclParticle::getMomentum().

Referenced by G4ElementaryParticleCollider::collide(), G4NonEquilibriumEvaporator::deExcite(), G4EquilibriumEvaporator::deExcite(), G4LorentzConvertor(), G4NucleiModel::inverseMeanFreePath(), and G4CascadeFinalStateAlgorithm::SaveKinematics().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4LorentzConvertor::setTarget ( const G4InuclParticle target)
inline

Definition at line 61 of file G4LorentzConvertor.hh.

References setTarget().

Referenced by setTarget().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4LorentzConvertor::setTarget ( const G4LorentzVector bmom)
inline

Definition at line 69 of file G4LorentzConvertor.hh.

References printTarget(), target_mom, and verboseLevel.

+ Here is the call graph for this function:

void G4LorentzConvertor::setTarget ( const G4LorentzVector tmom,
G4double  tmass 
)
inline

Definition at line 80 of file G4LorentzConvertor.hh.

References printTarget(), target_mom, and verboseLevel.

+ Here is the call graph for this function:

void G4LorentzConvertor::setVerbose ( G4int  vb = 0)
inline

Definition at line 55 of file G4LorentzConvertor.hh.

References verboseLevel.

Referenced by G4ElementaryParticleCollider::collide(), and G4CascadeFinalStateAlgorithm::SetVerboseLevel().

+ Here is the caller graph for this function:

void G4LorentzConvertor::toTheCenterOfMass ( )

Definition at line 78 of file G4LorentzConvertor.cc.

References bullet_mom, fillKinematics(), G4cout, G4endl, scm_momentum, target_mom, velocity, and verboseLevel.

Referenced by G4ElementaryParticleCollider::collide(), G4NucleiModel::inverseMeanFreePath(), and G4CascadeFinalStateAlgorithm::SaveKinematics().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4LorentzConvertor::toTheTargetRestFrame ( )

Definition at line 95 of file G4LorentzConvertor.cc.

References bullet_mom, fillKinematics(), G4cout, G4endl, scm_momentum, target_mom, velocity, and verboseLevel.

Referenced by G4InuclCollider::collide(), G4NonEquilibriumEvaporator::deExcite(), G4EquilibriumEvaporator::deExcite(), and G4NucleiModel::initializeCascad().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4LorentzConvertor::trivial ( ) const
inline

Definition at line 108 of file G4LorentzConvertor.hh.

References degenerated.

Referenced by G4InuclCollider::collide().

+ Here is the caller graph for this function:

Member Data Documentation

G4bool G4LorentzConvertor::degenerated
private

Definition at line 129 of file G4LorentzConvertor.hh.

Referenced by fillKinematics(), reflectionNeeded(), rotate(), and trivial().

G4double G4LorentzConvertor::ecm_tot
private

Definition at line 127 of file G4LorentzConvertor.hh.

Referenced by fillKinematics(), and getTotalSCMEnergy().

G4ThreeVector G4LorentzConvertor::scm_direction
private

Definition at line 122 of file G4LorentzConvertor.hh.

Referenced by fillKinematics(), and rotate().

G4LorentzVector G4LorentzConvertor::scm_momentum
private
const G4double G4LorentzConvertor::small = 1.0e-10
staticprivate

Definition at line 115 of file G4LorentzConvertor.hh.

Referenced by backToTheLab(), fillKinematics(), reflectionNeeded(), and rotate().

G4double G4LorentzConvertor::v2
private

Definition at line 126 of file G4LorentzConvertor.hh.

Referenced by backToTheLab(), fillKinematics(), reflectionNeeded(), and rotate().

G4double G4LorentzConvertor::valong
private

Definition at line 128 of file G4LorentzConvertor.hh.

Referenced by fillKinematics(), and rotate().

G4ThreeVector G4LorentzConvertor::velocity
private

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