ATLAS Offline Software
Functions
svec2dvec.cxx File Reference
#include "./svec2dvec.h"
#include "./ArgStrToDouble.h"
#include <algorithm>
Include dependency graph for svec2dvec.cxx:

Go to the source code of this file.

Functions

std::vector< double > svec2dvec (const std::vector< std::string > &svec)
 

Function Documentation

◆ svec2dvec()

std::vector<double> svec2dvec ( const std::vector< std::string > &  svec)

Definition at line 9 of file svec2dvec.cxx.

9  {
10 
11  std::vector<double> result;
12  result.resize(svec.size());
13 
14  std::transform(svec.cbegin(), svec.cend(), result.begin(), ArgStrToDouble());
15  return result;
16 }
get_generator_info.result
result
Definition: get_generator_info.py:21
ArgStrToDouble
Definition: ArgStrToDouble.h:13
Amg::transform
Amg::Vector3D transform(Amg::Vector3D &v, Amg::Transform3D &tr)
Transform a point from a Trasformation3D.
Definition: GeoPrimitivesHelpers.h:156