|
ATLAS Offline Software
|
Go to the documentation of this file.
10 #ifndef MUONTGC_CABLING_MUONTGC_CABLINGSVC_H
11 #define MUONTGC_CABLING_MUONTGC_CABLINGSVC_H
14 #include "GaudiKernel/IInterface.h"
15 #include "GaudiKernel/ServiceHandle.h"
16 #include "GaudiKernel/ToolHandle.h"
20 #include "GaudiKernel/Service.h"
54 int& maxChannelId)
const;
59 double & endPhi)
const;
62 int & startEndcapSector,
63 int & coverageOfEndcapSector,
64 int & startForwardSector,
65 int & coverageOfForwardSector)
const;
70 double & endPhi)
const;
73 int & startEndcapSector,
74 int & coverageOfEndcapSector,
75 int & startForwardSector,
76 int & coverageOfForwardSector)
const;
83 const int channelID)
const;
92 const int octantNumber,
93 const int moduleNumber,
94 const int layerNumber,
96 const int wireOrStrip,
97 const int channelNumber)
const;
102 const int subDetectorID,
107 bool orChannel=
false)
const;
117 bool adChannel=
false)
const;
121 int & subsystemNumber,
127 int & channelNumber)
const;
131 const int subsystemNumber,
132 const int octantNumber,
133 const int moduleNumber,
134 const int layerNumber,
136 const int wireOrStrip,
137 const int channelNumber)
const;
145 int & subsystemNumber,
152 bool orChannel=
false)
const;
160 const int subsystemNumber,
161 const int octantNumber,
162 const int moduleNumber,
163 const int layerNumber,
165 const int wireOrStrip,
166 const int channelNumber,
167 bool adChannel=
false)
const;
176 const int subDetectorID,
181 bool orChannel=
false)
const;
200 const int subsectorID,
203 const int sbLoc)
const;
207 const int subsectorID,
210 const int sbLoc)
const;
214 const int subsectorID,
217 const int sbLoc)
const;
225 const int subsectorID,
228 const int rxId)
const;
234 const int moduleType,
245 const int subsectorID,
248 const int sbLoc)
const;
253 const int subsectorID,
256 const bool forward)
const;
293 const int subDetectorID,
295 const int sectorInReadout,
297 const bool isForward,
301 const int pos )
const;
307 int & sectorInReadout,
324 int sub_strip)
const;
337 const int subDetectorID,
343 bool middle=
false)
const;
353 bool middle=
false)
const;
361 bool orChannel=
false)
const;
373 ToolHandle<ITGCCablingDbTool>
m_condDataTool{
this,
"TGCCablingDbTool",
"TGCCablingDbTool"};
394 #endif // MUONTGC_CABLING_MUONTGC_CABLINGSVC_H
bool getSLIDfromSReadoutID(int &phi, bool &isAside, const int subsectorID, const int srodID, const int sector, const bool forward) const
MuonTGC_CablingSvc(const std::string &name, ISvcLocator *svc)
bool getOnlineIDfromOfflineID(const Identifier &offlineID, int &subsystemNumber, int &octantNumber, int &moduleNumber, int &layerNumber, int &rNumber, int &wireOrStrip, int &channelNumber) const
bool getReadoutIDfromOfflineID(const Identifier &offlineID, int &subDetectorID, int &rodID, int &sswID, int &sbLoc, int &channelID, bool adChannel=false) const
Scalar phi() const
phi method
IntegerProperty m_AsideId
void getReadoutIDRanges(int &maxRodId, int &maxSRodId, int &maxSswId, int &maxSbloc, int &minChannelId, int &maxChannelId) const
StringProperty m_databaseSLBToROD
MuonTGC_Cabling::TGCCabling * m_cabling
virtual StatusCode finalize(void) override
DeclareInterfaceID(MuonTGC_CablingSvc, 1, 0)
Retrieve interface ID.
virtual StatusCode initialize(void) override
bool getCoveragefromRodID(const int rodID, double &startPhi, double &endPhi) 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 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
const MuonTGC_Cabling::TGCCabling * getTGCCabling() const
MuonTGC_Cabling::TGCModuleMap * getModule(const MuonTGC_Cabling::TGCModuleId *moduleId, MuonTGC_Cabling::TGCModuleId::ModuleIdType type) const
bool getCoveragefromSRodID(const int srodID, double &startPhi, double &endPhi) const
bool getRDOHighPtIDfromSimHighPtID(const bool isForward, const bool isStrip, int &index, int &chip, int &hitId) const
StringProperty m_databaseASDToPPdiff
bool getSLIDfromReadoutID(int &phi, bool &isAside, bool &isEndcap, const int subsectorID, const int rodID, const int sswID, const int sbLoc) const
IntegerArrayProperty m_rodId
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 getHighPtIDfromROINumber(int roi, bool isForward, bool isStrip, int &hpb, int &chip, int &hitID, int &sub) 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 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 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 getLowPtCoincidenceIDfromOfflineID(const Identifier &offlineID, int &subDetectorID, int &rodID, int &sswID, int &sbLoc, int &block, int &pos, bool middle=false) const
::StatusCode StatusCode
StatusCode definition for legacy code.
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
StringProperty m_databaseInPP
bool getReadoutIDfromElementID(const Identifier &elementID, int &subdetectorID, int &rodID) 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
AthROOTErrorHandlerSvc * svc
virtual ~MuonTGC_CablingSvc()=default
ToolHandle< ITGCCablingDbTool > m_condDataTool
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
MuonTGC_Cabling::TGCChannelId * getChannel(const MuonTGC_Cabling::TGCChannelId *channelId, MuonTGC_Cabling::TGCChannelId::ChannelIdType type, bool orChannel=false) const
bool hasAdjacentChannel(const Identifier &offlineID) const
bool getSLBAddressfromReadoutID(int &slbAddr, const int subsectorID, const int rodID, const int sswID, const int sbLoc) 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 getSReadoutIDfromSLID(const int phi, const bool isAside, const bool isEndcap, int &subsectorID, int &srodID, int &sswID, int &sbLoc) const
StringProperty m_databasePPToSL
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 getSimHighPtIDfromRDOHighPtID(const bool isForward, const bool isStrip, int &index, int &chip, int &hitId) const
bool getReadoutIDfromSLID(const int phi, const bool isAside, const bool isEndcap, int &subsectorID, int &rodID, int &sswID, int &sbLoc) const
defines and typedefs for IOVSvc
bool getOfflineIDfromReadoutID(Identifier &offlineID, const int subDetectorID, const int rodID, const int sswID, const int sbLoc, const int channelID, bool orChannel=false) const
bool getRxIDfromReadoutID(int &rxId, const int subsectorID, const int rodID, const int sswID, const int sbLoc) const
IntegerProperty m_CsideId
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 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 isOredChannel(const int subDetectorID, const int rodID, const int sswID, const int sbLoc, const int channelID) const
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvIF) override
StringProperty m_databaseASDToPP