|
ATLAS Offline Software
|
int m_lookup[m_table_size]
int max() const
return maximum number of IDs
std::vector< Identifier > ID
int operator()(const ID &id) const
Convert ID to int.
static const int m_table_size
lookup table
Hash table for Tile fragments (==drawers ==collections in StoreGate)
std::vector< ID > m_int2id
int hash(const ID &id) const
Convert ID to int (same as the converter, but easier to call from python)
Helper class for TileCal online (hardware) identifiers.
static std::string typeToString(TYPE type)
Printable representation of a type.
int m_size
total number of IDs
void initialize(const TileHWID *tileHWID, TYPE type=Default)
int offset() const
return offset
TYPE type() const
return hash type
ID identifier(int i) const
reverse conversion