Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:55:00

0001 #ifndef DETECTOR_DESCRIPTION_DDCMS_DDUTILS_H
0002 #define DETECTOR_DESCRIPTION_DDCMS_DDUTILS_H
0003 #include "DD4hep/DD4hepUnits.h"
0004 
0005 namespace cms {
0006   template <class NumType>
0007   inline constexpr NumType convert2mm(NumType length) {
0008     return (length / dd4hep::mm);
0009   }
0010 }  // namespace cms
0011 #endif