![]() |
ATLAS Offline Software
|
#include <TgcCablingMap.h>
Classes | |
| struct | Config |
Public Types | |
| enum | MAXMINREADOUTIDS { MAXRODID = 12 , MINRODID = 1 , MAXSRODID = 3 , MINSRODID = 1 , MAXSSWID = 9 , MINSSWID = 0 , MAXSBLOC = 31 , MINSBLOC = 0 , MINCHANNELID = 40 , MAXCHANNELID = 199 } |
Public Member Functions | |
| TgcCablingMap (const Config &cfg) | |
| const MuonTGC_Cabling::TGCCabling * | getTGCCabling () const |
| void | getReadoutIDRanges (int &maxRodId, int &maxSRodId, int &maxSswId, int &maxSbloc, int &minChannelId, int &maxChannelId) const |
| bool | getCoveragefromSRodID (const int srodID, int &startEndcapSector, int &coverageOfEndcapSector, int &startForwardSector, int &coverageOfForwardSector) const |
| bool | isOredChannel (const int subDetectorID, const int rodID, const int sswID, const int sbLoc, const int channelID) const |
| To be ported. | |
| bool | hasAdjacentChannel (const Identifier &offlineID) const |
| bool | getOfflineIDfromReadoutID (Identifier &offlineID, const int subDetectorID, const int rodID, const int sswID, const int sbLoc, const int channelID, bool orChannel=false) const |
| To be ported. | |
| bool | getReadoutIDfromOfflineID (const Identifier &offlineID, int &subDetectorID, int &rodID, int &sswID, int &sbLoc, int &channelID, bool adChannel=false) const |
| bool | getOnlineIDfromOfflineID (const Identifier &offlineID, int &subsystemNumber, int &octantNumber, int &moduleNumber, int &layerNumber, int &rNumber, int &wireOrStrip, int &channelNumber) const |
| bool | getOfflineIDfromOnlineID (Identifier &offlineID, const int subsystemNumber, const int octantNumber, const int moduleNumber, const int layerNumber, const int rNumber, const int wireOrStrip, const int channelNumber) const |
| bool | getOnlineIDfromReadoutID (const int subDetectorID, const int rodID, const int sswID, const int sbLoc, const int channelID, int &subsystemNumber, int &octantNumber, int &moduleNumber, int &layerNumber, int &rNumber, int &wireOrStrip, int &channelNumber, bool orChannel=false) const |
| bool | getReadoutIDfromOnlineID (int &subDetectorID, int &rodID, int &sswID, int &sbLoc, int &channelID, const int subsystemNumber, const int octantNumber, const int moduleNumber, const int layerNumber, const int rNumber, const int wireOrStrip, const int channelNumber, bool adChannel=false) const |
| bool | getReadoutIDfromElementID (const Identifier &elementID, int &subdetectorID, int &rodID) const |
| bool | getElementIDfromReadoutID (Identifier &elementID, const int subDetectorID, const int rodID, const int sswID, const int sbLoc, const int channelID, bool orChannel=false) const |
| bool | getReadoutIDfromHPTID (const int phi, const bool isAside, const bool isEndcap, const bool isStrip, const int id, int &subsectorID, int &rodID, int &sswID, int &sbLoc) const |
| bool | getSLBIDfromReadoutID (int &phi, bool &isAside, bool &isEndcap, int &moduleType, int &id, const int subsectorID, const int rodID, const int sswID, const int sbLoc) const |
| bool | getSLBAddressfromReadoutID (int &slbAddr, const int subsectorID, const int rodID, const int sswID, const int sbLoc) const |
| bool | getSLBIDfromRxID (int &phi, bool &isAside, bool &isEndcap, int &moduleType, int &id, const int subsectorID, const int rodID, const int sswID, const int rxId) const |
| bool | getReadoutIDfromSLBID (const int phi, const bool isAside, const bool isEndcap, const int moduleType, const int id, int &subsectorID, int &rodID, int &sswID, int &sbLoc) const |
| bool | getSLIDfromReadoutID (int &phi, bool &isAside, bool &isEndcap, const int subsectorID, const int rodID, const int sswID, const int sbLoc) const |
| bool | getSLIDfromSReadoutID (int &phi, bool &isAside, const int subsectorID, const int srodID, const int sector, const bool forward) const |
| bool | getReadoutIDfromSLID (const int phi, const bool isAside, const bool isEndcap, int &subsectorID, int &rodID, int &sswID, int &sbLoc) const |
| bool | getSReadoutIDfromSLID (const int phi, const bool isAside, const bool isEndcap, int &subsectorID, int &srodID, int &sswID, int &sbLoc) const |
| bool | getRDOHighPtIDfromSimHighPtID (const bool isForward, const bool isStrip, int &index, int &chip, int &hitId) const |
| bool | getSimHighPtIDfromRDOHighPtID (const bool isForward, const bool isStrip, int &index, int &chip, int &hitId) const |
| bool | getOfflineIDfromHighPtID (Identifier &offlineID, const int subDetectorID, const int rodID, const int sectorInReadout, const bool isStrip, const bool isForward, const int hpb, const int chip, const int hitID, const int pos) const |
| bool | getHighPtIDfromOfflineID (const Identifier &offlineID, int &subDetectorID, int &rodID, int §orInReadout, bool &isStrip, bool &isForward, int &hpb, int &chip, int &hitID, int &pos) const |
| bool | getROINumberfromHighPtID (int &roi, bool isForward, int hpb_wire, int chip_wire, int hitId_wire, int sub_wire, int chip_strip, int hitId_strip, int sub_strip) const |
| bool | getHighPtIDfromROINumber (int roi, bool isForward, bool isStrip, int &hpb, int &chip, int &hitID, int &sub) const |
| bool | getOfflineIDfromLowPtCoincidenceID (Identifier &offlineID, const int subDetectorID, const int rodID, const int sswID, const int sbLoc, const int block, const int pos, bool middle=false) const |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level. | |
| MsgStream & | msg () const |
| The standard message stream. | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. | |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. | |
| std::unique_ptr< TGCChannelId > | getASDOutChannel (const TGCChannelId &slb_in) const |
| const TGCModuleId * | getSLBFromReadout (TGCId::SideType side, int rodId, int sswId, int sbLoc) const |
| int | getRxIdFromReadout (TGCId::SideType side, int rodId, int sswId, int sbLoc) const |
| std::unique_ptr< TGCModuleId > | getSLBFromRxId (TGCId::SideType side, int rodId, int sswId, int rxId) const |
| bool | getReadoutFromSLB (const TGCModuleSLB &slb, TGCId::SideType &side, int &rodId, int &sswId, int &sbLoc) const |
| std::unique_ptr< TGCChannelId > | getASDOutFromReadout (TGCId::SideType side, int rodId, int sswId, int sbLoc, int channel, bool orChannel=false) const |
| bool | getReadoutFromASDOut (const TGCChannelASDOut &asdout, TGCId::SideType &side, int &rodId, int &sswId, int &sbLoc, int &channel, bool orChannel=false) const |
| bool | getHighPtIDFromReadout (TGCId::SideType side, int rodId, int sswId, int sbLoc, int channel, TGCId::SignalType &signal, TGCId::RegionType ®ion, int §orInReadout, int &hpbId, int &block, int &hitId, int &pos) const |
| bool | getReadoutFromHighPtID (TGCId::SideType side, int rodId, int &sswId, int &sbLoc, int &channel, TGCId::SignalType signal, TGCId::RegionType region, int sectorInReadout, int hpbId, int block, int hitId, int pos, TGCId::ModuleType moduleType, bool orChannel) const |
| bool | getLowPtCoincidenceFromReadout (TGCId::SideType side, int rodId, int sswId, int sbLoc, int channel, int &block, int &pos, bool middle=false) const |
| bool | getReadoutFromLowPtCoincidence (TGCId::SideType side, int rodId, int sswId, int sbLoc, int &channel, int block, int pos, bool middle=false) const |
| std::unique_ptr< TGCChannelId > | getChannel (const TGCChannelId &channelId, TGCChannelId::ChannelIdType type, bool orChannel=false) const |
| TGCModuleMap | getModule (const TGCModuleId &moduleId, TGCModuleId::ModuleIdType type) const |
Static Public Member Functions | |
| static constexpr int | getMaxRodId () |
Private Member Functions | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. | |
| int | getIndexFromReadoutWithoutChannel (const TGCId::SideType side, const int rodId, const int sswId, const int sbLoc) const |
Private Attributes | |
| const Muon::IMuonIdHelperSvc * | m_idHelperSvc {} |
| int | m_AsideId {103} |
| int | m_CsideId {104} |
| std::string | m_nm |
| Message source name. | |
| boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels) | |
| std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. | |
| std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging) | |
| std::unique_ptr< TGCCableInASD > | m_cableInASD {} |
| std::unique_ptr< TGCCableASDToPP > | m_cableASDToPP {} |
| std::unique_ptr< TGCCableInPP > | m_cableInPP {} |
| std::unique_ptr< TGCCablePPToSLB > | m_cablePPToSLB {} |
| std::unique_ptr< TGCCableInSLB > | m_cableInSLB {} |
| std::unique_ptr< TGCCableSLBToHPB > | m_cableSLBToHPB {} |
| std::unique_ptr< TGCCableHPBToSL > | m_cableHPBToSL {} |
| std::unique_ptr< TGCCableSLBToSSW > | m_cableSLBToSSW {} |
| std::unique_ptr< TGCCableSSWToROD > | m_cableSSWToROD {} |
| std::mutex | m_mutex |
Definition at line 21 of file TgcCablingMap.h.
|
inherited |
| Enumerator | |
|---|---|
| MAXRODID | |
| MINRODID | |
| MAXSRODID | |
| MINSRODID | |
| MAXSSWID | |
| MINSSWID | |
| MAXSBLOC | |
| MINSBLOC | |
| MINCHANNELID | |
| MAXCHANNELID | |
Definition at line 51 of file TGCCabling.h.
| Muon::TgcCablingMap::TgcCablingMap | ( | const Config & | cfg | ) |
Definition at line 17 of file TgcCablingMap.cxx.
|
inherited |
Definition at line 41 of file TGCCabling.cxx.
|
inherited |
Definition at line 422 of file TGCCabling.cxx.
|
inherited |
Definition at line 471 of file TGCCabling.cxx.
| bool Muon::TgcCablingMap::getCoveragefromSRodID | ( | const int | srodID, |
| int & | startEndcapSector, | ||
| int & | coverageOfEndcapSector, | ||
| int & | startForwardSector, | ||
| int & | coverageOfForwardSector ) const |
Definition at line 38 of file TgcCablingMap.cxx.
| bool Muon::TgcCablingMap::getElementIDfromReadoutID | ( | Identifier & | elementID, |
| const int | subDetectorID, | ||
| const int | rodID, | ||
| const int | sswID, | ||
| const int | sbLoc, | ||
| const int | channelID, | ||
| bool | orChannel = false ) const |
Definition at line 685 of file TgcCablingMap.cxx.
| bool Muon::TgcCablingMap::getHighPtIDfromOfflineID | ( | const Identifier & | offlineID, |
| int & | subDetectorID, | ||
| int & | rodID, | ||
| int & | sectorInReadout, | ||
| bool & | isStrip, | ||
| bool & | isForward, | ||
| int & | hpb, | ||
| int & | chip, | ||
| int & | hitID, | ||
| int & | pos ) const |
Definition at line 1678 of file TgcCablingMap.cxx.
|
inherited |
Definition at line 326 of file TGCCabling.cxx.
| bool Muon::TgcCablingMap::getHighPtIDfromROINumber | ( | int | roi, |
| bool | isForward, | ||
| bool | isStrip, | ||
| int & | hpb, | ||
| int & | chip, | ||
| int & | hitID, | ||
| int & | sub ) const |
Definition at line 1080 of file TgcCablingMap.cxx.
|
privateinherited |
|
inherited |
Definition at line 392 of file TGCCabling.cxx.
|
inlinestaticconstexpr |
Definition at line 34 of file TgcCablingMap.h.
|
inherited |
Definition at line 615 of file TGCCabling.cxx.
| bool Muon::TgcCablingMap::getOfflineIDfromHighPtID | ( | Identifier & | offlineID, |
| const int | subDetectorID, | ||
| const int | rodID, | ||
| const int | sectorInReadout, | ||
| const bool | isStrip, | ||
| const bool | isForward, | ||
| const int | hpb, | ||
| const int | chip, | ||
| const int | hitID, | ||
| const int | pos ) const |
Definition at line 1632 of file TgcCablingMap.cxx.
| bool Muon::TgcCablingMap::getOfflineIDfromLowPtCoincidenceID | ( | Identifier & | offlineID, |
| const int | subDetectorID, | ||
| const int | rodID, | ||
| const int | sswID, | ||
| const int | sbLoc, | ||
| const int | block, | ||
| const int | pos, | ||
| bool | middle = false ) const |
Definition at line 1721 of file TgcCablingMap.cxx.
| bool Muon::TgcCablingMap::getOfflineIDfromOnlineID | ( | Identifier & | offlineID, |
| const int | subsystemNumber, | ||
| const int | octantNumber, | ||
| const int | moduleNumber, | ||
| const int | layerNumber, | ||
| const int | rNumber, | ||
| const int | wireOrStrip, | ||
| const int | channelNumber ) const |
Definition at line 383 of file TgcCablingMap.cxx.
| bool Muon::TgcCablingMap::getOfflineIDfromReadoutID | ( | Identifier & | offlineID, |
| const int | subDetectorID, | ||
| const int | rodID, | ||
| const int | sswID, | ||
| const int | sbLoc, | ||
| const int | channelID, | ||
| bool | orChannel = false ) const |
To be ported.
Definition at line 78 of file TgcCablingMap.cxx.
| bool Muon::TgcCablingMap::getOnlineIDfromOfflineID | ( | const Identifier & | offlineID, |
| int & | subsystemNumber, | ||
| int & | octantNumber, | ||
| int & | moduleNumber, | ||
| int & | layerNumber, | ||
| int & | rNumber, | ||
| int & | wireOrStrip, | ||
| int & | channelNumber ) const |
Definition at line 196 of file TgcCablingMap.cxx.
| bool Muon::TgcCablingMap::getOnlineIDfromReadoutID | ( | const int | subDetectorID, |
| const int | rodID, | ||
| const int | sswID, | ||
| const int | sbLoc, | ||
| const int | channelID, | ||
| int & | subsystemNumber, | ||
| int & | octantNumber, | ||
| int & | moduleNumber, | ||
| int & | layerNumber, | ||
| int & | rNumber, | ||
| int & | wireOrStrip, | ||
| int & | channelNumber, | ||
| bool | orChannel = false ) const |
Definition at line 514 of file TgcCablingMap.cxx.
| bool Muon::TgcCablingMap::getRDOHighPtIDfromSimHighPtID | ( | const bool | isForward, |
| const bool | isStrip, | ||
| int & | index, | ||
| int & | chip, | ||
| int & | hitId ) const |
Definition at line 1549 of file TgcCablingMap.cxx.
|
inherited |
Definition at line 441 of file TGCCabling.cxx.
|
inherited |
Definition at line 259 of file TGCCabling.cxx.
|
inherited |
Definition at line 364 of file TGCCabling.cxx.
|
inherited |
Definition at line 183 of file TGCCabling.cxx.
| bool Muon::TgcCablingMap::getReadoutIDfromElementID | ( | const Identifier & | elementID, |
| int & | subdetectorID, | ||
| int & | rodID ) const |
Definition at line 647 of file TgcCablingMap.cxx.
| bool Muon::TgcCablingMap::getReadoutIDfromHPTID | ( | const int | phi, |
| const bool | isAside, | ||
| const bool | isEndcap, | ||
| const bool | isStrip, | ||
| const int | id, | ||
| int & | subsectorID, | ||
| int & | rodID, | ||
| int & | sswID, | ||
| int & | sbLoc ) const |
Definition at line 1069 of file TgcCablingMap.cxx.
| bool Muon::TgcCablingMap::getReadoutIDfromOfflineID | ( | const Identifier & | offlineID, |
| int & | subDetectorID, | ||
| int & | rodID, | ||
| int & | sswID, | ||
| int & | sbLoc, | ||
| int & | channelID, | ||
| bool | adChannel = false ) const |
Definition at line 124 of file TgcCablingMap.cxx.
| bool Muon::TgcCablingMap::getReadoutIDfromOnlineID | ( | int & | subDetectorID, |
| int & | rodID, | ||
| int & | sswID, | ||
| int & | sbLoc, | ||
| int & | channelID, | ||
| const int | subsystemNumber, | ||
| const int | octantNumber, | ||
| const int | moduleNumber, | ||
| const int | layerNumber, | ||
| const int | rNumber, | ||
| const int | wireOrStrip, | ||
| const int | channelNumber, | ||
| bool | adChannel = false ) const |
Definition at line 577 of file TgcCablingMap.cxx.
| bool Muon::TgcCablingMap::getReadoutIDfromSLBID | ( | const int | phi, |
| const bool | isAside, | ||
| const bool | isEndcap, | ||
| const int | moduleType, | ||
| const int | id, | ||
| int & | subsectorID, | ||
| int & | rodID, | ||
| int & | sswID, | ||
| int & | sbLoc ) const |
Definition at line 834 of file TgcCablingMap.cxx.
| bool Muon::TgcCablingMap::getReadoutIDfromSLID | ( | const int | phi, |
| const bool | isAside, | ||
| const bool | isEndcap, | ||
| int & | subsectorID, | ||
| int & | rodID, | ||
| int & | sswID, | ||
| int & | sbLoc ) const |
Definition at line 971 of file TgcCablingMap.cxx.
| void Muon::TgcCablingMap::getReadoutIDRanges | ( | int & | maxRodId, |
| int & | maxSRodId, | ||
| int & | maxSswId, | ||
| int & | maxSbloc, | ||
| int & | minChannelId, | ||
| int & | maxChannelId ) const |
Definition at line 25 of file TgcCablingMap.cxx.
| bool Muon::TgcCablingMap::getROINumberfromHighPtID | ( | int & | roi, |
| bool | isForward, | ||
| int | hpb_wire, | ||
| int | chip_wire, | ||
| int | hitId_wire, | ||
| int | sub_wire, | ||
| int | chip_strip, | ||
| int | hitId_strip, | ||
| int | sub_strip ) const |
Definition at line 1509 of file TgcCablingMap.cxx.
|
inherited |
Definition at line 114 of file TGCCabling.cxx.
| bool Muon::TgcCablingMap::getSimHighPtIDfromRDOHighPtID | ( | const bool | isForward, |
| const bool | isStrip, | ||
| int & | index, | ||
| int & | chip, | ||
| int & | hitId ) const |
Definition at line 1585 of file TgcCablingMap.cxx.
| bool Muon::TgcCablingMap::getSLBAddressfromReadoutID | ( | int & | slbAddr, |
| const int | subsectorID, | ||
| const int | rodID, | ||
| const int | sswID, | ||
| const int | sbLoc ) const |
Definition at line 764 of file TgcCablingMap.cxx.
|
inherited |
Definition at line 50 of file TGCCabling.cxx.
|
inherited |
Definition at line 152 of file TGCCabling.cxx.
| bool Muon::TgcCablingMap::getSLBIDfromReadoutID | ( | int & | phi, |
| bool & | isAside, | ||
| bool & | isEndcap, | ||
| int & | moduleType, | ||
| int & | id, | ||
| const int | subsectorID, | ||
| const int | rodID, | ||
| const int | sswID, | ||
| const int | sbLoc ) const |
Definition at line 724 of file TgcCablingMap.cxx.
| bool Muon::TgcCablingMap::getSLBIDfromRxID | ( | int & | phi, |
| bool & | isAside, | ||
| bool & | isEndcap, | ||
| int & | moduleType, | ||
| int & | id, | ||
| const int | subsectorID, | ||
| const int | rodID, | ||
| const int | sswID, | ||
| const int | rxId ) const |
Definition at line 797 of file TgcCablingMap.cxx.
| bool Muon::TgcCablingMap::getSLIDfromReadoutID | ( | int & | phi, |
| bool & | isAside, | ||
| bool & | isEndcap, | ||
| const int | subsectorID, | ||
| const int | rodID, | ||
| const int | sswID, | ||
| const int | sbLoc ) const |
Definition at line 885 of file TgcCablingMap.cxx.
| bool Muon::TgcCablingMap::getSLIDfromSReadoutID | ( | int & | phi, |
| bool & | isAside, | ||
| const int | subsectorID, | ||
| const int | srodID, | ||
| const int | sector, | ||
| const bool | forward ) const |
Definition at line 932 of file TgcCablingMap.cxx.
| bool Muon::TgcCablingMap::getSReadoutIDfromSLID | ( | const int | phi, |
| const bool | isAside, | ||
| const bool | isEndcap, | ||
| int & | subsectorID, | ||
| int & | srodID, | ||
| int & | sswID, | ||
| int & | sbLoc ) const |
Definition at line 1016 of file TgcCablingMap.cxx.
| const MuonTGC_Cabling::TGCCabling * Muon::TgcCablingMap::getTGCCabling | ( | ) | const |
| bool Muon::TgcCablingMap::hasAdjacentChannel | ( | const Identifier & | offlineID | ) | const |
Definition at line 70 of file TgcCablingMap.cxx.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
| bool Muon::TgcCablingMap::isOredChannel | ( | const int | subDetectorID, |
| const int | rodID, | ||
| const int | sswID, | ||
| const int | sbLoc, | ||
| const int | channelID ) const |
To be ported.
Definition at line 60 of file TgcCablingMap.cxx.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 167 of file AthMessaging.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 182 of file AthMessaging.h.
|
inlineinherited |
Test the output level.
| lvl | The message level to test against |
| true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
|
inherited |
Change the current logging level.
Use this rather than msg().setLevel() for proper operation with MT.
Definition at line 28 of file AthMessaging.cxx.
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
private |
Definition at line 207 of file TgcCablingMap.h.
|
privateinherited |
Definition at line 135 of file TGCCabling.h.
|
privateinherited |
Definition at line 140 of file TGCCabling.h.
|
privateinherited |
Definition at line 134 of file TGCCabling.h.
|
privateinherited |
Definition at line 136 of file TGCCabling.h.
|
privateinherited |
Definition at line 138 of file TGCCabling.h.
|
privateinherited |
Definition at line 137 of file TGCCabling.h.
|
privateinherited |
Definition at line 139 of file TGCCabling.h.
|
privateinherited |
Definition at line 141 of file TGCCabling.h.
|
privateinherited |
Definition at line 142 of file TGCCabling.h.
|
private |
Definition at line 208 of file TgcCablingMap.h.
|
private |
Definition at line 206 of file TgcCablingMap.h.
|
mutableprivateinherited |
|
mutableprivateinherited |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
mutableprivateinherited |
Definition at line 147 of file TGCCabling.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.