Geant4-11
|
#include <Normal3D.h>
Public Types | |
enum | |
Public Member Functions | |
double | angle (const BasicVector3D< double > &v) const |
float | angle (const BasicVector3D< float > &v) const |
float | angle (const BasicVector3D< float > &v) const |
float | cosTheta () const |
BasicVector3D< float > | cross (const BasicVector3D< float > &v) const |
float | dot (const BasicVector3D< float > &v) const |
float | eta () const |
float | getEta () const |
float | getPhi () const |
float | getR () const |
float | getTheta () const |
float | mag () const |
float | mag2 () const |
Normal3D ()=default | |
Normal3D (const BasicVector3D< float > &v) | |
Normal3D (const float *a) | |
Normal3D (const Normal3D< float > &)=default | |
Normal3D (float x1, float y1, float z1) | |
Normal3D (Normal3D< float > &&)=default | |
operator CLHEP::Hep3Vector () const | |
operator const float * () const | |
operator float * () | |
float & | operator() (int i) |
float | operator() (int i) const |
BasicVector3D< float > & | operator*= (double a) |
BasicVector3D< float > & | operator+= (const BasicVector3D< float > &v) |
BasicVector3D< float > & | operator-= (const BasicVector3D< float > &v) |
BasicVector3D< float > & | operator/= (double a) |
Normal3D< float > & | operator= (const BasicVector3D< float > &v) |
Normal3D< float > & | operator= (const Normal3D< float > &)=default |
Normal3D< float > & | operator= (Normal3D< float > &&)=default |
float & | operator[] (int i) |
float | operator[] (int i) const |
BasicVector3D< float > | orthogonal () const |
float | perp () const |
float | perp (const BasicVector3D< float > &v) const |
float | perp2 () const |
float | perp2 (const BasicVector3D< float > &v) const |
float | phi () const |
float | pseudoRapidity () const |
float | pseudoRapidity () const |
double | pseudoRapidity () const |
float | r () const |
float | rho () const |
BasicVector3D< double > & | rotate (double a, const BasicVector3D< double > &v) |
BasicVector3D< float > & | rotate (float a, const BasicVector3D< float > &v) |
BasicVector3D< float > & | rotate (float a, const BasicVector3D< float > &v) |
BasicVector3D< double > & | rotateX (double a) |
BasicVector3D< float > & | rotateX (float a) |
BasicVector3D< float > & | rotateX (float a) |
BasicVector3D< double > & | rotateY (double a) |
BasicVector3D< float > & | rotateY (float a) |
BasicVector3D< float > & | rotateY (float a) |
BasicVector3D< double > & | rotateZ (double a) |
BasicVector3D< float > & | rotateZ (float a) |
BasicVector3D< float > & | rotateZ (float a) |
void | set (float x1, float y1, float z1) |
void | setEta (double a) |
void | setEta (float a) |
void | setEta (float a) |
void | setMag (float ma) |
void | setPerp (float rh) |
void | setPhi (float ph) |
void | setR (float ma) |
void | setTheta (float th) |
void | setX (float a) |
void | setY (float a) |
void | setZ (float a) |
float | theta () const |
Normal3D< float > & | transform (const Transform3D &m) |
BasicVector3D< float > | unit () const |
float | x () const |
float | y () const |
float | z () const |
~Normal3D ()=default | |
Protected Attributes | |
float | v_ [3] |
Related Functions | |
(Note that these are not member functions.) | |
bool | operator!= (const BasicVector3D< double > &a, const BasicVector3D< double > &b) |
bool | operator!= (const BasicVector3D< float > &a, const BasicVector3D< float > &b) |
double | operator* (const BasicVector3D< double > &a, const BasicVector3D< double > &b) |
BasicVector3D< double > | operator* (const BasicVector3D< double > &v, double a) |
float | operator* (const BasicVector3D< float > &a, const BasicVector3D< float > &b) |
BasicVector3D< float > | operator* (const BasicVector3D< float > &v, double a) |
BasicVector3D< double > | operator* (double a, const BasicVector3D< double > &v) |
BasicVector3D< float > | operator* (double a, const BasicVector3D< float > &v) |
BasicVector3D< double > | operator+ (const BasicVector3D< double > &a, const BasicVector3D< double > &b) |
BasicVector3D< double > | operator+ (const BasicVector3D< double > &v) |
BasicVector3D< float > | operator+ (const BasicVector3D< float > &a, const BasicVector3D< float > &b) |
BasicVector3D< float > | operator+ (const BasicVector3D< float > &v) |
BasicVector3D< double > | operator- (const BasicVector3D< double > &a, const BasicVector3D< double > &b) |
BasicVector3D< double > | operator- (const BasicVector3D< double > &v) |
BasicVector3D< float > | operator- (const BasicVector3D< float > &a, const BasicVector3D< float > &b) |
BasicVector3D< float > | operator- (const BasicVector3D< float > &v) |
BasicVector3D< double > | operator/ (const BasicVector3D< double > &v, double a) |
BasicVector3D< float > | operator/ (const BasicVector3D< float > &v, double a) |
std::ostream & | operator<< (std::ostream &, const BasicVector3D< double > &) |
std::ostream & | operator<< (std::ostream &, const BasicVector3D< float > &) |
bool | operator== (const BasicVector3D< double > &a, const BasicVector3D< double > &b) |
bool | operator== (const BasicVector3D< float > &a, const BasicVector3D< float > &b) |
std::istream & | operator>> (std::istream &, BasicVector3D< double > &) |
std::istream & | operator>> (std::istream &, BasicVector3D< float > &) |
Geometrical 3D Normal with components of float type.
Definition at line 42 of file Normal3D.h.
|
inherited |
Safe indexing of the coordinates when using with matrices, arrays, etc.
Definition at line 41 of file BasicVector3D.h.
|
default |
Default constructor.
|
inline |
Constructor from three numbers.
Definition at line 50 of file Normal3D.h.
|
inlineexplicit |
Constructor from array of floats.
Definition at line 54 of file Normal3D.h.
|
default |
Copy constructor.
|
default |
Move constructor.
|
inline |
Constructor from BasicVector3D<float>.
Definition at line 67 of file Normal3D.h.
|
default |
Destructor.
|
inherited |
Definition at line 191 of file BasicVector3D.cc.
|
inherited |
Returns angle w.r.t. another vector.
|
inherited |
Definition at line 35 of file BasicVector3D.cc.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Conversion (cast) to CLHEP::Hep3Vector. This operator is needed only for backward compatibility and in principle should not exit.
Definition at line 90 of file BasicVector3D.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Multiplication by scalar.
Definition at line 114 of file BasicVector3D.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Division by scalar.
Definition at line 119 of file BasicVector3D.h.
|
inline |
Assignment from BasicVector3D<float>.
Definition at line 79 of file Normal3D.h.
References HepGeom::BasicVector3D< T >::operator=().
|
default |
Assignment.
|
default |
Move assignment.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Returns orthogonal vector.
Definition at line 318 of file BasicVector3D.h.
|
inlineinherited |
|
inlineinherited |
Returns transverse component w.r.t. given axis.
Definition at line 296 of file BasicVector3D.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
Gets pseudo-rapidity: -ln(tan(theta/2))
|
inherited |
Definition at line 12 of file BasicVector3D.cc.
|
inherited |
Definition at line 168 of file BasicVector3D.cc.
|
inlineinherited |
|
inlineinherited |
|
inherited |
Definition at line 232 of file BasicVector3D.cc.
|
inherited |
Rotates around the axis specified by another vector.
|
inherited |
Definition at line 76 of file BasicVector3D.cc.
|
inherited |
Definition at line 204 of file BasicVector3D.cc.
|
inherited |
Rotates around x-axis.
|
inherited |
|
inherited |
Definition at line 213 of file BasicVector3D.cc.
|
inherited |
Rotates around y-axis.
|
inherited |
|
inherited |
|
inherited |
Rotates around z-axis.
|
inherited |
|
inlineinherited |
Sets components in cartesian coordinate system.
Definition at line 167 of file BasicVector3D.h.
|
inherited |
Definition at line 178 of file BasicVector3D.cc.
|
inherited |
Sets pseudo-rapidity, keeping magnitude and phi fixed.
|
inherited |
Definition at line 22 of file BasicVector3D.cc.
|
inlineinherited |
|
inlineinherited |
Sets transverse component keeping phi and z constant.
Definition at line 185 of file BasicVector3D.h.
|
inlineinherited |
Sets phi-component in spherical coordinate system.
Definition at line 242 of file BasicVector3D.h.
|
inlineinherited |
Sets r-component in spherical coordinate system.
Definition at line 239 of file BasicVector3D.h.
|
inlineinherited |
Sets theta-component in spherical coordinate system.
Definition at line 245 of file BasicVector3D.h.
|
inlineinherited |
Sets x-component in cartesian coordinate system.
Definition at line 157 of file BasicVector3D.h.
|
inlineinherited |
Sets y-component in cartesian coordinate system.
Definition at line 160 of file BasicVector3D.h.
|
inlineinherited |
Sets z-component in cartesian coordinate system.
Definition at line 163 of file BasicVector3D.h.
|
inlineinherited |
Normal3D< float > & HepGeom::Normal3D< float >::transform | ( | const Transform3D & | m | ) |
Transformation by Transform3D.
Definition at line 10 of file Normal3D.cc.
References m, HepGeom::BasicVector3D< T >::set(), HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().
|
inlineinherited |
Returns unit vector parallel to this.
Definition at line 310 of file BasicVector3D.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
related |
|
related |
|
related |
Scalar product of two vectors.
Definition at line 525 of file BasicVector3D.h.
|
related |
Multiplication vector by scalar.
Definition at line 516 of file BasicVector3D.h.
|
related |
Scalar product of two vectors.
Definition at line 417 of file BasicVector3D.h.
|
related |
Multiplication vector by scalar.
Definition at line 408 of file BasicVector3D.h.
|
related |
Multiplication scalar by vector.
Definition at line 534 of file BasicVector3D.h.
|
related |
Multiplication scalar by vector.
Definition at line 426 of file BasicVector3D.h.
|
related |
|
related |
|
related |
|
related |
|
related |
|
related |
Unary minus.
Definition at line 498 of file BasicVector3D.h.
|
related |
|
related |
Unary minus.
Definition at line 390 of file BasicVector3D.h.
|
related |
Division vector by scalar.
Definition at line 543 of file BasicVector3D.h.
|
related |
Division vector by scalar.
Definition at line 435 of file BasicVector3D.h.
|
related |
Output to stream.
Definition at line 467 of file BasicVector3D.cc.
|
related |
Output to stream.
Definition at line 359 of file BasicVector3D.cc.
|
related |
|
related |
|
related |
Input from stream.
Definition at line 475 of file BasicVector3D.cc.
|
related |
Input from stream.
Definition at line 367 of file BasicVector3D.cc.
|
protectedinherited |
Definition at line 29 of file BasicVector3D.h.