forked from cms-sw/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sunanda
committed
Feb 10, 2021
1 parent
0f453b8
commit 06e53a7
Showing
19 changed files
with
563 additions
and
574 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#ifndef DETECTOR_DESCRIPTION_DDCMS_DDUTILS_H | ||
#define DETECTOR_DESCRIPTION_DDCMS_DDUTILS_H | ||
#include "DD4hep/DD4hepUnits.h" | ||
|
||
namespace cms { | ||
template <class NumType> | ||
inline constexpr NumType convert2mm(NumType length) { | ||
return (length / dd4hep::mm); | ||
} | ||
} // namespace cms | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.