#include <G4GHEKinematicsVector.hh>
|
| G4GHEKinematicsVector () |
|
| ~G4GHEKinematicsVector () |
|
| G4GHEKinematicsVector (const G4GHEKinematicsVector &p) |
|
G4GHEKinematicsVector & | operator= (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 () |
|
G4ParticleDefinition * | GetParticleDef () |
|
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) |
|
Definition at line 50 of file G4GHEKinematicsVector.hh.
◆ G4GHEKinematicsVector() [1/2]
G4GHEKinematicsVector::G4GHEKinematicsVector |
( |
| ) |
|
|
inline |
◆ ~G4GHEKinematicsVector()
G4GHEKinematicsVector::~G4GHEKinematicsVector |
( |
| ) |
|
|
inline |
◆ G4GHEKinematicsVector() [2/2]
◆ Add()
Definition at line 361 of file G4GHEKinematicsVector.hh.
367 mass = -1. * std::sqrt( -b );
369 mass = std::sqrt( b );
G4ParticleDefinition * particleDef
G4ParticleMomentum momentum
◆ Add3()
◆ Ang()
Definition at line 424 of file G4GHEKinematicsVector.hh.
432 if( std::fabs(a) > 1.0 ) a<0.0 ? a=-1.0 : a=1.0;
G4ParticleMomentum momentum
◆ CosAng()
Definition at line 411 of file G4GHEKinematicsVector.hh.
419 if( std::fabs(a) > 1.0 ) a<0.0 ? a=-1.0 : a=1.0;
G4ParticleMomentum momentum
◆ Cross()
◆ Defs()
◆ Defs1()
Definition at line 579 of file G4GHEKinematicsVector.hh.
586 G4double sint = 0.5 * ( std::sqrt(std::fabs((1.-cost)*(1.+cost)))
G4ParticleMomentum momentum
static const double halfpi
◆ Dot()
◆ Dot4()
◆ Exch()
◆ GetCharge()
G4double G4GHEKinematicsVector::GetCharge |
( |
| ) |
|
|
inline |
◆ GetCode()
G4int G4GHEKinematicsVector::GetCode |
( |
| ) |
|
|
inline |
◆ GetEnergy()
G4double G4GHEKinematicsVector::GetEnergy |
( |
| ) |
|
|
inline |
◆ getFlag()
G4bool G4GHEKinematicsVector::getFlag |
( |
| ) |
|
|
inline |
◆ GetKineticEnergy()
G4double G4GHEKinematicsVector::GetKineticEnergy |
( |
| ) |
|
|
inline |
◆ GetMass()
G4double G4GHEKinematicsVector::GetMass |
( |
| ) |
|
|
inline |
◆ GetMomentum()
◆ GetParticleDef()
◆ GetSide()
G4int G4GHEKinematicsVector::GetSide |
( |
| ) |
|
|
inline |
◆ GetTOF()
G4double G4GHEKinematicsVector::GetTOF |
( |
| ) |
|
|
inline |
◆ Impu()
◆ Length()
G4double G4GHEKinematicsVector::Length |
( |
| ) |
|
|
inline |
◆ Lor()
Definition at line 393 of file G4GHEKinematicsVector.hh.
G4ParticleDefinition * particleDef
double dot(const Hep3Vector &) const
G4ParticleMomentum momentum
◆ Norz()
Definition at line 522 of file G4GHEKinematicsVector.hh.
525 if (a > 0.0) a = 1./std::sqrt(a);
G4ParticleDefinition * particleDef
G4ParticleMomentum momentum
◆ operator=()
◆ Print()
void G4GHEKinematicsVector::Print |
( |
G4int |
L | ) |
|
|
inline |
Definition at line 674 of file G4GHEKinematicsVector.hh.
676 G4cout <<
"G4GHEKinematicsVector: " G4ParticleDefinition * particleDef
G4GLOB_DLL std::ostream G4cout
G4ParticleMomentum momentum
◆ SetCharge()
void G4GHEKinematicsVector::SetCharge |
( |
G4double |
c | ) |
|
|
inline |
◆ SetCode()
void G4GHEKinematicsVector::SetCode |
( |
G4int |
c | ) |
|
|
inline |
◆ SetEnergy()
void G4GHEKinematicsVector::SetEnergy |
( |
G4double |
e | ) |
|
|
inline |
◆ SetEnergyAndUpdate()
void G4GHEKinematicsVector::SetEnergyAndUpdate |
( |
G4double |
e | ) |
|
|
inline |
◆ setFlag()
void G4GHEKinematicsVector::setFlag |
( |
G4bool |
f | ) |
|
|
inline |
◆ SetKineticEnergy()
void G4GHEKinematicsVector::SetKineticEnergy |
( |
G4double |
ekin | ) |
|
|
inline |
◆ SetKineticEnergyAndUpdate()
void G4GHEKinematicsVector::SetKineticEnergyAndUpdate |
( |
G4double |
ekin | ) |
|
|
inline |
◆ SetMass()
void G4GHEKinematicsVector::SetMass |
( |
G4double |
mas | ) |
|
|
inline |
◆ SetMassAndUpdate()
void G4GHEKinematicsVector::SetMassAndUpdate |
( |
G4double |
mas | ) |
|
|
inline |
◆ SetMomentum() [1/4]
◆ SetMomentum() [2/4]
◆ SetMomentum() [3/4]
◆ SetMomentum() [4/4]
void G4GHEKinematicsVector::SetMomentum |
( |
G4double |
z | ) |
|
|
inline |
◆ SetMomentumAndUpdate() [1/4]
◆ SetMomentumAndUpdate() [2/4]
◆ SetMomentumAndUpdate() [3/4]
◆ SetMomentumAndUpdate() [4/4]
void G4GHEKinematicsVector::SetMomentumAndUpdate |
( |
G4double |
z | ) |
|
|
inline |
◆ SetParticleDef()
◆ SetSide()
void G4GHEKinematicsVector::SetSide |
( |
G4int |
sid | ) |
|
|
inline |
◆ SetTOF()
void G4GHEKinematicsVector::SetTOF |
( |
G4double |
t | ) |
|
|
inline |
◆ SetZero()
void G4GHEKinematicsVector::SetZero |
( |
| ) |
|
|
inline |
◆ Smul()
◆ SmulAndUpdate()
◆ Sub()
Definition at line 377 of file G4GHEKinematicsVector.hh.
383 mass = -1. * std::sqrt( -b );
385 mass = std::sqrt( b );
G4ParticleDefinition * particleDef
G4ParticleMomentum momentum
◆ Sub3()
◆ Trac()
◆ charge
◆ code
G4int G4GHEKinematicsVector::code |
◆ energy
◆ flag
G4bool G4GHEKinematicsVector::flag |
◆ kineticEnergy
G4double G4GHEKinematicsVector::kineticEnergy |
◆ mass
◆ momentum
◆ particleDef
◆ side
G4int G4GHEKinematicsVector::side |
◆ timeOfFlight
G4double G4GHEKinematicsVector::timeOfFlight |
The documentation for this class was generated from the following file: