|
ATLAS Offline Software
|
Go to the documentation of this file.
17 #ifndef LARRECCONDITIONS_LARROIMAP_H
18 #define LARRECCONDITIONS_LARROIMAP_H
21 #include "Identifier/Identifier.h"
24 #include <unordered_map>
88 std::unordered_map<Identifier, TT_ID>
m_offmap;
91 std::unordered_map<Identifier, TT_ID>
m_onlmap;
94 std::unordered_map<TT_ID, std::vector<COLL_ID> >
m_roimap;
103 #endif // not LARRECCONDITIONS_LARROIMAP_H
TT_ID m_layer_hash_max
Maximum hash ID.
Hold mappings of ranges to condition objects.
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.
std::unordered_map< Identifier, TT_ID > m_offmap
Map from offline ID to trigger tower ID.
CONDCONT_DEF(LArRoIMap, 125932578)
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.
Mapping between calorimeter trigger id to offline/online Identifier.
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
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.