ATLAS Offline Software
Functions
Trigo.cxx File Reference
#include "L1TopoSimulationUtils/Trigo.h"
#include "L1TopoSimulationUtils/Conversions.h"
#include <cmath>
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 }
TSU::toSigned
int toSigned(unsigned bits, unsigned length)
Definition: Conversions.cxx:32
python.Bindings.values
values
Definition: Control/AthenaPython/python/Bindings.py:797