Geant4.10
|
#include <G4INCLThreeVector.hh>
Public Member Functions | |
ThreeVector () | |
ThreeVector (G4double ax, G4double ay, G4double az) | |
G4double | getX () const |
G4double | getY () const |
G4double | getZ () const |
G4double | perp () const |
G4double | perp2 () const |
G4double | mag () const |
G4double | mag2 () const |
G4double | theta () const |
G4double | phi () const |
G4double | dot (const ThreeVector &v) const |
ThreeVector | vector (const ThreeVector &v) const |
void | setX (G4double ax) |
Set the x coordinate. More... | |
void | setY (G4double ay) |
Set the y coordinate. More... | |
void | setZ (G4double az) |
Set the z coordinate. More... | |
void | operator+= (const ThreeVector &v) |
ThreeVector | operator- () const |
Unary minus operator. More... | |
void | operator-= (const ThreeVector &v) |
template<typename T > | |
void | operator*= (const T &c) |
template<typename T > | |
void | operator/= (const T &c) |
ThreeVector | operator- (const ThreeVector &v) const |
ThreeVector | operator+ (const ThreeVector &v) const |
ThreeVector | operator/ (const G4double C) const |
ThreeVector | operator* (const G4double C) const |
void | rotate (const G4double angle, const ThreeVector &axis) |
Rotate the vector by a given angle around a given axis. More... | |
std::string | print () const |
std::string | dump () const |
Definition at line 53 of file G4INCLThreeVector.hh.
|
inline |
Definition at line 55 of file G4INCLThreeVector.hh.
Referenced by operator*(), operator+(), operator-(), operator/(), and vector().
Definition at line 59 of file G4INCLThreeVector.hh.
|
inline |
Dot product.
Definition at line 96 of file G4INCLThreeVector.hh.
Referenced by G4INCL::Particle::boost(), G4INCL::ClusteringModelIntercomparison::clusterCanEscape(), G4INCL::CoulombNonRelativistic::distortOut(), G4INCL::BinaryCollisionAvatar::getChannel(), G4INCL::ClusteringModelIntercomparison::getCluster(), G4INCL::Particle::getCosRPAngle(), G4INCL::ReflectionChannel::getFinalState(), G4INCL::Particle::getInvariantMass(), G4INCL::Particle::getLongitudinalPosition(), G4INCL::StandardPropagationModel::getTime(), G4INCL::Particle::lorentzContract(), G4INCL::KinematicsUtils::momentumInCM(), and rotate().
|
inline |
Definition at line 188 of file G4INCLThreeVector.hh.
Referenced by G4INCL::Particle::dump().
|
inline |
Definition at line 63 of file G4INCLThreeVector.hh.
Referenced by G4INCL::Cluster::boost(), G4INCL::Nucleus::fillEventInfo(), G4INCL::ReflectionChannel::getFinalState(), G4INCL::DeltaProductionChannel::getFinalState(), G4INCL::ElasticChannel::getFinalState(), and G4INCL::DeltaDecayChannel::getFinalState().
|
inline |
Definition at line 64 of file G4INCLThreeVector.hh.
Referenced by G4INCL::Cluster::boost(), G4INCL::Nucleus::fillEventInfo(), G4INCL::ReflectionChannel::getFinalState(), G4INCL::DeltaProductionChannel::getFinalState(), G4INCL::ElasticChannel::getFinalState(), and G4INCL::DeltaDecayChannel::getFinalState().
|
inline |
Definition at line 65 of file G4INCLThreeVector.hh.
Referenced by G4INCL::Cluster::boost(), G4INCL::Nucleus::fillEventInfo(), G4INCL::ReflectionChannel::getFinalState(), G4INCL::DeltaProductionChannel::getFinalState(), G4INCL::ElasticChannel::getFinalState(), and G4INCL::DeltaDecayChannel::getFinalState().
|
inline |
Get the length of the vector.
Definition at line 72 of file G4INCLThreeVector.hh.
Referenced by G4INCL::InteractionAvatar::bringParticleInside(), G4INCL::Nucleus::decayOutgoingDeltas(), G4INCL::CoulombNonRelativistic::distortOut(), G4INCL::Nucleus::fillEventInfo(), G4INCL::StandardPropagationModel::generateBinaryCollisionAvatar(), G4INCL::Particle::getBeta(), G4INCL::PauliStandard::getBlockingProbability(), G4INCL::ClusteringModelIntercomparison::getCluster(), G4INCL::DeltaProductionChannel::getFinalState(), G4INCL::DeltaDecayChannel::getFinalState(), G4INCL::KinematicsUtils::getLocalEnergy(), G4INCL::Particle::getReflectionMomentum(), G4INCL::BinaryCollisionAvatar::postInteraction(), G4INCL::StandardPropagationModel::shootComposite(), and G4INCL::StandardPropagationModel::shootParticle().
|
inline |
Get the square of the length.
Definition at line 77 of file G4INCLThreeVector.hh.
Referenced by G4INCL::ProjectileRemnant::addAllDynamicalSpectators(), G4INCL::ProjectileRemnant::addMostDynamicalSpectators(), G4INCL::Particle::adjustEnergyFromMomentum(), G4INCL::Particle::adjustMomentumFromEnergy(), G4INCL::Particle::boost(), G4INCL::InteractionAvatar::bringParticleInside(), G4INCL::ClusteringModelIntercomparison::clusterCanEscape(), G4INCL::KinematicsUtils::energy(), G4INCL::Cluster::freezeInternalMotion(), G4INCL::PauliStandard::getBlockingProbability(), G4INCL::BinaryCollisionAvatar::getChannel(), G4INCL::Particle::getCosRPAngle(), G4INCL::ReflectionChannel::getFinalState(), G4INCL::PionNucleonChannel::getFinalState(), G4INCL::ElasticChannel::getFinalState(), G4INCL::Particle::getLongitudinalPosition(), G4INCL::StandardPropagationModel::getTime(), G4INCL::SurfaceAvatar::getTransmissionProbability(), G4INCL::Particle::lorentzContract(), G4INCL::Particle::Particle(), G4INCL::Cluster::putParticlesOffShell(), G4INCL::KinematicsUtils::squareInvariantMass(), G4INCL::KinematicsUtils::squareTotalEnergyInCM(), and G4INCL::Nucleus::useFusionKinematics().
|
inline |
|
inline |
Definition at line 138 of file G4INCLThreeVector.hh.
References test::c.
Referenced by operator/=().
|
inline |
|
inline |
Definition at line 120 of file G4INCLThreeVector.hh.
|
inline |
Unary minus operator.
Definition at line 127 of file G4INCLThreeVector.hh.
References ThreeVector().
|
inline |
|
inline |
Definition at line 131 of file G4INCLThreeVector.hh.
|
inline |
Divides all components of the vector with a constant number.
Definition at line 161 of file G4INCLThreeVector.hh.
References ThreeVector().
|
inline |
|
inline |
Definition at line 67 of file G4INCLThreeVector.hh.
Referenced by G4INCL::DeltaDecayChannel::getFinalState(), and theta().
|
inline |
Definition at line 68 of file G4INCLThreeVector.hh.
Referenced by G4INCL::DeltaProductionChannel::getFinalState(), and G4INCL::ElasticChannel::getFinalState().
|
inline |
Phi angle
Definition at line 89 of file G4INCLThreeVector.hh.
Referenced by G4INCL::Nucleus::fillEventInfo().
|
inline |
Definition at line 182 of file G4INCLThreeVector.hh.
Referenced by G4INCL::Cluster::print(), and G4INCL::Particle::print().
|
inline |
Rotate the vector by a given angle around a given axis.
angle | the rotation angle |
axis | the rotation axis, which must be a unit vector |
Definition at line 175 of file G4INCLThreeVector.hh.
References dot(), and vector().
Referenced by G4INCL::Particle::rotate().
Set the x coordinate.
Definition at line 112 of file G4INCLThreeVector.hh.
Referenced by G4INCL::Cluster::internalBoostToCM().
Set the y coordinate.
Definition at line 115 of file G4INCLThreeVector.hh.
Referenced by G4INCL::Cluster::internalBoostToCM().
Set the z coordinate.
Definition at line 118 of file G4INCLThreeVector.hh.
Referenced by G4INCL::Cluster::internalBoostToCM().
|
inline |
Theta angle
Definition at line 82 of file G4INCLThreeVector.hh.
References perp().
Referenced by G4INCL::Nucleus::fillEventInfo().
|
inline |
Vector product.
Definition at line 103 of file G4INCLThreeVector.hh.
References ThreeVector().
Referenced by G4INCL::Particle::getAngularMomentum(), and rotate().