10 #pragma implementation
23 double b2 = bbeta*bbeta;
25 std::cerr <<
"HepBoostZ::set() - "
26 <<
"Beta supplied to set HepBoostZ represents speed >= c." << std::endl;
28 gamma_ = 1.0 / std::sqrt(1.0 - b2);
32 gamma_ = 1.0 / std::sqrt(1.0 - b2);
88 double dr2 = r.
norm2();
97 double dr2 = r1.
norm2();
102 double db2 =
norm2();
103 if (db2 > epsilon*epsilon)
return false;
104 double dr2 = r.
norm2();
105 return (db2+dr2 <= epsilon*epsilon);
114 if (db2 > epsilon*epsilon)
return false;
115 double dr2 = r1.
norm2();
128 beta_ = 1.0 - 1.0e-8;
131 gamma_ = 1.0 / std::sqrt(1.0 - b2);
157 os <<
"Boost in Z direction (beta = " <<
beta_
158 <<
", gamma = " <<
gamma_ <<
") ";
double distance2(const HepBoostZ &b) const
HepLorentzVector operator*(const HepLorentzVector &w) const
bool isNear(const HepBoostZ &b, double epsilon=Hep4RotationInterface::tolerance) const
double distance2(const HepBoost &b) const
Hep3Vector boostVector() const
std::ostream & print(std::ostream &os) const
void decompose(HepRotation &rotation, HepBoost &boost) const
HepRep4x4Symmetric rep4x4Symmetric() const
void decompose(Hep3Vector &boost, HepAxisAngle &rotation) const
double epsilon(double density, double temperature)
HepBoostZ & set(double beta)