|
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]
static const int m_table_size
lookup table
int frag(const HWIdentifier &id) const
extract frag field from HW identifier
size_type drawer_hash_max(void) const
drawer hash table max size
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.
std::vector< HWIdentifier >::const_iterator drawer_begin(void) const
begin iterator for drawer Identifiers
int m_size
total number of IDs
void initialize(const TileHWID *tileHWID, TYPE type=Default)
TYPE type() const
return hash type
std::vector< HWIdentifier >::const_iterator drawer_end(void) const
end iterator for drawer Identifiers
ID identifier(int i) const
reverse conversion