Import Geant4 10.7.1 source tree

This commit is contained in:
Gabriele Cosmo
2021-02-05 15:10:05 +01:00
parent dab42d2018
commit 3dfcdb544e
281 changed files with 37738 additions and 47638 deletions
+2 -2
View File
@@ -1990,7 +1990,7 @@ G4double G4Cons::DistanceToOut( const G4ThreeVector& p,
if( p.x() != 0. || p.y() != 0.)
{
message << "point phi = " << std::atan2(p.y(),p.x())/degree
<< " degree" << G4endl << G4endl ;
<< " degrees" << G4endl << G4endl ;
}
message << "Direction:" << G4endl << G4endl
<< "v.x() = " << v.x() << G4endl
@@ -2034,7 +2034,7 @@ G4double G4Cons::DistanceToOut(const G4ThreeVector& p) const
if( (p.x() != 0.) || (p.x() != 0.) )
{
G4cout << "point phi = " << std::atan2(p.y(),p.x())/degree
<< " degree" << G4endl << G4endl ;
<< " degrees" << G4endl << G4endl ;
}
G4cout.precision(oldprc) ;
G4Exception("G4Cons::DistanceToOut(p)", "GeomSolids1002",
+3 -4
View File
@@ -815,7 +815,6 @@ std::ostream& G4Para::StreamInfo( std::ostream& os ) const
G4double theta = std::atan(std::sqrt(fTthetaCphi*fTthetaCphi +
fTthetaSphi*fTthetaSphi));
G4double phi = std::atan2(fTthetaSphi,fTthetaCphi);
G4String signDegree = "\u00B0";
G4int oldprc = os.precision(16);
os << "-----------------------------------------------------------\n"
@@ -826,9 +825,9 @@ std::ostream& G4Para::StreamInfo( std::ostream& os ) const
<< " half length X: " << fDx/mm << " mm\n"
<< " half length Y: " << fDy/mm << " mm\n"
<< " half length Z: " << fDz/mm << " mm\n"
<< " alpha: " << alpha/degree << signDegree << "\n"
<< " theta: " << theta/degree << signDegree << "\n"
<< " phi: " << phi/degree << signDegree << "\n"
<< " alpha: " << alpha/degree << "degrees\n"
<< " theta: " << theta/degree << "degrees\n"
<< " phi: " << phi/degree << "degrees\n"
<< "-----------------------------------------------------------\n";
os.precision(oldprc);
+4 -5
View File
@@ -1129,7 +1129,6 @@ std::ostream& G4Trap::StreamInfo( std::ostream& os ) const
+fTthetaSphi*fTthetaSphi));
G4double alpha1 = std::atan(fTalpha1);
G4double alpha2 = std::atan(fTalpha2);
G4String signDegree = "\u00B0";
G4int oldprc = os.precision(16);
os << "-----------------------------------------------------------\n"
@@ -1144,10 +1143,10 @@ std::ostream& G4Trap::StreamInfo( std::ostream& os ) const
<< " half length Y, face +Dz: " << fDy2/mm << " mm\n"
<< " half length X, face +Dz, side -Dy2: " << fDx3/mm << " mm\n"
<< " half length X, face +Dz, side +Dy2: " << fDx4/mm << " mm\n"
<< " theta: " << theta/degree << signDegree << "\n"
<< " phi: " << phi/degree << signDegree << "\n"
<< " alpha, face -Dz: " << alpha1/degree << signDegree << "\n"
<< " alpha, face +Dz: " << alpha2/degree << signDegree << "\n"
<< " theta: " << theta/degree << "degrees\n"
<< " phi: " << phi/degree << "degrees\n"
<< " alpha, face -Dz: " << alpha1/degree << "degrees\n"
<< " alpha, face +Dz: " << alpha2/degree << "degrees\n"
<< "-----------------------------------------------------------\n";
os.precision(oldprc);