11 #pragma implementation
32 if ( ccol4.
getT() < 0 ) {
33 std::cerr <<
"HepLorentzRotation::set() - "
34 <<
"column 4 supplied to define transformation has negative T component"
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 ) {
186 set (rrow1, rrow2, rrow3, rrow4);
189 q1 = mxy; q2 = mxz; q3 = mxt;
190 mxy = myx; mxz = mzx; mxt = mtx;
191 myx = q1; mzx = q2; mtx = q3;
192 q1 = myz; q2 = myt; q3 = mzt;
193 myz = mzy; myt = mty; mzt = mtz;
194 mzy = q1; mty = q2; mtz = q3;
203 set ( ccol1, ccol2, ccol3, ccol4 );
double dot(const HepLorentzVector &) const
HepLorentzRotation & setRows(const HepLorentzVector &row1, const HepLorentzVector &row2, const HepLorentzVector &row3, const HepLorentzVector &row4)
HepLorentzRotation & set(double bx, double by, double bz)
static ZMpvMetric_t setMetric(ZMpvMetric_t met)
static const HepLorentzVector X_HAT4
static const HepLorentzVector Y_HAT4
static const HepLorentzVector T_HAT4
static const HepLorentzVector Z_HAT4