EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <estarlight/blob/master/include/vector3.h>
Public Member Functions | |
vector3 () | |
vector3 (const vector3 &)=default | |
vector3 (double *vec) | |
vector3 (double x, double y, double z) | |
virtual | ~vector3 () |
const double * | GetVector () const |
void | SetVector (double x, double y, double z) |
void | SetVector (double *vec) |
vector3 & | operator= (const vector3 &vec) |
vector3 & | operator+= (const vector3 &vec) |
vector3 & | operator-= (const vector3 &vec) |
double | X () const |
double | Y () const |
double | Z () const |
double | Mag2 () const |
double | Mag () const |
Private Attributes | |
double | _vec [3] |
Friends | |
std::ostream & | operator<< (std::ostream &out, const vector3 &vec) |
Definition at line 42 of file vector3.h.
View newest version in sPHENIX GitHub at line 42 of file vector3.h
vector3::vector3 | ( | ) |
Definition at line 37 of file vector3.cpp.
View newest version in sPHENIX GitHub at line 37 of file vector3.cpp
References _vec.
|
default |
vector3::vector3 | ( | double * | vec | ) |
vector3::vector3 | ( | double | x, |
double | y, | ||
double | z | ||
) |
Definition at line 45 of file vector3.cpp.
View newest version in sPHENIX GitHub at line 45 of file vector3.cpp
|
virtual |
Definition at line 53 of file vector3.cpp.
View newest version in sPHENIX GitHub at line 53 of file vector3.cpp
|
inline |
Definition at line 51 of file vector3.h.
View newest version in sPHENIX GitHub at line 51 of file vector3.h
References _vec.
Referenced by lorentzVector::GetPx(), lorentzVector::GetPy(), and lorentzVector::GetPz().
|
inline |
|
inline |
Definition at line 81 of file vector3.h.
View newest version in sPHENIX GitHub at line 81 of file vector3.h
References _vec.
Referenced by lorentzVector::Boost(), lorentzVector::M2(), and Mag().
void vector3::SetVector | ( | double | x, |
double | y, | ||
double | z | ||
) |
Definition at line 57 of file vector3.cpp.
View newest version in sPHENIX GitHub at line 57 of file vector3.cpp
Referenced by lorentzVector::reflect(), and lorentzVector::SetXYZT().
void vector3::SetVector | ( | double * | vec | ) |
Definition at line 65 of file vector3.cpp.
View newest version in sPHENIX GitHub at line 65 of file vector3.cpp
References _vec.
|
inline |
Definition at line 77 of file vector3.h.
View newest version in sPHENIX GitHub at line 77 of file vector3.h
References _vec.
Referenced by lorentzVector::Boost(), lorentzVector::BoostVector(), and lorentzVector::reflect().
|
inline |
Definition at line 78 of file vector3.h.
View newest version in sPHENIX GitHub at line 78 of file vector3.h
References _vec.
Referenced by lorentzVector::Boost(), lorentzVector::BoostVector(), and lorentzVector::reflect().
|
inline |
Definition at line 79 of file vector3.h.
View newest version in sPHENIX GitHub at line 79 of file vector3.h
References _vec.
Referenced by lorentzVector::Boost(), lorentzVector::BoostVector(), and lorentzVector::reflect().
|
friend |
|
private |
Definition at line 93 of file vector3.h.
View newest version in sPHENIX GitHub at line 93 of file vector3.h
Referenced by GetVector(), Mag2(), operator+=(), operator-=(), operator=(), SetVector(), vector3(), X(), Y(), and Z().