CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/Geometry/CSCGeometry/interface/nint.h

Go to the documentation of this file.
00001 #ifndef GEOMETRY_CSCGeometry_NINT_H_
00002 #define GEOMETRY_CSCGeometry_NINT_H_
00003 
00004 // From CommonDet/Utilities
00005 
00007 
00008 inline int nint( float a)  { return a>=0 ? int( a+0.5) : int( a-0.5);}
00009 inline int nint( double a) { return a>=0 ? int( a+0.5) : int( a-0.5);}
00010 
00011 #endif