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