 |
ATLAS Offline Software
|
Go to the documentation of this file.
29 if (!tileHWID)
return;
37 std::vector<HWIdentifier>::const_iterator last = tileHWID->
drawer_end();
44 if (
id >= 0x100)
continue;
56 if (
id < 0x100)
continue;
88 #define CASE(X) case TileFragHash::X: return #X
int m_lookup[m_table_size]
std::vector< HWIdentifier >::const_iterator drawer_end() const
end iterator for drawer Identifiers
static const int m_table_size
lookup table
int frag(const HWIdentifier &id) const
extract frag field from HW identifier
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)
size_type drawer_hash_max() const
drawer hash table max size
TYPE type() const
return hash type
std::vector< HWIdentifier >::const_iterator drawer_begin() const
begin iterator for drawer Identifiers
ID identifier(int i) const
reverse conversion