16 typedef std::map<std::string, double> MAP;
18 template <
unsigned int N>
19 inline MAP::const_iterator find(
const MAP&
m,
const std::string ( &
keys )[
N] ) {
20 for (
unsigned int i = 0; i <
N; ++i ) {
21 auto found =
m.find(
keys[i] );
22 if (
m.end() != found ) {
return found; }
29 template <
typename T1,
typename T2>
65 StatusCode parse( std::vector<Gaudi::XYZPoint>& result, std::string_view input ) {
67 return parse_( result, input );
75 StatusCode parse( std::vector<Gaudi::XYZVector>& result, std::string_view input ) {
77 return parse_( result, input );
86 StatusCode parse( std::vector<Gaudi::LorentzVector>& result, std::string_view input ) {
87 return parse_( result, input );