Import Geant4 7.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 11:11:55 +02:00
parent e083ffb441
commit 516dbf1a58
5914 changed files with 202605 additions and 71141 deletions
+3 -3
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Track.cc,v 1.21 2004/06/11 14:28:14 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-02 $
// $Id: G4Track.cc,v 1.22 2004/12/02 06:38:17 kurasige Exp $
// GEANT4 tag $Name: geant4-07-00-cand-03 $
//
//
//---------------------------------------------------------------
@@ -180,7 +180,7 @@ G4double G4Track::GetVelocity() const
}
} else {
G4double T = fpDynamicParticle->GetKineticEnergy();
velocity = c_light*sqrt(T*(T+2.*mass))/(T+mass) ;
velocity = c_light*std::sqrt(T*(T+2.*mass))/(T+mass) ;
}
return velocity ;