Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <Vector3D.h>
Public Member Functions | |
Vector3D ()=default | |
Vector3D (double x1, double y1, double z1) | |
Vector3D (const float *a) | |
Vector3D (const double *a) | |
Vector3D (const Vector3D< double > &)=default | |
Vector3D (Vector3D< double > &&)=default | |
Vector3D (const BasicVector3D< float > &v) | |
Vector3D (const BasicVector3D< double > &v) | |
~Vector3D ()=default | |
Vector3D (const CLHEP::Hep3Vector &v) | |
operator CLHEP::Hep3Vector () const | |
Vector3D< double > & | operator= (const Vector3D< double > &)=default |
Vector3D< double > & | operator= (const BasicVector3D< float > &v) |
Vector3D< double > & | operator= (const BasicVector3D< double > &v) |
Vector3D< double > & | operator= (Vector3D< double > &&)=default |
Vector3D< double > & | transform (const Transform3D &m) |
Public Member Functions inherited from HepGeom::BasicVector3D< double > | |
BasicVector3D (double x1, double y1, double z1) | |
BasicVector3D (const BasicVector3D< double > &)=default | |
BasicVector3D (const BasicVector3D< float > &v) | |
BasicVector3D (BasicVector3D< double > &&)=default | |
virtual | ~BasicVector3D ()=default |
operator double * () | |
operator const double * () const | |
operator CLHEP::Hep3Vector () const | |
BasicVector3D< double > & | operator= (const BasicVector3D< double > &)=default |
BasicVector3D< double > & | operator= (BasicVector3D< double > &&)=default |
BasicVector3D< double > & | operator+= (const BasicVector3D< double > &v) |
BasicVector3D< double > & | operator-= (const BasicVector3D< double > &v) |
BasicVector3D< double > & | operator*= (double a) |
BasicVector3D< double > & | operator/= (double a) |
double | operator() (int i) const |
double & | operator() (int i) |
double | operator[] (int i) const |
double & | operator[] (int i) |
double | x () const |
double | y () const |
double | z () const |
void | setX (double a) |
void | setY (double a) |
void | setZ (double a) |
void | set (double x1, double y1, double z1) |
double | perp2 () const |
double | perp2 (const BasicVector3D< double > &v) const |
double | perp () const |
double | perp (const BasicVector3D< double > &v) const |
double | rho () const |
void | setPerp (double rh) |
double | mag2 () const |
double | mag () const |
double | r () const |
double | phi () const |
double | theta () const |
double | cosTheta () const |
double | getR () const |
double | getPhi () const |
double | getTheta () const |
void | setMag (double ma) |
void | setR (double ma) |
void | setPhi (double ph) |
void | setTheta (double th) |
double | pseudoRapidity () const |
float | pseudoRapidity () const |
double | pseudoRapidity () const |
double | eta () const |
double | getEta () const |
void | setEta (double a) |
void | setEta (float a) |
void | setEta (double a) |
double | dot (const BasicVector3D< double > &v) const |
BasicVector3D< double > | cross (const BasicVector3D< double > &v) const |
double | angle (const BasicVector3D< double > &v) const |
float | angle (const BasicVector3D< float > &v) const |
double | angle (const BasicVector3D< double > &v) const |
BasicVector3D< double > | unit () const |
BasicVector3D< double > | orthogonal () const |
BasicVector3D< double > & | rotateX (double a) |
BasicVector3D< float > & | rotateX (float a) |
BasicVector3D< double > & | rotateX (double a) |
BasicVector3D< double > & | rotateY (double a) |
BasicVector3D< float > & | rotateY (float a) |
BasicVector3D< double > & | rotateY (double a) |
BasicVector3D< double > & | rotateZ (double a) |
BasicVector3D< float > & | rotateZ (float a) |
BasicVector3D< double > & | rotateZ (double a) |
BasicVector3D< double > & | rotate (double a, const BasicVector3D< double > &v) |
BasicVector3D< float > & | rotate (float a, const BasicVector3D< float > &v) |
BasicVector3D< double > & | rotate (double a, const BasicVector3D< double > &v) |
Additional Inherited Members | |
Public Types inherited from HepGeom::BasicVector3D< double > | |
enum | |
Protected Member Functions inherited from HepGeom::BasicVector3D< double > | |
BasicVector3D () | |
Protected Attributes inherited from HepGeom::BasicVector3D< double > | |
double | v_ [3] |
Related Symbols inherited from HepGeom::BasicVector3D< double > | |
std::ostream & | operator<< (std::ostream &, const BasicVector3D< float > &) |
std::ostream & | operator<< (std::ostream &, const BasicVector3D< double > &) |
std::istream & | operator>> (std::istream &, BasicVector3D< float > &) |
std::istream & | operator>> (std::istream &, BasicVector3D< double > &) |
BasicVector3D< float > | operator+ (const BasicVector3D< float > &v) |
BasicVector3D< float > | operator+ (const BasicVector3D< float > &a, const BasicVector3D< float > &b) |
BasicVector3D< double > | operator+ (const BasicVector3D< double > &v) |
BasicVector3D< double > | operator+ (const BasicVector3D< double > &a, const BasicVector3D< double > &b) |
BasicVector3D< float > | operator- (const BasicVector3D< float > &v) |
BasicVector3D< float > | operator- (const BasicVector3D< float > &a, const BasicVector3D< float > &b) |
BasicVector3D< double > | operator- (const BasicVector3D< double > &v) |
BasicVector3D< double > | operator- (const BasicVector3D< double > &a, const BasicVector3D< double > &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< 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< float > | operator/ (const BasicVector3D< float > &v, double a) |
BasicVector3D< double > | operator/ (const BasicVector3D< double > &v, double a) |
bool | operator== (const BasicVector3D< float > &a, const BasicVector3D< float > &b) |
bool | operator== (const BasicVector3D< double > &a, const BasicVector3D< double > &b) |
bool | operator!= (const BasicVector3D< float > &a, const BasicVector3D< float > &b) |
bool | operator!= (const BasicVector3D< double > &a, const BasicVector3D< double > &b) |
Geometrical 3D Vector with components of double type.
Definition at line 107 of file Vector3D.h.
|
default |
Default constructor.
|
inline |
Constructor from three numbers.
Definition at line 115 of file Vector3D.h.
|
inlineexplicit |
Constructor from array of floats.
Definition at line 119 of file Vector3D.h.
|
inlineexplicit |
Constructor from array of doubles.
Definition at line 124 of file Vector3D.h.
|
default |
Copy constructor.
|
default |
Move constructor.
|
inline |
Constructor from BasicVector3D<float>.
Definition at line 137 of file Vector3D.h.
|
inline |
Constructor from BasicVector3D<double>.
Definition at line 141 of file Vector3D.h.
|
default |
Destructor.
|
inline |
Constructor from CLHEP::Hep3Vector. This constructor is needed only for backward compatibility and in principle should be absent.
Definition at line 152 of file Vector3D.h.
|
inline |
Conversion (cast) to CLHEP::Hep3Vector. This operator is needed only for backward compatibility and in principle should not exit.
Definition at line 160 of file Vector3D.h.
|
inline |
Assignment from BasicVector3D<double>.
Definition at line 175 of file Vector3D.h.
|
inline |
Assignment from BasicVector3D<float>.
Definition at line 168 of file Vector3D.h.
|
default |
Assignment.
|
default |
Move assignment.
Vector3D< double > & HepGeom::Vector3D< double >::transform | ( | const Transform3D & | m | ) |
Transformation by Transform3D.
Definition at line 30 of file Vector3D.cc.