Import Geant4 9.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 17:01:34 +02:00
parent b1eb5424d2
commit e2d2f9810a
10384 changed files with 698580 additions and 628834 deletions
+7 -7
View File
@@ -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 {