![]() |
ATLAS Offline Software
|
#include <ITkStripCablingData.h>
Public Types | |
enum | { NUMBER_OF_HASHES =49536 } |
Public Member Functions | |
bool | empty () const |
std::size_t | size () const |
ITkStripOnlineId | onlineId (const Identifier &id) const |
void | getRods (std::vector< std::uint32_t > &usersVector) const |
Get a vector of all RODs. More... | |
ITkStripOnlineId | getOnlineIdFromHash (const IdentifierHash &hash) const |
Get ITkStripOnlineId from IdentifierHash. More... | |
Private Attributes | |
std::unordered_map< Identifier, ITkStripOnlineId > | m_offline2OnlineMap |
std::set< std::uint32_t > | m_rodIdSet |
Set of robIds. More... | |
std::array< ITkStripOnlineId, NUMBER_OF_HASHES > | m_hash2OnlineIdArray |
Array for hash to onlineId; hash goes from 0-49536. More... | |
Static Private Attributes | |
static const IdentifierHash | s_invalidHash {} |
Invalid IdentifierHash. More... | |
static const ITkStripOnlineId | s_invalidId {} |
Invalid SCT_OnlineId More... | |
Friends | |
std::istream & | operator>> (std::istream &is, ITkStripCablingData &cabling) |
stream extraction to read value from stream into ITkStripCablingData More... | |
std::ostream & | operator<< (std::ostream &os, const ITkStripCablingData &cabling) |
stream insertion for debugging More... | |
Definition at line 24 of file ITkStripCablingData.h.
anonymous enum |
bool ITkStripCablingData::empty | ( | ) | const |
Definition at line 19 of file ITkStripCablingData.cxx.
ITkStripOnlineId ITkStripCablingData::getOnlineIdFromHash | ( | const IdentifierHash & | hash | ) | const |
Get ITkStripOnlineId from IdentifierHash.
Definition at line 78 of file ITkStripCablingData.cxx.
void ITkStripCablingData::getRods | ( | std::vector< std::uint32_t > & | usersVector | ) | const |
Get a vector of all RODs.
Definition at line 82 of file ITkStripCablingData.cxx.
ITkStripOnlineId ITkStripCablingData::onlineId | ( | const Identifier & | id | ) | const |
Definition at line 29 of file ITkStripCablingData.cxx.
std::size_t ITkStripCablingData::size | ( | ) | const |
Definition at line 24 of file ITkStripCablingData.cxx.
|
friend |
|
friend |
stream extraction to read value from stream into ITkStripCablingData
Definition at line 38 of file ITkStripCablingData.cxx.
|
private |
Array for hash to onlineId; hash goes from 0-49536.
Definition at line 45 of file ITkStripCablingData.h.
|
private |
Definition at line 43 of file ITkStripCablingData.h.
|
private |
Set of robIds.
Definition at line 44 of file ITkStripCablingData.h.
|
staticprivate |
Invalid IdentifierHash.
Definition at line 47 of file ITkStripCablingData.h.
|
staticprivate |
Invalid SCT_OnlineId
Definition at line 48 of file ITkStripCablingData.h.