Geant4  10.00.p02
G4GHEKinematicsVector Class Reference

#include <G4GHEKinematicsVector.hh>

+ Collaboration diagram for G4GHEKinematicsVector:

Public Member Functions

 G4GHEKinematicsVector ()
 
 ~G4GHEKinematicsVector ()
 
 G4GHEKinematicsVector (const G4GHEKinematicsVector &p)
 
G4GHEKinematicsVectoroperator= (const G4GHEKinematicsVector &p)
 
void SetMomentum (G4ParticleMomentum mom)
 
void SetMomentumAndUpdate (G4ParticleMomentum mom)
 
const G4ParticleMomentum GetMomentum () const
 
void SetMomentum (G4double x, G4double y, G4double z)
 
void SetMomentumAndUpdate (G4double x, G4double y, G4double z)
 
void SetMomentum (G4double x, G4double y)
 
void SetMomentumAndUpdate (G4double x, G4double y)
 
void SetMomentum (G4double z)
 
void SetMomentumAndUpdate (G4double z)
 
void SetEnergy (G4double e)
 
void SetEnergyAndUpdate (G4double e)
 
void SetKineticEnergy (G4double ekin)
 
void SetKineticEnergyAndUpdate (G4double ekin)
 
G4double GetEnergy ()
 
G4double GetKineticEnergy ()
 
void SetMass (G4double mas)
 
void SetMassAndUpdate (G4double mas)
 
G4double GetMass ()
 
void SetCharge (G4double c)
 
G4double GetCharge ()
 
void SetTOF (G4double t)
 
G4double GetTOF ()
 
void SetSide (G4int sid)
 
G4int GetSide ()
 
void setFlag (G4bool f)
 
G4bool getFlag ()
 
void SetCode (G4int c)
 
void SetParticleDef (G4ParticleDefinition *c)
 
G4int GetCode ()
 
G4ParticleDefinitionGetParticleDef ()
 
void SetZero ()
 
void Add (const G4GHEKinematicsVector &p1, const G4GHEKinematicsVector &p2)
 
void Sub (const G4GHEKinematicsVector &p1, const G4GHEKinematicsVector &p2)
 
void Lor (const G4GHEKinematicsVector &p1, const G4GHEKinematicsVector &p2)
 
G4double CosAng (const G4GHEKinematicsVector &p)
 
G4double Ang (const G4GHEKinematicsVector &p)
 
G4double Dot4 (const G4GHEKinematicsVector &p1, const G4GHEKinematicsVector &p2)
 
G4double Impu (const G4GHEKinematicsVector &p1, const G4GHEKinematicsVector &p2)
 
void Add3 (const G4GHEKinematicsVector &p1, const G4GHEKinematicsVector &p2)
 
void Sub3 (const G4GHEKinematicsVector &p1, const G4GHEKinematicsVector &p2)
 
void Cross (const G4GHEKinematicsVector &p1, const G4GHEKinematicsVector &p2)
 
G4double Dot (const G4GHEKinematicsVector &p1, const G4GHEKinematicsVector &p2)
 
void Smul (const G4GHEKinematicsVector &p, G4double h)
 
void SmulAndUpdate (const G4GHEKinematicsVector &p, G4double h)
 
void Norz (const G4GHEKinematicsVector &p)
 
G4double Length ()
 
void Exch (G4GHEKinematicsVector &p1)
 
void Defs1 (const G4GHEKinematicsVector &p1, const G4GHEKinematicsVector &p2)
 
void Defs (const G4GHEKinematicsVector &p1, const G4GHEKinematicsVector &p2, G4GHEKinematicsVector &my, G4GHEKinematicsVector &mz)
 
void Trac (const G4GHEKinematicsVector &p1, const G4GHEKinematicsVector &mx, const G4GHEKinematicsVector &my, const G4GHEKinematicsVector &mz)
 
void Print (G4int L)
 

Public Attributes

G4ParticleMomentum momentum
 
G4double energy
 
G4double kineticEnergy
 
G4double mass
 
G4double charge
 
G4double timeOfFlight
 
G4int side
 
G4bool flag
 
G4int code
 
G4ParticleDefinitionparticleDef
 

Detailed Description

Definition at line 50 of file G4GHEKinematicsVector.hh.

Constructor & Destructor Documentation

G4GHEKinematicsVector::G4GHEKinematicsVector ( )
inline

Definition at line 54 of file G4GHEKinematicsVector.hh.

References charge, code, energy, flag, kineticEnergy, mass, momentum, particleDef, side, and timeOfFlight.

G4GHEKinematicsVector::~G4GHEKinematicsVector ( )
inline

Definition at line 70 of file G4GHEKinematicsVector.hh.

G4GHEKinematicsVector::G4GHEKinematicsVector ( const G4GHEKinematicsVector p)
inline

Definition at line 73 of file G4GHEKinematicsVector.hh.

References charge, code, energy, flag, kineticEnergy, mass, momentum, particleDef, side, and timeOfFlight.

Member Function Documentation

void G4GHEKinematicsVector::Add ( const G4GHEKinematicsVector p1,
const G4GHEKinematicsVector p2 
)
inline

Definition at line 361 of file G4GHEKinematicsVector.hh.

References charge, code, energy, kineticEnergy, mass, G4INCL::Math::max(), momentum, and particleDef.

+ Here is the call graph for this function:

void G4GHEKinematicsVector::Add3 ( const G4GHEKinematicsVector p1,
const G4GHEKinematicsVector p2 
)
inline

Definition at line 456 of file G4GHEKinematicsVector.hh.

References momentum.

G4double G4GHEKinematicsVector::Ang ( const G4GHEKinematicsVector p)
inline

Definition at line 424 of file G4GHEKinematicsVector.hh.

References a, and momentum.

G4double G4GHEKinematicsVector::CosAng ( const G4GHEKinematicsVector p)
inline

Definition at line 411 of file G4GHEKinematicsVector.hh.

References a, and momentum.

void G4GHEKinematicsVector::Cross ( const G4GHEKinematicsVector p1,
const G4GHEKinematicsVector p2 
)
inline

Definition at line 474 of file G4GHEKinematicsVector.hh.

References momentum.

void G4GHEKinematicsVector::Defs ( const G4GHEKinematicsVector p1,
const G4GHEKinematicsVector p2,
G4GHEKinematicsVector my,
G4GHEKinematicsVector mz 
)
inline

Definition at line 608 of file G4GHEKinematicsVector.hh.

References momentum, and G4InuclParticleNames::pp.

void G4GHEKinematicsVector::Defs1 ( const G4GHEKinematicsVector p1,
const G4GHEKinematicsVector p2 
)
inline

Definition at line 579 of file G4GHEKinematicsVector.hh.

References momentum, G4INCL::Math::pi, and sqr().

+ Here is the call graph for this function:

G4double G4GHEKinematicsVector::Dot ( const G4GHEKinematicsVector p1,
const G4GHEKinematicsVector p2 
)
inline

Definition at line 487 of file G4GHEKinematicsVector.hh.

References momentum.

G4double G4GHEKinematicsVector::Dot4 ( const G4GHEKinematicsVector p1,
const G4GHEKinematicsVector p2 
)
inline

Definition at line 438 of file G4GHEKinematicsVector.hh.

References energy, and momentum.

void G4GHEKinematicsVector::Exch ( G4GHEKinematicsVector p1)
inline

Definition at line 548 of file G4GHEKinematicsVector.hh.

G4double G4GHEKinematicsVector::GetCharge ( )
inline

Definition at line 311 of file G4GHEKinematicsVector.hh.

References charge.

G4int G4GHEKinematicsVector::GetCode ( )
inline

Definition at line 338 of file G4GHEKinematicsVector.hh.

References code.

G4double G4GHEKinematicsVector::GetEnergy ( )
inline

Definition at line 260 of file G4GHEKinematicsVector.hh.

References energy.

G4bool G4GHEKinematicsVector::getFlag ( )
inline

Definition at line 329 of file G4GHEKinematicsVector.hh.

References flag.

G4double G4GHEKinematicsVector::GetKineticEnergy ( )
inline

Definition at line 263 of file G4GHEKinematicsVector.hh.

References kineticEnergy.

G4double G4GHEKinematicsVector::GetMass ( )
inline

Definition at line 305 of file G4GHEKinematicsVector.hh.

References mass.

const G4ParticleMomentum G4GHEKinematicsVector::GetMomentum ( void  ) const
inline

Definition at line 123 of file G4GHEKinematicsVector.hh.

References momentum.

G4ParticleDefinition* G4GHEKinematicsVector::GetParticleDef ( )
inline

Definition at line 341 of file G4GHEKinematicsVector.hh.

References particleDef.

Referenced by G4AntiNeutronAnnihilationAtRest::AntiNeutronAnnihilation(), G4MuonMinusCaptureAtRest::AtRestDoIt(), and G4AntiNeutronAnnihilationAtRest::GenerateSecondaries().

+ Here is the caller graph for this function:

G4int G4GHEKinematicsVector::GetSide ( )
inline

Definition at line 323 of file G4GHEKinematicsVector.hh.

References side.

G4double G4GHEKinematicsVector::GetTOF ( )
inline

Definition at line 317 of file G4GHEKinematicsVector.hh.

References timeOfFlight.

Referenced by G4AntiNeutronAnnihilationAtRest::AntiNeutronAnnihilation(), G4AntiNeutronAnnihilationAtRest::AtRestDoIt(), and G4AntiNeutronAnnihilationAtRest::GenerateSecondaries().

+ Here is the caller graph for this function:

G4double G4GHEKinematicsVector::Impu ( const G4GHEKinematicsVector p1,
const G4GHEKinematicsVector p2 
)
inline

Definition at line 447 of file G4GHEKinematicsVector.hh.

References energy, momentum, and sqr().

+ Here is the call graph for this function:

G4double G4GHEKinematicsVector::Length ( )
inline

Definition at line 542 of file G4GHEKinematicsVector.hh.

References momentum.

void G4GHEKinematicsVector::Lor ( const G4GHEKinematicsVector p1,
const G4GHEKinematicsVector p2 
)
inline

Definition at line 393 of file G4GHEKinematicsVector.hh.

References a, code, energy, flag, kineticEnergy, mass, G4INCL::Math::max(), momentum, particleDef, side, sqr(), and timeOfFlight.

+ Here is the call graph for this function:

void G4GHEKinematicsVector::Norz ( const G4GHEKinematicsVector p)
inline

Definition at line 522 of file G4GHEKinematicsVector.hh.

References a, charge, code, energy, flag, kineticEnergy, mass, momentum, particleDef, side, and timeOfFlight.

G4GHEKinematicsVector& G4GHEKinematicsVector::operator= ( const G4GHEKinematicsVector p)
inline

Definition at line 90 of file G4GHEKinematicsVector.hh.

References charge, code, energy, flag, kineticEnergy, mass, momentum, particleDef, side, and timeOfFlight.

void G4GHEKinematicsVector::Print ( G4int  L)
inline
void G4GHEKinematicsVector::SetCharge ( G4double  c)
inline

Definition at line 308 of file G4GHEKinematicsVector.hh.

References charge.

void G4GHEKinematicsVector::SetCode ( G4int  c)
inline

Definition at line 332 of file G4GHEKinematicsVector.hh.

References code.

void G4GHEKinematicsVector::SetEnergy ( G4double  e)
inline

Definition at line 180 of file G4GHEKinematicsVector.hh.

References energy.

Referenced by G4AntiNeutronAnnihilationAtRest::AntiNeutronAnnihilation().

+ Here is the caller graph for this function:

void G4GHEKinematicsVector::SetEnergyAndUpdate ( G4double  e)
inline

Definition at line 183 of file G4GHEKinematicsVector.hh.

References energy, G4UniformRand, kineticEnergy, mass, and momentum.

Referenced by G4AntiNeutronAnnihilationAtRest::AntiNeutronAnnihilation().

+ Here is the caller graph for this function:

void G4GHEKinematicsVector::setFlag ( G4bool  f)
inline

Definition at line 326 of file G4GHEKinematicsVector.hh.

References flag.

void G4GHEKinematicsVector::SetKineticEnergy ( G4double  ekin)
inline

Definition at line 220 of file G4GHEKinematicsVector.hh.

References kineticEnergy.

void G4GHEKinematicsVector::SetKineticEnergyAndUpdate ( G4double  ekin)
inline

Definition at line 223 of file G4GHEKinematicsVector.hh.

References energy, G4UniformRand, kineticEnergy, mass, and momentum.

Referenced by G4AntiNeutronAnnihilationAtRest::AntiNeutronAnnihilation(), and G4AntiNeutronAnnihilationAtRest::GenerateSecondaries().

+ Here is the caller graph for this function:

void G4GHEKinematicsVector::SetMass ( G4double  mas)
inline

Definition at line 266 of file G4GHEKinematicsVector.hh.

References mass.

Referenced by G4MuMinusCaptureCascade::AddNewParticle(), G4AntiNeutronAnnihilationAtRest::AntiNeutronAnnihilation(), and G4AntiNeutronAnnihilationAtRest::GenerateSecondaries().

+ Here is the caller graph for this function:

void G4GHEKinematicsVector::SetMassAndUpdate ( G4double  mas)
inline

Definition at line 269 of file G4GHEKinematicsVector.hh.

References energy, G4UniformRand, kineticEnergy, mass, G4INCL::Math::max(), and momentum.

+ Here is the call graph for this function:

void G4GHEKinematicsVector::SetMomentum ( G4ParticleMomentum  mom)
inline

Definition at line 111 of file G4GHEKinematicsVector.hh.

References momentum.

void G4GHEKinematicsVector::SetMomentum ( G4double  x,
G4double  y,
G4double  z 
)
inline

Definition at line 126 of file G4GHEKinematicsVector.hh.

References momentum.

void G4GHEKinematicsVector::SetMomentum ( G4double  x,
G4double  y 
)
inline

Definition at line 146 of file G4GHEKinematicsVector.hh.

References momentum.

void G4GHEKinematicsVector::SetMomentum ( G4double  z)
inline

Definition at line 164 of file G4GHEKinematicsVector.hh.

References momentum.

void G4GHEKinematicsVector::SetMomentumAndUpdate ( G4ParticleMomentum  mom)
inline

Definition at line 114 of file G4GHEKinematicsVector.hh.

References energy, kineticEnergy, mass, G4INCL::Math::max(), and momentum.

Referenced by G4MuMinusCaptureCascade::AddNewParticle(), and G4AntiNeutronAnnihilationAtRest::AntiNeutronAnnihilation().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4GHEKinematicsVector::SetMomentumAndUpdate ( G4double  x,
G4double  y,
G4double  z 
)
inline

Definition at line 135 of file G4GHEKinematicsVector.hh.

References energy, kineticEnergy, mass, G4INCL::Math::max(), and momentum.

+ Here is the call graph for this function:

void G4GHEKinematicsVector::SetMomentumAndUpdate ( G4double  x,
G4double  y 
)
inline

Definition at line 154 of file G4GHEKinematicsVector.hh.

References energy, kineticEnergy, mass, G4INCL::Math::max(), and momentum.

+ Here is the call graph for this function:

void G4GHEKinematicsVector::SetMomentumAndUpdate ( G4double  z)
inline

Definition at line 171 of file G4GHEKinematicsVector.hh.

References energy, kineticEnergy, mass, G4INCL::Math::max(), and momentum.

+ Here is the call graph for this function:

void G4GHEKinematicsVector::SetParticleDef ( G4ParticleDefinition c)
inline

Definition at line 335 of file G4GHEKinematicsVector.hh.

References particleDef.

Referenced by G4MuMinusCaptureCascade::AddNewParticle(), G4AntiNeutronAnnihilationAtRest::AntiNeutronAnnihilation(), and G4AntiNeutronAnnihilationAtRest::GenerateSecondaries().

+ Here is the caller graph for this function:

void G4GHEKinematicsVector::SetSide ( G4int  sid)
inline

Definition at line 320 of file G4GHEKinematicsVector.hh.

References side.

void G4GHEKinematicsVector::SetTOF ( G4double  t)
inline

Definition at line 314 of file G4GHEKinematicsVector.hh.

References timeOfFlight.

Referenced by G4AntiNeutronAnnihilationAtRest::AntiNeutronAnnihilation(), and G4AntiNeutronAnnihilationAtRest::GenerateSecondaries().

+ Here is the caller graph for this function:

void G4GHEKinematicsVector::SetZero ( )
inline

Definition at line 344 of file G4GHEKinematicsVector.hh.

References charge, code, energy, flag, kineticEnergy, mass, momentum, particleDef, side, and timeOfFlight.

Referenced by G4MuMinusCaptureCascade::AddNewParticle(), G4AntiNeutronAnnihilationAtRest::AntiNeutronAnnihilation(), and G4AntiNeutronAnnihilationAtRest::GenerateSecondaries().

+ Here is the caller graph for this function:

void G4GHEKinematicsVector::Smul ( const G4GHEKinematicsVector p,
G4double  h 
)
inline

Definition at line 495 of file G4GHEKinematicsVector.hh.

References momentum.

void G4GHEKinematicsVector::SmulAndUpdate ( const G4GHEKinematicsVector p,
G4double  h 
)
inline

Definition at line 504 of file G4GHEKinematicsVector.hh.

References charge, code, energy, flag, kineticEnergy, mass, momentum, particleDef, side, and timeOfFlight.

void G4GHEKinematicsVector::Sub ( const G4GHEKinematicsVector p1,
const G4GHEKinematicsVector p2 
)
inline

Definition at line 377 of file G4GHEKinematicsVector.hh.

References charge, code, energy, kineticEnergy, mass, G4INCL::Math::max(), momentum, and particleDef.

+ Here is the call graph for this function:

void G4GHEKinematicsVector::Sub3 ( const G4GHEKinematicsVector p1,
const G4GHEKinematicsVector p2 
)
inline

Definition at line 465 of file G4GHEKinematicsVector.hh.

References momentum.

void G4GHEKinematicsVector::Trac ( const G4GHEKinematicsVector p1,
const G4GHEKinematicsVector mx,
const G4GHEKinematicsVector my,
const G4GHEKinematicsVector mz 
)
inline

Definition at line 654 of file G4GHEKinematicsVector.hh.

References momentum.

Member Data Documentation

G4double G4GHEKinematicsVector::charge
G4int G4GHEKinematicsVector::code
G4bool G4GHEKinematicsVector::flag
G4int G4GHEKinematicsVector::side
G4double G4GHEKinematicsVector::timeOfFlight

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