Import Geant4 9.6.0 source tree
This commit is contained in:
Vendored
+7
-7
@@ -20,8 +20,8 @@ namespace CLHEP {
|
||||
|
||||
// ---------- Constructors and Assignment:
|
||||
|
||||
HepBoostX & HepBoostX::set (double beta) {
|
||||
double b2 = beta*beta;
|
||||
HepBoostX & HepBoostX::set (double bbeta) {
|
||||
double b2 = bbeta*bbeta;
|
||||
if (b2 >= 1) {
|
||||
std::cerr << "HepBoostX::set() - "
|
||||
<< "Beta supplied to set HepBoostX represents speed >= c." << std::endl;
|
||||
@@ -29,7 +29,7 @@ HepBoostX & HepBoostX::set (double beta) {
|
||||
gamma_ = 1.0 / std::sqrt(1.0 - b2);
|
||||
return *this;
|
||||
}
|
||||
beta_ = beta;
|
||||
beta_ = bbeta;
|
||||
gamma_ = 1.0 / std::sqrt(1.0 - b2);
|
||||
return *this;
|
||||
}
|
||||
@@ -57,8 +57,8 @@ HepRep4x4Symmetric HepBoostX::rep4x4Symmetric() const {
|
||||
void HepBoostX::decompose (HepRotation & rotation, HepBoost & boost) const {
|
||||
HepAxisAngle vdelta = HepAxisAngle();
|
||||
rotation = HepRotation(vdelta);
|
||||
Hep3Vector beta = boostVector();
|
||||
boost = HepBoost(beta);
|
||||
Hep3Vector bbeta = boostVector();
|
||||
boost = HepBoost(bbeta);
|
||||
}
|
||||
|
||||
void HepBoostX::decompose (HepAxisAngle & rotation, Hep3Vector & boost) const {
|
||||
@@ -69,8 +69,8 @@ void HepBoostX::decompose (HepAxisAngle & rotation, Hep3Vector & boost) const {
|
||||
void HepBoostX::decompose (HepBoost & boost, HepRotation & rotation) const {
|
||||
HepAxisAngle vdelta = HepAxisAngle();
|
||||
rotation = HepRotation(vdelta);
|
||||
Hep3Vector beta = boostVector();
|
||||
boost = HepBoost(beta);
|
||||
Hep3Vector bbeta = boostVector();
|
||||
boost = HepBoost(bbeta);
|
||||
}
|
||||
|
||||
void HepBoostX::decompose (Hep3Vector & boost, HepAxisAngle & rotation) const {
|
||||
|
||||
Reference in New Issue
Block a user