|
| HepLorentzRotation () |
|
| HepLorentzRotation (const HepLorentzRotation &r) |
|
| HepLorentzRotation (const HepRotation &r) |
|
| HepLorentzRotation (const HepRotationX &r) |
|
| HepLorentzRotation (const HepRotationY &r) |
|
| HepLorentzRotation (const HepRotationZ &r) |
|
| HepLorentzRotation (const HepBoost &b) |
|
| HepLorentzRotation (const HepBoostX &b) |
|
| HepLorentzRotation (const HepBoostY &b) |
|
| HepLorentzRotation (const HepBoostZ &b) |
|
HepLorentzRotation & | operator= (const HepLorentzRotation &m) |
|
HepLorentzRotation & | operator= (const HepRotation &m) |
|
HepLorentzRotation & | operator= (const HepBoost &m) |
|
HepLorentzRotation & | set (double bx, double by, double bz) |
|
HepLorentzRotation & | set (const Hep3Vector &p) |
|
HepLorentzRotation & | set (const HepRotation &r) |
|
HepLorentzRotation & | set (const HepRotationX &r) |
|
HepLorentzRotation & | set (const HepRotationY &r) |
|
HepLorentzRotation & | set (const HepRotationZ &r) |
|
HepLorentzRotation & | set (const HepBoost &boost) |
|
HepLorentzRotation & | set (const HepBoostX &boost) |
|
HepLorentzRotation & | set (const HepBoostY &boost) |
|
HepLorentzRotation & | set (const HepBoostZ &boost) |
|
| HepLorentzRotation (double bx, double by, double bz) |
|
| HepLorentzRotation (const Hep3Vector &p) |
|
HepLorentzRotation & | set (const HepBoost &B, const HepRotation &R) |
|
| HepLorentzRotation (const HepBoost &B, const HepRotation &R) |
|
HepLorentzRotation & | set (const HepRotation &R, const HepBoost &B) |
|
| HepLorentzRotation (const HepRotation &R, const HepBoost &B) |
|
| HepLorentzRotation (const HepLorentzVector &col1, const HepLorentzVector &col2, const HepLorentzVector &col3, const HepLorentzVector &col4) |
|
HepLorentzRotation & | set (const HepLorentzVector &col1, const HepLorentzVector &col2, const HepLorentzVector &col3, const HepLorentzVector &col4) |
|
HepLorentzRotation & | setRows (const HepLorentzVector &row1, const HepLorentzVector &row2, const HepLorentzVector &row3, const HepLorentzVector &row4) |
|
HepLorentzRotation & | set (const HepRep4x4 &rep) |
|
| HepLorentzRotation (const HepRep4x4 &rep) |
|
double | xx () const |
|
double | xy () const |
|
double | xz () const |
|
double | xt () const |
|
double | yx () const |
|
double | yy () const |
|
double | yz () const |
|
double | yt () const |
|
double | zx () const |
|
double | zy () const |
|
double | zz () const |
|
double | zt () const |
|
double | tx () const |
|
double | ty () const |
|
double | tz () const |
|
double | tt () const |
|
HepLorentzVector | col1 () const |
|
HepLorentzVector | col2 () const |
|
HepLorentzVector | col3 () const |
|
HepLorentzVector | col4 () const |
|
HepLorentzVector | row1 () const |
|
HepLorentzVector | row2 () const |
|
HepLorentzVector | row3 () const |
|
HepLorentzVector | row4 () const |
|
HepRep4x4 | rep4x4 () const |
|
const HepLorentzRotation_row | operator[] (int) const |
|
double | operator() (int, int) const |
|
void | decompose (Hep3Vector &boost, HepAxisAngle &rotation) const |
|
void | decompose (HepBoost &boost, HepRotation &rotation) const |
|
void | decompose (HepAxisAngle &rotation, Hep3Vector &boost) const |
|
void | decompose (HepRotation &rotation, HepBoost &boost) const |
|
int | compare (const HepLorentzRotation &m) const |
|
bool | operator== (const HepLorentzRotation &) const |
|
bool | operator!= (const HepLorentzRotation &) const |
|
bool | operator<= (const HepLorentzRotation &) const |
|
bool | operator>= (const HepLorentzRotation &) const |
|
bool | operator< (const HepLorentzRotation &) const |
|
bool | operator> (const HepLorentzRotation &) const |
|
bool | isIdentity () const |
|
double | distance2 (const HepBoost &b) const |
|
double | distance2 (const HepRotation &r) const |
|
double | distance2 (const HepLorentzRotation <) const |
|
double | howNear (const HepBoost &b) const |
|
double | howNear (const HepRotation &r) const |
|
double | howNear (const HepLorentzRotation <) const |
|
bool | isNear (const HepBoost &b, double epsilon=Hep4RotationInterface::tolerance) const |
|
bool | isNear (const HepRotation &r, double epsilon=Hep4RotationInterface::tolerance) const |
|
bool | isNear (const HepLorentzRotation <, double epsilon=Hep4RotationInterface::tolerance) const |
|
double | norm2 () const |
|
void | rectify () |
|
HepLorentzVector | vectorMultiplication (const HepLorentzVector &) const |
|
HepLorentzVector | operator() (const HepLorentzVector &w) const |
|
HepLorentzVector | operator* (const HepLorentzVector &p) const |
|
HepLorentzRotation | matrixMultiplication (const HepRep4x4 &m) const |
|
HepLorentzRotation | operator* (const HepBoost &b) const |
|
HepLorentzRotation | operator* (const HepRotation &r) const |
|
HepLorentzRotation | operator* (const HepLorentzRotation <) const |
|
HepLorentzRotation & | operator*= (const HepBoost &b) |
|
HepLorentzRotation & | operator*= (const HepRotation &r) |
|
HepLorentzRotation & | operator*= (const HepLorentzRotation <) |
|
HepLorentzRotation & | transform (const HepBoost &b) |
|
HepLorentzRotation & | transform (const HepRotation &r) |
|
HepLorentzRotation & | transform (const HepLorentzRotation <) |
|
HepLorentzRotation & | rotateX (double delta) |
|
HepLorentzRotation & | rotateY (double delta) |
|
HepLorentzRotation & | rotateZ (double delta) |
|
HepLorentzRotation & | rotate (double delta, const Hep3Vector &axis) |
|
HepLorentzRotation & | rotate (double delta, const Hep3Vector *axis) |
|
HepLorentzRotation & | boostX (double beta) |
|
HepLorentzRotation & | boostY (double beta) |
|
HepLorentzRotation & | boostZ (double beta) |
|
HepLorentzRotation & | boost (double, double, double) |
|
HepLorentzRotation & | boost (const Hep3Vector &) |
|
HepLorentzRotation | inverse () const |
|
HepLorentzRotation & | invert () |
|
std::ostream & | print (std::ostream &os) const |
|
- Author
Definition at line 53 of file LorentzRotation.h.
Definition at line 127 of file LorentzRotation.cc.
References HepLorentzRotation(), mtt, mtx, mty, mtz, mxt, mxx, mxy, mxz, myt, myx, myy, myz, mzt, mzx, mzy, mzz, CLHEP::HepRep4x4::tt_, CLHEP::HepRep4x4::tx_, CLHEP::HepRep4x4::ty_, CLHEP::HepRep4x4::tz_, CLHEP::HepRep4x4::xt_, CLHEP::HepRep4x4::xx_, CLHEP::HepRep4x4::xy_, CLHEP::HepRep4x4::xz_, CLHEP::HepRep4x4::yt_, CLHEP::HepRep4x4::yx_, CLHEP::HepRep4x4::yy_, CLHEP::HepRep4x4::yz_, CLHEP::HepRep4x4::zt_, CLHEP::HepRep4x4::zx_, CLHEP::HepRep4x4::zy_, and CLHEP::HepRep4x4::zz_.
double CLHEP::HepLorentzRotation::operator() |
( |
int |
i, |
|
|
int |
j |
|
) |
| const |
Definition at line 67 of file LorentzRotation.cc.
References tt(), tx(), ty(), tz(), xt(), xx(), xy(), xz(), yt(), yx(), yy(), yz(), zt(), zx(), zy(), and zz().
69 if (j == 0) {
return xx(); }
70 if (j == 1) {
return xy(); }
71 if (j == 2) {
return xz(); }
72 if (j == 3) {
return xt(); }
74 if (j == 0) {
return yx(); }
75 if (j == 1) {
return yy(); }
76 if (j == 2) {
return yz(); }
77 if (j == 3) {
return yt(); }
79 if (j == 0) {
return zx(); }
80 if (j == 1) {
return zy(); }
81 if (j == 2) {
return zz(); }
82 if (j == 3) {
return zt(); }
84 if (j == 0) {
return tx(); }
85 if (j == 1) {
return ty(); }
86 if (j == 2) {
return tz(); }
87 if (j == 3) {
return tt(); }
89 std::cerr <<
"HepLorentzRotation subscripting: bad indeces "
90 <<
"(" << i <<
"," << j <<
")\n";
std::ostream & CLHEP::HepLorentzRotation::print |
( |
std::ostream & |
os | ) |
const |
Definition at line 240 of file LorentzRotation.cc.
References tt(), tx(), ty(), tz(), xt(), xx(), xy(), xz(), yt(), yx(), yy(), yz(), zt(), zx(), zy(), and zz().
242 std::setw(11) << std::setprecision(6) <<
xx() <<
" " <<
243 std::setw(11) << std::setprecision(6) <<
xy() <<
" " <<
244 std::setw(11) << std::setprecision(6) <<
xz() <<
" " <<
245 std::setw(11) << std::setprecision(6) <<
xt() <<
")\n"
247 std::setw(11) << std::setprecision(6) <<
yx() <<
" " <<
248 std::setw(11) << std::setprecision(6) <<
yy() <<
" " <<
249 std::setw(11) << std::setprecision(6) <<
yz() <<
" " <<
250 std::setw(11) << std::setprecision(6) <<
yt() <<
")\n"
252 std::setw(11) << std::setprecision(6) <<
zx() <<
" " <<
253 std::setw(11) << std::setprecision(6) <<
zy() <<
" " <<
254 std::setw(11) << std::setprecision(6) <<
zz() <<
" " <<
255 std::setw(11) << std::setprecision(6) <<
zt() <<
")\n"
257 std::setw(11) << std::setprecision(6) <<
tx() <<
" " <<
258 std::setw(11) << std::setprecision(6) <<
ty() <<
" " <<
259 std::setw(11) << std::setprecision(6) <<
tz() <<
" " <<
260 std::setw(11) << std::setprecision(6) <<
tt() <<
") ]\n";
Definition at line 23 of file LorentzRotationC.cc.
References test::a, test::b, test::c, CLHEP::HepLorentzVector::dot(), CLHEP::HepLorentzVector::getT(), HepLorentzRotation(), mtt, mtx, mty, mtz, mxt, mxx, mxy, mxz, myt, myx, myy, myz, mzt, mzx, mzy, mzz, CLHEP::HepLorentzVector::setMetric(), CLHEP::HepLorentzVector::t(), CLHEP::TimePositive, CLHEP::HepLorentzVector::x(), CLHEP::HepLorentzVector::y(), and CLHEP::HepLorentzVector::z().
32 if ( ccol4.getT() < 0 ) {
33 std::cerr <<
"HepLorentzRotation::set() - "
34 <<
"column 4 supplied to define transformation has negative T component"
111 HepLorentzVector
a,
b,
c, d;
112 bool isLorentzTransformation =
true;
118 isLorentzTransformation =
false;
126 c = ccol3 - ccol3.dot(d) * d;
129 isLorentzTransformation =
false;
137 b = ccol2 + ccol2.dot(c) * c - ccol2.dot(d) * d;
140 isLorentzTransformation =
false;
148 a = ccol1 + ccol1.dot(b) * b + ccol1.dot(c) * c - ccol1.dot(d) * d;
151 isLorentzTransformation =
false;
159 if ( !isLorentzTransformation ) {
160 std::cerr <<
"HepLorentzRotation::set() - "
161 <<
"cols 1-4 supplied to define transformation form either \n"
162 <<
" a boosted reflection or a tachyonic transformation -- \n"
163 <<
" transformation will be set to Identity " << std::endl;
168 if ( isLorentzTransformation ) {
static ZMpvMetric_t setMetric(ZMpvMetric_t met)