|
ATLAS Offline Software
|
Go to the documentation of this file.
39 std::cout <<
"Initialization started" << std::endl;
46 std::vector<Identifier>::const_iterator last = caloLVL1_ID->
tower_end();
52 if (
id > maxid) maxid =
id;
58 std::cout <<
" Number of valid tower IDs "<<
m_size << std::endl;
59 std::cout <<
" Highest tower ID "<< maxid << std::endl;
int m_lookup[m_table_size]
int m_size
total number of IDs
ID identifier(int i) const
reverse conversion
id_iterator tower_end() const
end iterator over towers
void initialize(const CaloLVL1_ID *caloLVL1_ID)
Helper class for offline TT identifiers.
std::vector< ID > m_int2id
id_iterator tower_begin() const
begin iterator over towers
IdentifierHash tower_hash(Identifier towerId) const
create hash id from tower id
static const int m_table_size
lookup table
bool is_tile(const Identifier id) const
Test wether given tower or layer is part of the Tile Calorimeter.
int operator()(const ID &id) const
Convert ID to int.