57 std::map<int,int>::const_iterator iter =
geomMap.begin();
58 std::map<int,int>::const_iterator iend =
geomMap.end();
59 while ( iter != iend ) {
60 const std::pair<int,int>&
entry = *iter++;
61 int cha = entry.first;
62 int pnt = entry.second;
66 decode( cha, whe, sec, sta );
77 int pnc =
getPN( whe, sec, sta );
78 int ctc =
getCT( whe, sec, sta );
79 if ( ( pnc != p_n ) ||
80 ( ctc != c_t ) )
std::cout <<
"****************** "
81 << pnc <<
" " << ctc << std::endl;
382 return ( ( ( ( whe + 3 ) * 100 ) + sec ) * 10 ) + sta;
387 return ( p * 1000 ) +
t;
392 whe = ( code / 1000 ) - 3;
393 sec = ( code / 10 ) % 100;
407 std::map<int,int>::const_iterator iter =
geomMap.find(
idCode( whe, sec, sta ) );
408 std::map<int,int>::const_iterator iend =
geomMap.end();
409 if ( iter == iend )
return 999999;
static int getPN(int whe, int sec, int sta)
static void decode(int code, int &whe, int &sec, int &sta)
static int pnCode(int p, int t)
std::pair< std::string, MonitorElement * > entry
static int getCT(int whe, int sec, int sta)
static void dump()
dump map
static int idCode(int whe, int sec, int sta)
static int getData(int whe, int sec, int sta)
int station() const
Return the station number.
int wheel() const
Return the wheel number.
static std::map< int, int > geomMap