22 double b2 = bbeta*bbeta;
24 std::cerr <<
"HepBoostZ::set() - "
25 <<
"Beta supplied to set HepBoostZ represents speed >= c." << std::endl;
27 gamma_ = 1.0 / std::sqrt(1.0 - b2);
31 gamma_ = 1.0 / std::sqrt(1.0 - b2);
87 double dr2 = r.
norm2();
96 double dr2 = r1.
norm2();
101 double db2 =
norm2();
103 double dr2 = r.
norm2();
114 double dr2 = r1.
norm2();
127 beta_ = 1.0 - 1.0e-8;
130 gamma_ = 1.0 / std::sqrt(1.0 - b2);
156 os <<
"Boost in Z direction (beta = " <<
beta_
157 <<
", gamma = " <<
gamma_ <<
") ";
G4double epsilon(G4double density, G4double temperature)
HepBoostZ & set(double beta)
bool isNear(const HepBoostZ &b, double epsilon=Hep4RotationInterface::tolerance) const
Hep3Vector boostVector() const
std::ostream & print(std::ostream &os) const
HepRep4x4Symmetric rep4x4Symmetric() const
double distance2(const HepBoostZ &b) const
void decompose(HepRotation &rotation, HepBoost &boost) const
HepLorentzVector operator*(const HepLorentzVector &w) const
double distance2(const HepBoost &b) const
void decompose(Hep3Vector &boost, HepAxisAngle &rotation) const