ATLAS Offline Software
|
#include <MuonTGC_CablingSvc.h>
Public Member Functions | |
MuonTGC_CablingSvc (const std::string &name, ISvcLocator *svc) | |
virtual | ~MuonTGC_CablingSvc ()=default |
DeclareInterfaceID (MuonTGC_CablingSvc, 1, 0) | |
Retrieve interface ID. More... | |
virtual StatusCode | queryInterface (const InterfaceID &riid, void **ppvIF) override |
virtual StatusCode | initialize (void) override |
virtual StatusCode | finalize (void) override |
const MuonTGC_Cabling::TGCCabling * | getTGCCabling () const |
int | getMaxRodId () |
void | getReadoutIDRanges (int &maxRodId, int &maxSRodId, int &maxSswId, int &maxSbloc, int &minChannelId, int &maxChannelId) const |
bool | getCoveragefromRodID (const int rodID, double &startPhi, double &endPhi) const |
bool | getCoveragefromRodID (const int rodID, int &startEndcapSector, int &coverageOfEndcapSector, int &startForwardSector, int &coverageOfForwardSector) const |
bool | getCoveragefromSRodID (const int srodID, double &startPhi, double &endPhi) 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 |
bool | hasAdjacentChannel (const Identifier &offlineID) const |
bool | hasAdjacentChannel (const int subsystemNumber, const int octantNumber, const int moduleNumber, const int layerNumber, const int rNumber, const int wireOrStrip, const int channelNumber) const |
bool | getOfflineIDfromReadoutID (Identifier &offlineID, const int subDetectorID, const int rodID, const int sswID, const int sbLoc, const int channelID, bool orChannel=false) const |
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 | getRxIDfromReadoutID (int &rxId, 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 | getLowPtCoincidenceIDfromOfflineID (const Identifier &offlineID, int &subDetectorID, int &rodID, int &sswID, int &sbLoc, int &block, int &pos, bool middle=false) const |
MuonTGC_Cabling::TGCChannelId * | getChannel (const MuonTGC_Cabling::TGCChannelId *channelId, MuonTGC_Cabling::TGCChannelId::ChannelIdType type, bool orChannel=false) const |
MuonTGC_Cabling::TGCModuleMap * | getModule (const MuonTGC_Cabling::TGCModuleId *moduleId, MuonTGC_Cabling::TGCModuleId::ModuleIdType type) const |
MsgStream & | msg () const |
MsgStream & | msg (const MSG::Level lvl) const |
bool | msgLvl (const MSG::Level lvl) const |
Protected Attributes | |
IntegerProperty | m_AsideId |
IntegerProperty | m_CsideId |
IntegerArrayProperty | m_rodId |
StringProperty | m_databaseASDToPP |
StringProperty | m_databaseInPP |
StringProperty | m_databasePPToSL |
StringProperty | m_databaseSLBToROD |
StringProperty | m_databaseASDToPPdiff |
Private Attributes | |
MuonTGC_Cabling::TGCCabling * | m_cabling |
ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"} |
ToolHandle< ITGCCablingDbTool > | m_condDataTool {this,"TGCCablingDbTool","TGCCablingDbTool"} |
Definition at line 30 of file MuonTGC_CablingSvc.h.
MuonTGC_CablingSvc::MuonTGC_CablingSvc | ( | const std::string & | name, |
ISvcLocator * | svc | ||
) |
Definition at line 23 of file MuonTGC_CablingSvc.cxx.
|
virtualdefault |
MuonTGC_CablingSvc::DeclareInterfaceID | ( | MuonTGC_CablingSvc | , |
1 | , | ||
0 | |||
) |
Retrieve interface ID.
|
overridevirtual |
Definition at line 164 of file MuonTGC_CablingSvc.cxx.
MuonTGC_Cabling::TGCChannelId * MuonTGC_CablingSvc::getChannel | ( | const MuonTGC_Cabling::TGCChannelId * | channelId, |
MuonTGC_Cabling::TGCChannelId::ChannelIdType | type, | ||
bool | orChannel = false |
||
) | const |
Definition at line 1485 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::getCoveragefromRodID | ( | const int | rodID, |
double & | startPhi, | ||
double & | endPhi | ||
) | const |
Definition at line 173 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::getCoveragefromRodID | ( | const int | rodID, |
int & | startEndcapSector, | ||
int & | coverageOfEndcapSector, | ||
int & | startForwardSector, | ||
int & | coverageOfForwardSector | ||
) | const |
Definition at line 187 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::getCoveragefromSRodID | ( | const int | srodID, |
double & | startPhi, | ||
double & | endPhi | ||
) | const |
Definition at line 210 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::getCoveragefromSRodID | ( | const int | srodID, |
int & | startEndcapSector, | ||
int & | coverageOfEndcapSector, | ||
int & | startForwardSector, | ||
int & | coverageOfForwardSector | ||
) | const |
Definition at line 224 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::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 1020 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::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 1795 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::getHighPtIDfromROINumber | ( | int | roi, |
bool | isForward, | ||
bool | isStrip, | ||
int & | hpb, | ||
int & | chip, | ||
int & | hitID, | ||
int & | sub | ||
) | const |
Definition at line 1505 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::getLowPtCoincidenceIDfromOfflineID | ( | const Identifier & | offlineID, |
int & | subDetectorID, | ||
int & | rodID, | ||
int & | sswID, | ||
int & | sbLoc, | ||
int & | block, | ||
int & | pos, | ||
bool | middle = false |
||
) | const |
Definition at line 1885 of file MuonTGC_CablingSvc.cxx.
|
inline |
Definition at line 46 of file MuonTGC_CablingSvc.h.
MuonTGC_Cabling::TGCModuleMap * MuonTGC_CablingSvc::getModule | ( | const MuonTGC_Cabling::TGCModuleId * | moduleId, |
MuonTGC_Cabling::TGCModuleId::ModuleIdType | type | ||
) | const |
Definition at line 1496 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::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 1732 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::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 1849 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::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 672 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::getOfflineIDfromReadoutID | ( | Identifier & | offlineID, |
const int | subDetectorID, | ||
const int | rodID, | ||
const int | sswID, | ||
const int | sbLoc, | ||
const int | channelID, | ||
bool | orChannel = false |
||
) | const |
Definition at line 323 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::getOnlineIDfromOfflineID | ( | const Identifier & | offlineID, |
int & | subsystemNumber, | ||
int & | octantNumber, | ||
int & | moduleNumber, | ||
int & | layerNumber, | ||
int & | rNumber, | ||
int & | wireOrStrip, | ||
int & | channelNumber | ||
) | const |
Definition at line 482 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::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 819 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::getRDOHighPtIDfromSimHighPtID | ( | const bool | isForward, |
const bool | isStrip, | ||
int & | index, | ||
int & | chip, | ||
int & | hitId | ||
) | const |
Definition at line 1673 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::getReadoutIDfromElementID | ( | const Identifier & | elementID, |
int & | subdetectorID, | ||
int & | rodID | ||
) | const |
Definition at line 980 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::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 1463 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::getReadoutIDfromOfflineID | ( | const Identifier & | offlineID, |
int & | subDetectorID, | ||
int & | rodID, | ||
int & | sswID, | ||
int & | sbLoc, | ||
int & | channelID, | ||
bool | adChannel = false |
||
) | const |
Definition at line 393 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::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 900 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::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 1224 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::getReadoutIDfromSLID | ( | const int | phi, |
const bool | isAside, | ||
const bool | isEndcap, | ||
int & | subsectorID, | ||
int & | rodID, | ||
int & | sswID, | ||
int & | sbLoc | ||
) | const |
Definition at line 1375 of file MuonTGC_CablingSvc.cxx.
void MuonTGC_CablingSvc::getReadoutIDRanges | ( | int & | maxRodId, |
int & | maxSRodId, | ||
int & | maxSswId, | ||
int & | maxSbloc, | ||
int & | minChannelId, | ||
int & | maxChannelId | ||
) | const |
Definition at line 49 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::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 1635 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::getRxIDfromReadoutID | ( | int & | rxId, |
const int | subsectorID, | ||
const int | rodID, | ||
const int | sswID, | ||
const int | sbLoc | ||
) | const |
Definition at line 1152 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::getSimHighPtIDfromRDOHighPtID | ( | const bool | isForward, |
const bool | isStrip, | ||
int & | index, | ||
int & | chip, | ||
int & | hitId | ||
) | const |
Definition at line 1701 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::getSLBAddressfromReadoutID | ( | int & | slbAddr, |
const int | subsectorID, | ||
const int | rodID, | ||
const int | sswID, | ||
const int | sbLoc | ||
) | const |
Definition at line 1116 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::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 1069 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::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 1178 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::getSLIDfromReadoutID | ( | int & | phi, |
bool & | isAside, | ||
bool & | isEndcap, | ||
const int | subsectorID, | ||
const int | rodID, | ||
const int | sswID, | ||
const int | sbLoc | ||
) | const |
Definition at line 1285 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::getSLIDfromSReadoutID | ( | int & | phi, |
bool & | isAside, | ||
const int | subsectorID, | ||
const int | srodID, | ||
const int | sector, | ||
const bool | forward | ||
) | const |
Definition at line 1335 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::getSReadoutIDfromSLID | ( | const int | phi, |
const bool | isAside, | ||
const bool | isEndcap, | ||
int & | subsectorID, | ||
int & | srodID, | ||
int & | sswID, | ||
int & | sbLoc | ||
) | const |
Definition at line 1419 of file MuonTGC_CablingSvc.cxx.
|
inline |
Definition at line 389 of file MuonTGC_CablingSvc.h.
bool MuonTGC_CablingSvc::hasAdjacentChannel | ( | const Identifier & | offlineID | ) | const |
Definition at line 267 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::hasAdjacentChannel | ( | 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 286 of file MuonTGC_CablingSvc.cxx.
|
overridevirtual |
Definition at line 65 of file MuonTGC_CablingSvc.cxx.
bool MuonTGC_CablingSvc::isOredChannel | ( | const int | subDetectorID, |
const int | rodID, | ||
const int | sswID, | ||
const int | sbLoc, | ||
const int | channelID | ||
) | const |
Definition at line 248 of file MuonTGC_CablingSvc.cxx.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 27 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
overridevirtual |
Definition at line 36 of file MuonTGC_CablingSvc.cxx.
|
protected |
Definition at line 376 of file MuonTGC_CablingSvc.h.
|
private |
Definition at line 371 of file MuonTGC_CablingSvc.h.
|
private |
Definition at line 373 of file MuonTGC_CablingSvc.h.
|
protected |
Definition at line 377 of file MuonTGC_CablingSvc.h.
|
protected |
Definition at line 380 of file MuonTGC_CablingSvc.h.
|
protected |
Definition at line 385 of file MuonTGC_CablingSvc.h.
|
protected |
Definition at line 381 of file MuonTGC_CablingSvc.h.
|
protected |
Definition at line 382 of file MuonTGC_CablingSvc.h.
|
protected |
Definition at line 383 of file MuonTGC_CablingSvc.h.
|
private |
Definition at line 372 of file MuonTGC_CablingSvc.h.
|
protected |
Definition at line 378 of file MuonTGC_CablingSvc.h.