Geant4.10
|
#include <BasicVector3D.h>
Public Types | |
enum | { X = 0, Y = 1, Z = 2, NUM_COORDINATES = 3, SIZE = NUM_COORDINATES } |
Public Member Functions | |
BasicVector3D (T x1, T y1, T z1) | |
BasicVector3D (const BasicVector3D< float > &v) | |
virtual | ~BasicVector3D () |
operator T * () | |
operator const T * () const | |
operator CLHEP::Hep3Vector () const | |
BasicVector3D< T > & | operator= (const BasicVector3D< T > &v) |
BasicVector3D< T > & | operator+= (const BasicVector3D< T > &v) |
BasicVector3D< T > & | operator-= (const BasicVector3D< T > &v) |
BasicVector3D< T > & | operator*= (double a) |
BasicVector3D< T > & | operator/= (double a) |
T | operator() (int i) const |
T | operator[] (int i) const |
T & | operator() (int i) |
T & | operator[] (int i) |
T | x () const |
T | y () const |
T | z () const |
void | setX (T a) |
void | setY (T a) |
void | setZ (T a) |
void | set (T x1, T y1, T z1) |
T | perp2 () const |
T | perp () const |
T | rho () const |
void | setPerp (T rh) |
T | mag2 () const |
T | mag () const |
T | r () const |
T | phi () const |
T | theta () const |
T | cosTheta () const |
T | getR () const |
T | getPhi () const |
T | getTheta () const |
void | setMag (T ma) |
void | setR (T ma) |
void | setPhi (T ph) |
void | setTheta (T th) |
T | pseudoRapidity () const |
T | eta () const |
T | getEta () const |
void | setEta (T a) |
T | dot (const BasicVector3D< T > &v) const |
BasicVector3D< T > | cross (const BasicVector3D< T > &v) const |
T | perp2 (const BasicVector3D< T > &v) const |
T | perp (const BasicVector3D< T > &v) const |
T | angle (const BasicVector3D< T > &v) const |
BasicVector3D< T > | unit () const |
BasicVector3D< T > | orthogonal () const |
BasicVector3D< T > & | rotateX (T a) |
BasicVector3D< T > & | rotateY (T a) |
BasicVector3D< T > & | rotateZ (T a) |
BasicVector3D< T > & | rotate (T a, const BasicVector3D< T > &v) |
template<> | |
float | pseudoRapidity () const |
template<> | |
void | setEta (float a) |
template<> | |
float | angle (const BasicVector3D< float > &v) const |
template<> | |
BasicVector3D< float > & | rotateX (float a) |
template<> | |
BasicVector3D< float > & | rotateY (float a) |
template<> | |
BasicVector3D< float > & | rotateZ (float a) |
template<> | |
BasicVector3D< float > & | rotate (float a, const BasicVector3D< float > &v) |
template<> | |
double | pseudoRapidity () const |
template<> | |
void | setEta (double a) |
template<> | |
double | angle (const BasicVector3D< double > &v) const |
template<> | |
BasicVector3D< double > & | rotateX (double a) |
template<> | |
BasicVector3D< double > & | rotateY (double a) |
template<> | |
BasicVector3D< double > & | rotateZ (double a) |
template<> | |
BasicVector3D< double > & | rotate (double a, const BasicVector3D< double > &v) |
Protected Member Functions | |
BasicVector3D () | |
Protected Attributes | |
T | v_ [3] |
Related Functions | |
(Note that these are not member functions.) | |
std::ostream & | operator<< (std::ostream &, const BasicVector3D< float > &) |
std::istream & | operator>> (std::istream &, BasicVector3D< float > &) |
BasicVector3D< float > | operator+ (const BasicVector3D< float > &v) |
BasicVector3D< float > | operator+ (const BasicVector3D< float > &a, const BasicVector3D< float > &b) |
BasicVector3D< float > | operator- (const BasicVector3D< float > &v) |
BasicVector3D< float > | operator- (const BasicVector3D< float > &a, const BasicVector3D< float > &b) |
BasicVector3D< float > | operator* (const BasicVector3D< float > &v, double a) |
float | operator* (const BasicVector3D< float > &a, const BasicVector3D< float > &b) |
BasicVector3D< float > | operator* (double a, const BasicVector3D< float > &v) |
BasicVector3D< float > | operator/ (const BasicVector3D< float > &v, double a) |
bool | operator== (const BasicVector3D< float > &a, const BasicVector3D< float > &b) |
bool | operator!= (const BasicVector3D< float > &a, const BasicVector3D< float > &b) |
std::ostream & | operator<< (std::ostream &, const BasicVector3D< double > &) |
std::istream & | operator>> (std::istream &, BasicVector3D< double > &) |
BasicVector3D< double > | operator+ (const BasicVector3D< double > &v) |
BasicVector3D< double > | operator+ (const BasicVector3D< double > &a, const BasicVector3D< double > &b) |
BasicVector3D< double > | operator- (const BasicVector3D< double > &v) |
BasicVector3D< double > | operator- (const BasicVector3D< double > &a, const BasicVector3D< double > &b) |
BasicVector3D< double > | operator* (const BasicVector3D< double > &v, double a) |
double | operator* (const BasicVector3D< double > &a, const BasicVector3D< double > &b) |
BasicVector3D< double > | operator* (double a, const BasicVector3D< double > &v) |
BasicVector3D< double > | operator/ (const BasicVector3D< double > &v, double a) |
bool | operator== (const BasicVector3D< double > &a, const BasicVector3D< double > &b) |
bool | operator!= (const BasicVector3D< double > &a, const BasicVector3D< double > &b) |
Base class for Point3D<T>, Vector3D<T> and Normal3D<T>. It defines only common functionality for those classes and should not be used as separate class.
Definition at line 27 of file BasicVector3D.h.
anonymous enum |
Safe indexing of the coordinates when using with matrices, arrays, etc.
Enumerator | |
---|---|
X |
index for x-component |
Y |
index for y-component |
Z |
index for z-component |
NUM_COORDINATES |
number of components |
SIZE |
number of components |
Definition at line 41 of file BasicVector3D.h.
|
inlineprotected |
Default constructor. It is protected - this class should not be instantiated directly.
Definition at line 35 of file BasicVector3D.h.
|
inline |
|
inline |
Copy constructor. Note: BasicVector3D<double> has constructors from BasicVector3D<double> (provided by compiler) and from BasicVector3D<float> (defined in this file); BasicVector3D<float> has only the last one.
Definition at line 60 of file BasicVector3D.h.
|
inlinevirtual |
float HepGeom::BasicVector3D< float >::angle | ( | const BasicVector3D< float > & | v | ) | const |
double HepGeom::BasicVector3D< double >::angle | ( | const BasicVector3D< double > & | v | ) | const |
T HepGeom::BasicVector3D< T >::angle | ( | const BasicVector3D< T > & | v | ) | const |
|
inline |
|
inline |
Vector product.
Definition at line 275 of file BasicVector3D.h.
Referenced by G4ErrorSurfaceTrajState::BuildErrorMatrix(), G4ErrorFreeTrajState::G4ErrorFreeTrajState(), G4ErrorSurfaceTrajParam::GetPlaneNormal(), G4ViewParameters::IncrementPan(), pysigh(), G4ViewParameters::SetPan(), G4ErrorFreeTrajParam::SetParameters(), G4ViewParameters::SetViewAndLights(), HepPolyhedron::Transform(), and HepGeom::Transform3D::Transform3D().
|
inline |
Scalar product.
Definition at line 269 of file BasicVector3D.h.
Referenced by G4VSceneHandler::CreateSectionSolid(), HepGeom::BasicVector3D< T >::operator*(), HepGeom::BasicVector3D< G4double >::perp2(), and pyqqbh().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Gets magnitude of the vector.
Definition at line 195 of file BasicVector3D.h.
Referenced by G4BoundingSphereScene::AccrueBoundingSphere(), HepGeom::BasicVector3D< T >::angle(), G4ErrorSurfaceTrajState::BuildErrorMatrix(), HepGeom::BasicVector3D< G4double >::cosTheta(), G4VSceneHandler::CreateSectionSolid(), G4ErrorFreeTrajState::G4ErrorFreeTrajState(), G4ErrorPropagator::Propagate(), G4ErrorFreeTrajState::PropagateError(), G4ErrorPropagator::PropagateOneStep(), HepGeom::BasicVector3D< G4double >::r(), HepGeom::BasicVector3D< G4double >::setMag(), G4ErrorFreeTrajParam::SetParameters(), G4ErrorSurfaceTrajParam::SetParameters(), HepGeom::BasicVector3D< G4double >::setTheta(), and HepGeom::BasicVector3D< G4double >::unit().
|
inline |
Gets magnitude squared of the vector.
Definition at line 192 of file BasicVector3D.h.
Referenced by HepGeom::Point3D< float >::distance2(), HepGeom::Point3D< double >::distance2(), G4ErrorFreeTrajState::G4ErrorFreeTrajState(), HepGeom::BasicVector3D< G4double >::mag(), and HepGeom::BasicVector3D< G4double >::perp2().
|
inline |
Conversion (cast) to CLHEP::Hep3Vector. This operator is needed only for backward compatibility and in principle should not exit.
Definition at line 85 of file BasicVector3D.h.
|
inline |
Conversion (cast) to ordinary const array.
Definition at line 78 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::v_.
|
inline |
Conversion (cast) to ordinary array.
Definition at line 74 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::v_.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Gets transverse component.
Definition at line 172 of file BasicVector3D.h.
Referenced by G4ErrorFreeTrajState::PropagateError(), HepGeom::BasicVector3D< G4double >::rho(), HepGeom::BasicVector3D< G4double >::setPerp(), HepGeom::BasicVector3D< G4double >::setPhi(), and HepGeom::BasicVector3D< G4double >::theta().
|
inline |
|
inline |
Gets transverse component squared.
Definition at line 169 of file BasicVector3D.h.
Referenced by HepGeom::BasicVector3D< G4double >::perp().
|
inline |
Returns transverse component w.r.t. given axis squared.
Definition at line 283 of file BasicVector3D.h.
|
inline |
Gets azimuth angle.
Definition at line 201 of file BasicVector3D.h.
Referenced by atrobo(), attrad(), dadmaa(), dadmel(), dadmks(), dadmmu(), dadmro(), dadnew(), dph4pi(), dph5pi(), dphnpi(), dphtre(), drcmu(), fermii(), fgp1(), fgp2(), fgp3(), flap(), flap1(), flap2(), G4ArrowModel::G4ArrowModel(), gen_delta(), gen_qel(), HepGeom::BasicVector3D< G4double >::getPhi(), haoutp(), hijels(), hijing(), hijsft(), hirobo(), lazimu(), lepto(), lprikt(), lqev(), lqgev(), lqqbev(), lu1ent(), lucell(), ludecy(), lueevt(), luindf(), luonia(), luprep(), luptdi(), lurobo(), lushow(), lutabu(), lutest(), luthru(), luxdif(), profile(), py1ent(), pycell(), pydecy(), pydiff(), pyeevt(), pyi3au(), pyindf(), pymult(), pyonia(), pyprep(), pyptdi(), pyreco(), pyremn(), pyresd(), pyrobo(), pyscat(), pyshow(), pytabu(), pytest(), pythru(), pyxdif(), quench(), rotod1(), rotod2(), rotod3(), rotor1(), rotor2(), rotor3(), rotpol(), rotpox(), G4ErrorFreeTrajParam::SetParameters(), HepGeom::BasicVector3D< G4double >::setTheta(), testrot1(), testrot1s(), testrot2(), testrot2s(), testrot3(), testrot3s(), testrot4(), and testrot4s().
float HepGeom::BasicVector3D< float >::pseudoRapidity | ( | ) | const |
Definition at line 13 of file BasicVector3D.cc.
double HepGeom::BasicVector3D< double >::pseudoRapidity | ( | ) | const |
Definition at line 169 of file BasicVector3D.cc.
T HepGeom::BasicVector3D< T >::pseudoRapidity | ( | ) | const |
Gets pseudo-rapidity: -ln(tan(theta/2))
Referenced by HepGeom::BasicVector3D< G4double >::eta(), and HepGeom::BasicVector3D< G4double >::getEta().
|
inline |
Gets r-component in spherical coordinate system
Definition at line 198 of file BasicVector3D.h.
Referenced by absorp(), conucl(), csharm(), dgamrn(), dshnel(), dshnto(), dtchoi(), elhain(), flap1(), flap2(), gen_delta(), HepGeom::BasicVector3D< G4double >::getR(), harkin(), hijing(), hijwds(), lflav(), pyangl(), pyi3au(), pymsin(), pyreco(), pyrnm3(), pyrnmq(), pyrnmt(), pyspla(), pytbdy(), qinnuc(), riwibd(), sampex(), sampey(), samsqx(), sdiff(), sphera(), spherd(), sqm2(), thb(), ulangl(), vahmsd(), valmdd(), valmsd(), vegas(), and wdsax().
|
inline |
BasicVector3D< float > & HepGeom::BasicVector3D< float >::rotate | ( | float | a, |
const BasicVector3D< float > & | v | ||
) |
Definition at line 77 of file BasicVector3D.cc.
References test::x, HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), z, and HepGeom::BasicVector3D< T >::z().
BasicVector3D< double > & HepGeom::BasicVector3D< double >::rotate | ( | double | a, |
const BasicVector3D< double > & | v | ||
) |
Definition at line 233 of file BasicVector3D.cc.
References test::x, HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), z, and HepGeom::BasicVector3D< T >::z().
BasicVector3D<T>& HepGeom::BasicVector3D< T >::rotate | ( | T | a, |
const BasicVector3D< T > & | v | ||
) |
Rotates around the axis specified by another vector.
BasicVector3D< float > & HepGeom::BasicVector3D< float >::rotateX | ( | float | a | ) |
BasicVector3D< double > & HepGeom::BasicVector3D< double >::rotateX | ( | double | a | ) |
BasicVector3D<T>& HepGeom::BasicVector3D< T >::rotateX | ( | T | a | ) |
Rotates around x-axis.
BasicVector3D< float > & HepGeom::BasicVector3D< float >::rotateY | ( | float | a | ) |
Definition at line 58 of file BasicVector3D.cc.
BasicVector3D< double > & HepGeom::BasicVector3D< double >::rotateY | ( | double | a | ) |
Definition at line 214 of file BasicVector3D.cc.
BasicVector3D<T>& HepGeom::BasicVector3D< T >::rotateY | ( | T | a | ) |
Rotates around y-axis.
BasicVector3D< float > & HepGeom::BasicVector3D< float >::rotateZ | ( | float | a | ) |
BasicVector3D< double > & HepGeom::BasicVector3D< double >::rotateZ | ( | double | a | ) |
BasicVector3D<T>& HepGeom::BasicVector3D< T >::rotateZ | ( | T | a | ) |
Rotates around z-axis.
|
inline |
Sets components in cartesian coordinate system.
Definition at line 161 of file BasicVector3D.h.
Referenced by HepGeom::Normal3D< float >::operator=(), HepGeom::Point3D< float >::operator=(), HepGeom::Vector3D< float >::operator=(), HepGeom::Normal3D< double >::operator=(), HepGeom::Vector3D< double >::operator=(), HepGeom::Point3D< double >::operator=(), HepGeom::BasicVector3D< G4double >::setTheta(), HepGeom::Normal3D< float >::transform(), HepGeom::Vector3D< float >::transform(), HepGeom::Point3D< float >::transform(), HepGeom::Vector3D< double >::transform(), HepGeom::Normal3D< double >::transform(), and HepGeom::Point3D< double >::transform().
void HepGeom::BasicVector3D< float >::setEta | ( | float | a | ) |
Definition at line 23 of file BasicVector3D.cc.
void HepGeom::BasicVector3D< double >::setEta | ( | double | a | ) |
Definition at line 179 of file BasicVector3D.cc.
void HepGeom::BasicVector3D< T >::setEta | ( | T | a | ) |
Sets pseudo-rapidity, keeping magnitude and phi fixed.
|
inline |
Sets magnitude.
Definition at line 225 of file BasicVector3D.h.
Referenced by HepGeom::BasicVector3D< G4double >::setR().
|
inline |
Sets transverse component keeping phi and z constant.
Definition at line 179 of file BasicVector3D.h.
|
inline |
|
inline |
|
inline |
Sets theta-component in spherical coordinate system.
Definition at line 239 of file BasicVector3D.h.
|
inline |
Sets x-component in cartesian coordinate system.
Definition at line 151 of file BasicVector3D.h.
Referenced by HepPolyhedronEllipsoid::HepPolyhedronEllipsoid(), HepPolyhedronEllipticalCone::HepPolyhedronEllipticalCone(), HepGeom::operator>>(), G4ErrorFreeTrajState::PropagateError(), and HepGeom::BasicVector3D< G4double >::setPhi().
|
inline |
Sets y-component in cartesian coordinate system.
Definition at line 154 of file BasicVector3D.h.
Referenced by HepPolyhedronEllipsoid::HepPolyhedronEllipsoid(), HepPolyhedronEllipticalCone::HepPolyhedronEllipticalCone(), HepGeom::operator>>(), and HepGeom::BasicVector3D< G4double >::setPhi().
|
inline |
Sets z-component in cartesian coordinate system.
Definition at line 157 of file BasicVector3D.h.
Referenced by HepGeom::operator>>().
|
inline |
Gets polar angle.
Definition at line 206 of file BasicVector3D.h.
Referenced by attrad(), cromsc(), G4ArrowModel::G4ArrowModel(), HepGeom::BasicVector3D< G4double >::getTheta(), lutest(), G4ErrorFreeTrajState::PropagateError(), pytest(), G4DAWNFILEViewer::SendViewParameters(), and G4ErrorFreeTrajParam::SetParameters().
|
inline |
Returns unit vector parallel to this.
Definition at line 304 of file BasicVector3D.h.
Referenced by G4BoundingSphereScene::AccrueBoundingSphere(), berttp(), G4ReflectedSolid::DistanceToIn(), G4ReflectedSolid::DistanceToOut(), dminit(), HepPolyhedron::FindNodeNormal(), G4ArrowModel::G4ArrowModel(), g4dpmjet_close_nuclear_bin(), g4dpmjet_open_fort6(), g4dpmjet_open_nuclear_bin(), gbinit(), prblm2(), rm48(), G4DAWNFILEViewer::SendViewParameters(), G4RayTracerViewer::SetView(), G4ViewParameters::SetViewAndLights(), and G4ReflectedSolid::SurfaceNormal().
|
inline |
Gets x-component in cartesian coordinate system.
Definition at line 141 of file BasicVector3D.h.
Referenced by G4HepRepFileSceneHandler::AddCompound(), G4HepRepSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), HepGeom::BasicVector3D< G4double >::BasicVector3D(), G4ErrorSurfaceTrajState::BuildErrorMatrix(), G4ReflectedSolid::CalculateExtent(), G4CutTubs::CreatePolyhedron(), HepGeom::BasicVector3D< G4double >::cross(), HepGeom::Plane3D< G4double >::distance(), HepGeom::Point3D< float >::distance2(), HepGeom::Point3D< double >::distance2(), G4ReflectedSolid::DistanceToIn(), G4ReflectedSolid::DistanceToOut(), HepGeom::BasicVector3D< G4double >::dot(), G4ErrorFreeTrajState::G4ErrorFreeTrajState(), G4VisExtent::G4VisExtent(), G4ReflectedSolid::GetPointOnSurface(), HepPolyhedronEllipsoid::HepPolyhedronEllipsoid(), HepPolyhedronEllipticalCone::HepPolyhedronEllipticalCone(), G4ReflectedSolid::Inside(), HepGeom::BasicVector3D< G4double >::mag2(), G4ViewParameters::MultiplyScaleFactor(), HepGeom::BasicVector3D< G4double >::operator CLHEP::Hep3Vector(), HepGeom::Vector3D< double >::operator CLHEP::Hep3Vector(), HepGeom::Normal3D< double >::operator CLHEP::Hep3Vector(), HepGeom::Point3D< double >::operator CLHEP::Hep3Vector(), HepGeom::BasicVector3D< T >::operator!=(), HepGeom::operator*(), HepGeom::BasicVector3D< T >::operator*(), HepGeom::BasicVector3D< T >::operator+(), HepGeom::BasicVector3D< T >::operator-(), HepGeom::BasicVector3D< T >::operator/(), operator<<(), HepGeom::Vector3D< float >::operator=(), HepGeom::Normal3D< float >::operator=(), HepGeom::Point3D< float >::operator=(), HepGeom::Normal3D< double >::operator=(), HepGeom::Vector3D< double >::operator=(), HepGeom::Point3D< double >::operator=(), HepGeom::BasicVector3D< T >::operator==(), HepGeom::BasicVector3D< G4double >::orthogonal(), HepGeom::BasicVector3D< G4double >::perp2(), HepGeom::BasicVector3D< G4double >::phi(), HepGeom::Plane3D< G4double >::Plane3D(), HepGeom::Plane3D< G4double >::point(), G4ErrorFreeTrajState::PropagateError(), HepGeom::BasicVector3D< T >::rotate(), HepGeom::Rotate3D::Rotate3D(), G4DAWNFILEViewer::SendViewParameters(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), G4ErrorFreeTrajParam::SetParameters(), G4ViewParameters::SetViewAndLights(), G4ReflectedSolid::SurfaceNormal(), HepGeom::BasicVector3D< G4double >::theta(), HepGeom::Normal3D< float >::transform(), HepGeom::Vector3D< float >::transform(), HepGeom::Point3D< float >::transform(), HepGeom::Plane3D< G4double >::transform(), HepGeom::Normal3D< double >::transform(), HepGeom::Vector3D< double >::transform(), HepGeom::Point3D< double >::transform(), HepGeom::Transform3D::Transform3D(), and HepGeom::BasicVector3D< G4double >::unit().
|
inline |
Gets y-component in cartesian coordinate system.
Definition at line 144 of file BasicVector3D.h.
Referenced by G4HepRepFileSceneHandler::AddCompound(), G4HepRepSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), angfi(), angxy(), ar3jet(), HepGeom::BasicVector3D< G4double >::BasicVector3D(), bsofpt(), G4ErrorSurfaceTrajState::BuildErrorMatrix(), G4ReflectedSolid::CalculateExtent(), cats(), G4CutTubs::CreatePolyhedron(), HepGeom::BasicVector3D< G4double >::cross(), d106bd(), dbetar(), dcosi(), dcross(), ddrela(), dgamrn(), diffpt(), dilog(), HepGeom::Plane3D< G4double >::distance(), HepGeom::Point3D< float >::distance2(), HepGeom::Point3D< double >::distance2(), G4ReflectedSolid::DistanceToIn(), G4ReflectedSolid::DistanceToOut(), distrr(), dlower(), HepGeom::BasicVector3D< G4double >::dot(), dph4pi(), dphtre(), dqcd(), drcmu(), drtran(), dsfecf(), dsigma(), dthrep(), dtrans(), dupper(), dxlamb(), flgint(), flintg(), flipol(), flqint(), fltabl(), fltint(), G4ErrorFreeTrajState::G4ErrorFreeTrajState(), G4VisExtent::G4VisExtent(), gauss1(), gauss2(), gauss3(), gauss4(), gentable(), G4ReflectedSolid::GetPointOnSurface(), hatest(), hax1x2(), HepPolyhedronEllipsoid::HepPolyhedronEllipsoid(), HepPolyhedronEllipticalCone::HepPolyhedronEllipticalCone(), hiboost(), hijsrt(), G4ReflectedSolid::Inside(), jetta(), jettarun(), jettout(), kkevle(), lazimu(), lepto(), leptox(), lflav(), lframe(), linit(), lkinem(), lmcmnd(), lmeps(), lmidat(), lminew(), lminto(), lmpint(), lmprin(), lmrazz(), lmsimp(), lprwts(), lqcdpr(), lqev(), lqgev(), lqmcut(), lqqbev(), lremh(), lscale(), lshowr(), lsigmx(), lweits(), lxp(), lxsect(), lzp(), HepGeom::BasicVector3D< G4double >::mag2(), modb(), G4ViewParameters::MultiplyScaleFactor(), mytran(), HepGeom::BasicVector3D< G4double >::operator CLHEP::Hep3Vector(), HepGeom::Vector3D< double >::operator CLHEP::Hep3Vector(), HepGeom::Normal3D< double >::operator CLHEP::Hep3Vector(), HepGeom::Point3D< double >::operator CLHEP::Hep3Vector(), HepGeom::BasicVector3D< T >::operator!=(), HepGeom::operator*(), HepGeom::BasicVector3D< T >::operator*(), HepGeom::BasicVector3D< T >::operator+(), HepGeom::BasicVector3D< T >::operator-(), HepGeom::BasicVector3D< T >::operator/(), operator<<(), HepGeom::Normal3D< float >::operator=(), HepGeom::Point3D< float >::operator=(), HepGeom::Vector3D< float >::operator=(), HepGeom::Vector3D< double >::operator=(), HepGeom::Normal3D< double >::operator=(), HepGeom::Point3D< double >::operator=(), HepGeom::BasicVector3D< T >::operator==(), HepGeom::BasicVector3D< G4double >::orthogonal(), parupd(), HepGeom::BasicVector3D< G4double >::perp2(), HepGeom::BasicVector3D< G4double >::phi(), phoan1(), phoan2(), HepGeom::Plane3D< G4double >::Plane3D(), plot(), HepGeom::Plane3D< G4double >::point(), G4ErrorFreeTrajState::PropagateError(), pyangl(), pygfxx(), pylamf(), pypdpi(), pyreco(), pysimp(), pystfu(), pystpr(), pyxxw5(), pyxxz2(), pyxxz5(), qinnuc(), raco(), rannor(), riwfun(), HepGeom::BasicVector3D< T >::rotate(), HepGeom::Rotate3D::Rotate3D(), saptre(), G4DAWNFILEViewer::SendViewParameters(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), G4ErrorFreeTrajParam::SetParameters(), G4ViewParameters::SetViewAndLights(), sttran(), G4ReflectedSolid::SurfaceNormal(), thb(), HepGeom::BasicVector3D< G4double >::theta(), HepGeom::Normal3D< float >::transform(), HepGeom::Vector3D< float >::transform(), HepGeom::Point3D< float >::transform(), HepGeom::Plane3D< G4double >::transform(), HepGeom::Vector3D< double >::transform(), HepGeom::Normal3D< double >::transform(), HepGeom::Point3D< double >::transform(), HepGeom::Transform3D::Transform3D(), ulangl(), HepGeom::BasicVector3D< G4double >::unit(), and ylamb().
|
inline |
Gets z-component in cartesian coordinate system.
Definition at line 147 of file BasicVector3D.h.
Referenced by G4HepRepFileSceneHandler::AddCompound(), G4HepRepSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddPrimitive(), G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4GMocrenFileSceneHandler::AddSolid(), HepGeom::BasicVector3D< G4double >::BasicVector3D(), G4ErrorSurfaceTrajState::BuildErrorMatrix(), G4ReflectedSolid::CalculateExtent(), HepGeom::BasicVector3D< G4double >::cosTheta(), G4CutTubs::CreatePolyhedron(), HepGeom::BasicVector3D< G4double >::cross(), HepGeom::Plane3D< G4double >::distance(), HepGeom::Point3D< float >::distance2(), HepGeom::Point3D< double >::distance2(), G4ReflectedSolid::DistanceToIn(), G4ReflectedSolid::DistanceToOut(), HepGeom::BasicVector3D< G4double >::dot(), G4ErrorFreeTrajState::G4ErrorFreeTrajState(), G4VisExtent::G4VisExtent(), G4ReflectedSolid::GetPointOnSurface(), G4ReflectedSolid::Inside(), HepGeom::BasicVector3D< G4double >::mag2(), G4ViewParameters::MultiplyScaleFactor(), HepGeom::BasicVector3D< G4double >::operator CLHEP::Hep3Vector(), HepGeom::Normal3D< double >::operator CLHEP::Hep3Vector(), HepGeom::Vector3D< double >::operator CLHEP::Hep3Vector(), HepGeom::Point3D< double >::operator CLHEP::Hep3Vector(), HepGeom::BasicVector3D< T >::operator!=(), HepGeom::operator*(), HepGeom::BasicVector3D< T >::operator*(), HepGeom::BasicVector3D< T >::operator+(), HepGeom::BasicVector3D< T >::operator-(), HepGeom::BasicVector3D< T >::operator/(), operator<<(), HepGeom::Vector3D< float >::operator=(), HepGeom::Normal3D< float >::operator=(), HepGeom::Point3D< float >::operator=(), HepGeom::Normal3D< double >::operator=(), HepGeom::Vector3D< double >::operator=(), HepGeom::Point3D< double >::operator=(), HepGeom::BasicVector3D< T >::operator==(), HepGeom::BasicVector3D< G4double >::orthogonal(), HepGeom::Plane3D< G4double >::Plane3D(), HepGeom::Plane3D< G4double >::point(), G4ErrorFreeTrajState::PropagateError(), HepGeom::BasicVector3D< T >::rotate(), HepGeom::Rotate3D::Rotate3D(), G4DAWNFILEViewer::SendViewParameters(), G4VisCommandSceneAddLogo::SetNewValue(), G4VisCommandSceneAddScale::SetNewValue(), G4ReflectedSolid::SurfaceNormal(), HepGeom::BasicVector3D< G4double >::theta(), HepGeom::Vector3D< float >::transform(), HepGeom::Normal3D< float >::transform(), HepGeom::Point3D< float >::transform(), HepGeom::Plane3D< G4double >::transform(), HepGeom::Vector3D< double >::transform(), HepGeom::Normal3D< double >::transform(), HepGeom::Point3D< double >::transform(), HepGeom::Transform3D::Transform3D(), and HepGeom::BasicVector3D< G4double >::unit().
|
related |
Comparison of two vectors for inequality.
Definition at line 447 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Comparison of two vectors for inequality.
Definition at line 556 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Multiplication vector by scalar.
Definition at line 402 of file BasicVector3D.h.
References test::a, HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Scalar product of two vectors.
Definition at line 411 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::dot().
|
related |
Multiplication scalar by vector.
Definition at line 420 of file BasicVector3D.h.
References test::a, HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Multiplication vector by scalar.
Definition at line 510 of file BasicVector3D.h.
References test::a, HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Scalar product of two vectors.
Definition at line 519 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::dot().
|
related |
Multiplication scalar by vector.
Definition at line 528 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
|
related |
Addition of two vectors.
Definition at line 375 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
|
related |
Addition of two vectors.
Definition at line 483 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Unary minus.
Definition at line 384 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Subtraction of two vectors.
Definition at line 393 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Unary minus.
Definition at line 492 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Subtraction of two vectors.
Definition at line 501 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Division vector by scalar.
Definition at line 429 of file BasicVector3D.h.
References test::a, HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
Division vector by scalar.
Definition at line 537 of file BasicVector3D.h.
References test::a, HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
|
related |
|
related |
Comparison of two vectors for equality.
Definition at line 438 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
Referenced by G4Solver< Function >::operator!=().
|
related |
Comparison of two vectors for equality.
Definition at line 546 of file BasicVector3D.h.
References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
related |
|
related |
|
protected |
Definition at line 29 of file BasicVector3D.h.
Referenced by HepGeom::BasicVector3D< G4double >::BasicVector3D(), HepGeom::BasicVector3D< T >::operator const T *(), HepGeom::BasicVector3D< T >::operator T *(), HepGeom::BasicVector3D< G4double >::operator()(), HepGeom::BasicVector3D< G4double >::operator*=(), HepGeom::BasicVector3D< G4double >::operator+=(), HepGeom::BasicVector3D< G4double >::operator-=(), HepGeom::BasicVector3D< G4double >::operator/=(), HepGeom::BasicVector3D< G4double >::operator=(), HepGeom::BasicVector3D< G4double >::operator[](), HepGeom::BasicVector3D< G4double >::set(), HepGeom::BasicVector3D< G4double >::setMag(), HepGeom::BasicVector3D< G4double >::setPerp(), HepGeom::BasicVector3D< G4double >::setX(), HepGeom::BasicVector3D< G4double >::setY(), HepGeom::BasicVector3D< G4double >::setZ(), HepGeom::BasicVector3D< G4double >::x(), HepGeom::BasicVector3D< G4double >::y(), and HepGeom::BasicVector3D< G4double >::z().