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