Import Geant4 6.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 10:49:58 +02:00
parent 96686e0c8f
commit 1d812b78b1
4545 changed files with 24433 additions and 175005 deletions
@@ -272,15 +272,20 @@ CCalRotationMatrixFactory::CCalRotationMatrixFactory():theMatrices(){
G4cout << " " << theMatrices.size() << " rotation matrices read in." << G4endl;
}
std::ostream& operator<<(std::ostream& os , const G4RotationMatrix & rot){
// os << "( " << rot.xx() << tab << rot.xy() << tab << rot.xz() << " )" << G4endl;
// os << "( " << rot.yx() << tab << rot.yy() << tab << rot.yz() << " )" << G4endl;
// os << "( " << rot.zx() << tab << rot.zy() << tab << rot.zz() << " )" << G4endl;
os << "["
<< rot.thetaX()/deg << tab << rot.phiX()/deg << tab
<< rot.thetaY()/deg << tab << rot.phiY()/deg << tab
<< rot.thetaZ()/deg << tab << rot.phiZ()/deg << "]"
<< G4endl;
return os;
}
// 29-Jan-2004 A.R. : commented to avoid clashes with CLHEP.
// Streaming operators for rotation matrices are
// already defined in CLHEP::HepRotation.
// std::ostream& operator<<(std::ostream& os , const G4RotationMatrix & rot){
// // os << "( " << rot.xx() << tab << rot.xy() << tab << rot.xz() << " )" << G4endl;
// // os << "( " << rot.yx() << tab << rot.yy() << tab << rot.yz() << " )" << G4endl;
// // os << "( " << rot.zx() << tab << rot.zy() << tab << rot.zz() << " )" << G4endl;
//
// os << "["
// << rot.thetaX()/deg << tab << rot.phiX()/deg << tab
// << rot.thetaY()/deg << tab << rot.phiY()/deg << tab
// << rot.thetaZ()/deg << tab << rot.phiZ()/deg << "]"
// << G4endl;
//
// return os;
// }