source: trunk/CLHEP/src/RotationInterfaces.cc@ 22

Last change on this file since 22 was 4, checked in by Pavel Demin, 16 years ago

first commit

File size: 1.0 KB
RevLine 
[4]1// -*- C++ -*-
2// $Id: RotationInterfaces.cc,v 1.1 2008-06-04 14:15:09 demin Exp $
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/defs.h"
16#include "CLHEP/Vector/RotationInterfaces.h"
17
18namespace CLHEP {
19
20//-******************************
21//
22// Hep4RotationInterface
23//
24//-******************************
25
26double Hep4RotationInterface::getTolerance() {return tolerance;}
27double Hep4RotationInterface::setTolerance( double tol ) {
28 double t = tolerance; tolerance = tol; return t;
29}
30
31double Hep4RotationInterface::tolerance =
32 Hep4RotationInterface::ToleranceTicks * 1.0e-08;
33
34
35//-******************************
36//
37// Hep3RotationInterface
38//
39//-******************************
40
41} // namespace CLHEP
Note: See TracBrowser for help on using the repository browser.