Go to the documentation of this file. 1 #ifndef CondFormats_Phase2TrackerDTC_TrackerDetToDTCELinkCablingMap_h
2 #define CondFormats_Phase2TrackerDTC_TrackerDetToDTCELinkCablingMap_h
23 #include <unordered_map>
38 std::pair<std::unordered_multimap<uint32_t, DTCELinkId>::const_iterator,
39 std::unordered_multimap<uint32_t, DTCELinkId>::const_iterator>
72 #endif // end CondFormats_Phase2TrackerDTC_TrackerDetToDTCELinkCablingMap_h
std::unordered_multimap< uint32_t, DTCELinkId > cablingMapDetIdToDTCELinkId_
bool knowsDTCELinkId(DTCELinkId const &) const
Returns true if the cabling map has a record corresponding to a detector identified by the given raw ...
std::unordered_map< DTCELinkId, uint32_t > cablingMapDTCELinkIdToDetId_
#define COND_SERIALIZABLE
void insert(DTCELinkId const &, uint32_t const)
Inserts in the cabling map a record corresponding to the connection of an eLink identified by the giv...
std::vector< DTCELinkId > getKnownDTCELinkIds() const
Returns a vector containing all elink DTCELinkId nown to the map.
std::pair< std::unordered_multimap< uint32_t, DTCELinkId >::const_iterator, std::unordered_multimap< uint32_t, DTCELinkId >::const_iterator > detIdToDTCELinkId(uint32_t const) const
Resolves one or more DTCELinkId of eLinks which are connected to the detector identified by the given...
virtual ~TrackerDetToDTCELinkCablingMap()
std::vector< uint32_t > getKnownDetIds() const
Returns a vector containing all detector DetId known to the map.
std::unordered_map< DTCELinkId, uint32_t >::const_iterator dtcELinkIdToDetId(DTCELinkId const &) const
Resolves the raw DetId of the detector connected to the eLink identified by a DTCELinkId.
void clear()
Clears the map.
bool knowsDetId(uint32_t) const
Returns true if the cabling map has a record corresponding to an eLink identified by the given DTCELi...
TrackerDetToDTCELinkCablingMap()