|
||||
File indexing completed on 2024-04-06 12:05:24
0001 #ifndef DETECTOR_DESCRIPTION_BASE_DD_UTILS_H 0002 #define DETECTOR_DESCRIPTION_BASE_DD_UTILS_H 0003 0004 #include <vector> 0005 0006 /// Converts a std::vector of doubles to a std::vector of int 0007 inline std::vector<int> dbl_to_int(const std::vector<double>& vecdbl) { 0008 std::vector<int> tInt(vecdbl.begin(), vecdbl.end()); 0009 return tInt; 0010 } 0011 0012 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |