Geant4 Cross Reference |
1 // -*- C++ -*- 1 // -*- C++ -*- 2 // ------------------------------------------- 2 // --------------------------------------------------------------------------- 3 // 3 // 4 // This file is a part of the CLHEP - a Class 4 // This file is a part of the CLHEP - a Class Library for High Energy Physics. 5 // 5 // 6 // This is the implementation of those few par 6 // This is the implementation of those few parts of the Hep4RotationInterface 7 // and Hep3RotationInterface classes which are 7 // and Hep3RotationInterface classes which are neither inline nor pure virtual. 8 // 8 // 9 9 10 #include "CLHEP/Vector/RotationInterfaces.h" 10 #include "CLHEP/Vector/RotationInterfaces.h" 11 11 12 namespace CLHEP { 12 namespace CLHEP { 13 13 14 //-****************************** 14 //-****************************** 15 // 15 // 16 // Hep4RotationInterface 16 // Hep4RotationInterface 17 // 17 // 18 //-****************************** 18 //-****************************** 19 19 20 double Hep4RotationInterface::tolerance = 20 double Hep4RotationInterface::tolerance = 21 Hep4RotationInterface::ToleranceTicks * 21 Hep4RotationInterface::ToleranceTicks * 1.0e-08; 22 22 23 double Hep4RotationInterface::getTolerance() { 23 double Hep4RotationInterface::getTolerance() {return tolerance;} 24 double Hep4RotationInterface::setTolerance( do 24 double Hep4RotationInterface::setTolerance( double tol ) { 25 double t = tolerance; tolerance = tol; retur 25 double t = tolerance; tolerance = tol; return t; 26 } 26 } 27 27 28 28 29 //-****************************** 29 //-****************************** 30 // 30 // 31 // Hep3RotationInterface 31 // Hep3RotationInterface 32 // 32 // 33 //-****************************** 33 //-****************************** 34 34 35 } // namespace CLHEP 35 } // namespace CLHEP 36 36