14 class ChannelPosMap :
public std::map< std::pair<int,int> , gear::Vector2D> {
21 std::ifstream f( file.c_str() , std::ios::in ) ;
25 std::string mess(
" \n cannot open file with channel to position mapping : \n " ) ;
27 throw Exception( mess ) ;
34 std::getline( f , s ) ;
38 std::stringstream ss( s ) ;
43 ss >> rcu >> channel >> x >> y ;
47 this->insert( std::make_pair( std::make_pair( channel, rcu ) , gear::Vector2D( x, y ) ) ) ;
Helper class that creates (is) a simple map of hardware channel to position of the pad center (x...
Definition: ChannelPosMap.h:14