1 #ifndef DETECTOR_DESCRIPTION_BASE_DD_UTILS_H 2 #define DETECTOR_DESCRIPTION_BASE_DD_UTILS_H 7 inline std::vector<int>
dbl_to_int(
const std::vector<double> & vecdbl ) {
8 std::vector<int> tInt( vecdbl.begin(), vecdbl.end());
std::vector< int > dbl_to_int(const std::vector< double > &vecdbl)
Converts a std::vector of doubles to a std::vector of int.