ATLAS Offline Software
Loading...
Searching...
No Matches
Trigo.cxx File Reference
Include dependency graph for Trigo.cxx:

Go to the source code of this file.

Functions

std::vector< int > convertVector (const std::vector< std::string > &stringVector)

Function Documentation

◆ convertVector()

std::vector< int > convertVector ( const std::vector< std::string > & stringVector)

Definition at line 20 of file Trigo.cxx.

20 {
21 std::vector<int> values;
22 for (const std::string& binStr: stringVector) {
23 values.push_back( TSU::toSigned(binStr) );
24 }
25 return values;
26}
int toSigned(unsigned bits, unsigned length)