|
ATLAS Offline Software
|
Go to the documentation of this file.
24 : m_layer_hash_max (layer_hash_max)
58 const std::vector<LArRoIMap::COLL_ID>&
70 static const std::vector<COLL_ID>
v ;
98 std::vector<COLL_ID>&
v =
m_roimap[hashid_sam];
TT_ID m_layer_hash_max
Maximum hash ID.
std::string find(const std::string &s)
return a remapped string
void addEntry(const Identifier &id, const HWIdentifier &sigId, const HWIdentifier &robId, TT_ID hashid_sam)
Add a new entry to the map.
std::unordered_map< TT_ID, std::vector< COLL_ID > > m_roimap
Map from trigger tower ID to list of ROBs.
Mapping between calorimeter trigger id to offline/online Identifier.
std::unordered_map< Identifier, TT_ID > m_offmap
Map from offline ID to trigger tower ID.
bool validID(const TT_ID &tt_id) const
Check validity of a trigger tower ID.
LArRoIMap(TT_ID layer_hash_max)
Constructor.
std::unordered_map< Identifier, TT_ID > m_onlmap
Map from online ID to trigger tower ID.
TT_ID trigTowerID(const Identifier &channel_id) const
Translate offline channel identifier to trigger tower ID.
const std::vector< COLL_ID > & collectionID(const TT_ID &id) const
Get list of robIds for a given trigger tower ID.