|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef PIXELCABLINGCONDDATA_H
6 #define PIXELCABLINGCONDDATA_H
12 #include "Identifier/Identifier.h"
18 #include <unordered_map>
22 return std::hash<Identifier::value_type>{}(
id.get_compact());
58 const std::unordered_map<uint64_t, Identifier>&
get_idMap_onoff()
const;
59 const std::unordered_map<Identifier, uint64_t, idHasher>&
get_idMap_offon()
const;
60 const std::unordered_map<Identifier, uint32_t, idHasher>&
get_idMap_offrob()
const;
63 const std::unordered_map<std::string, Identifier>&
get_idMapDCSoff()
const;
84 #include "AthenaKernel/CondCont.h"
const std::unordered_map< int, int > & get_idMap_robrod() const
int find_entry_robrod(const int robid) const
Identifier find_entry_onoff(const uint64_t) const
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
void add_entry_offrob(const Identifier, const uint32_t)
void add_entry_onoff(const uint64_t, const Identifier)
void add_entry_DCSoffline(const std::string &, const Identifier)
#define CONDCONT_DEF(...)
std::string find_entry_offlineDCS(const Identifier offlineId) const
uint32_t find_entry_offrob(Identifier offlineId) const
uint64_t getOnlineIdFromRobId(uint32_t robid, uint32_t link) const
std::unordered_map< Identifier, uint32_t, idHasher > m_idMap_offrob
offline identifier -> ROBId map
std::unordered_map< Identifier, uint64_t, idHasher > m_idMap_offon
online identifier -> offline identifier map
void add_entry_robrod(int robid, int rodid)
Identifier find_entry_DCSoffline(const std::string &DCSname) const
std::unordered_map< int, int > m_idMap_rodrob
RODId -> ROBId map.
PixelCablingCondData & operator=(const PixelCablingCondData &other)=delete
std::unordered_map< uint64_t, Identifier > m_idMap_onoff
offline identifier -> online identifier map
uint64_t find_entry_offon(const Identifier) const
std::size_t operator()(const Identifier &id) const
const std::vector< uint32_t > & get_allRods() const
const std::unordered_map< uint64_t, Identifier > & get_idMap_onoff() const
const std::unordered_map< std::string, Identifier > & get_idMapDCSoff() const
const std::unordered_map< Identifier, uint32_t, idHasher > & get_idMap_offrob() const
std::map< uint32_t, bool > m_rodReadoutMap
Readout speed for each ROD. false=40MBit, true=80MBit.
int find_entry_rodrob(const int rodid) const
const std::vector< uint32_t > & get_allRobs() const
void add_entry_rodrob(int rodid, int robid)
std::unordered_map< int, int > m_idMap_robrod
ROBId -> RODId map (reverse of m_idMap_rodrob)
void set_readout_map(std::map< uint32_t, bool > rodReadoutMap)
std::unordered_map< std::string, Identifier > m_idMapDCSoff
DCS name -> offline identifier.
std::map< uint32_t, std::deque< Identifier > > m_offlineListVect
ROBId -> offline identifier list.
const std::unordered_map< int, int > & get_idMap_rodrob() const
unsigned int get_size_onoff()
std::vector< uint32_t > m_allRods
CLASS_DEF(PixelCablingCondData, 107566278, 1) CONDCONT_DEF(PixelCablingCondData
std::deque< Identifier > find_entry_offlineList(uint32_t robid) const
virtual ~PixelCablingCondData()
void add_entry_offon(const Identifier, const uint64_t)
std::vector< uint32_t > m_allRobs
macros to associate a CLID to a type
const std::unordered_map< Identifier, uint64_t, idHasher > & get_idMap_offon() const
PixelCablingCondData(const PixelCablingCondData &other)=delete
void add_entry_offlineList(const uint32_t, const Identifier)