![]() |
ATLAS Offline Software
|
Hash table for TileTTL1 identifiers. More...
#include <TileTTL1Hash.h>
Public Types | |
| typedef int | ID |
Public Member Functions | |
| TileTTL1Hash () | |
| virtual | ~TileTTL1Hash () |
| void | initialize (const CaloLVL1_ID *caloLVL1_ID) |
| int | operator() (const ID &id) const |
| Convert ID to int. | |
| ID | identifier (int i) const |
| reverse conversion | |
| int | max () const |
| return maximum number of IDs | |
Private Attributes | |
| int | m_size |
| total number of IDs | |
| int | m_lookup [m_table_size] |
| std::vector< ID > | m_int2id |
Static Private Attributes | |
| static const int | m_table_size = 7000 |
| lookup table | |
Hash table for TileTTL1 identifiers.
Hash table Identifier builds a table of tower identifiers 1920 in total for ATLAS
Definition at line 38 of file TileTTL1Hash.h.
| typedef int TileTTL1Hash::ID |
Definition at line 42 of file TileTTL1Hash.h.
| TileTTL1Hash::TileTTL1Hash | ( | ) |
Definition at line 31 of file TileTTL1Hash.cxx.
|
inlinevirtual |
Definition at line 44 of file TileTTL1Hash.h.
| TileTTL1Hash::ID TileTTL1Hash::identifier | ( | int | i | ) | const |
reverse conversion
Definition at line 64 of file TileTTL1Hash.cxx.
| void TileTTL1Hash::initialize | ( | const CaloLVL1_ID * | caloLVL1_ID | ) |
iterator over all drawer Identifiers
Definition at line 37 of file TileTTL1Hash.cxx.
|
inline |
| int TileTTL1Hash::operator() | ( | const ID & | id | ) | const |
Convert ID to int.
Definition at line 71 of file TileTTL1Hash.cxx.
|
private |
Definition at line 66 of file TileTTL1Hash.h.
|
private |
Definition at line 64 of file TileTTL1Hash.h.
|
private |
total number of IDs
Definition at line 60 of file TileTTL1Hash.h.
|
staticprivate |
lookup table
Definition at line 63 of file TileTTL1Hash.h.