![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef MUONTGC_CABLING_MUONTGC_CABLINGSVC_H
15 #define MUONTGC_CABLING_MUONTGC_CABLINGSVC_H
18 #include "GaudiKernel/ServiceHandle.h"
19 #include "GaudiKernel/ToolHandle.h"
23 #include "GaudiKernel/Service.h"
38 return IID_TGCcablingSvc;
56 int& maxChannelId)
const override;
62 double & endPhi)
const override;
66 int & startEndcapSector,
67 int & coverageOfEndcapSector,
68 int & startForwardSector,
69 int & coverageOfForwardSector)
const override;
75 double & endPhi)
const override;
79 int & startEndcapSector,
80 int & coverageOfEndcapSector,
81 int & startForwardSector,
82 int & coverageOfForwardSector)
const override;
90 const int channelID)
const override;
101 const int octantNumber,
102 const int moduleNumber,
103 const int layerNumber,
105 const int wireOrStrip,
106 const int channelNumber)
const override;
112 const int subDetectorID,
117 bool orChannel=
false)
const override;
128 bool adChannel=
false)
const override;
133 int & subsystemNumber,
139 int & channelNumber)
const override;
144 const int subsystemNumber,
145 const int octantNumber,
146 const int moduleNumber,
147 const int layerNumber,
149 const int wireOrStrip,
150 const int channelNumber)
const override;
159 int & subsystemNumber,
166 bool orChannel=
false)
const override;
175 const int subsystemNumber,
176 const int octantNumber,
177 const int moduleNumber,
178 const int layerNumber,
180 const int wireOrStrip,
181 const int channelNumber,
182 bool adChannel=
false)
const override;
188 int & rodID)
const override;
193 const int subDetectorID,
198 bool orChannel=
false)
const override;
210 int & sbLoc)
const override;
219 const int subsectorID,
222 const int sbLoc)
const override;
227 const int subsectorID,
230 const int sbLoc)
const override;
235 const int subsectorID,
238 const int sbLoc)
const override;
247 const int subsectorID,
250 const int rxId)
const override;
257 const int moduleType,
262 int & sbLoc)
const override;
269 const int subsectorID,
272 const int sbLoc)
const override;
278 const int subsectorID,
281 const bool forward)
const override;
291 int & sbLoc)
const override;
301 int & sbLoc)
const override;
309 int & hitId)
const override;
317 int & hitId)
const override;
323 const int subDetectorID,
325 const int sectorInReadout,
327 const bool isForward,
331 const int pos )
const override;
338 int & sectorInReadout,
344 int &
pos)
const override;
356 int sub_strip)
const override;
366 int & sub)
const override;
371 const int subDetectorID,
377 bool middle=
false)
const override;
388 bool middle=
false)
const override;
396 bool orChannel=
false)
const;
408 ToolHandle<ITGCCablingDbTool>
m_condDataTool{
this,
"TGCCablingDbTool",
"TGCCablingDbTool"};
417 #endif // MUONTGC_CABLING_MUONTGC_CABLINGSVC_H
virtual bool getReadoutIDfromElementID(const Identifier &elementID, int &subdetectorID, int &rodID) const override
virtual bool getSReadoutIDfromSLID(const int phi, const bool isAside, const bool isEndcap, int &subsectorID, int &srodID, int &sswID, int &sbLoc) const override
MuonTGC_CablingSvc(const std::string &name, ISvcLocator *svc)
virtual 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 override
virtual bool getElementIDfromReadoutID(Identifier &elementID, const int subDetectorID, const int rodID, const int sswID, const int sbLoc, const int channelID, bool orChannel=false) const override
Scalar phi() const
phi method
virtual bool getOnlineIDfromOfflineID(const Identifier &offlineID, int &subsystemNumber, int &octantNumber, int &moduleNumber, int &layerNumber, int &rNumber, int &wireOrStrip, int &channelNumber) const override
static const InterfaceID & interfaceID(void)
virtual 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 override
virtual void getReadoutIDRanges(int &maxRodId, int &maxSRodId, int &maxSswId, int &maxSbloc, int &minChannelId, int &maxChannelId) const override
virtual bool getLowPtCoincidenceIDfromOfflineID(const Identifier &offlineID, int &subDetectorID, int &rodID, int &sswID, int &sbLoc, int &block, int &pos, bool middle=false) const override
virtual 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 override
MuonTGC_Cabling::TGCCabling * m_cabling
virtual StatusCode finalize(void) override
virtual StatusCode initialize(void) override
virtual bool getCoveragefromSRodID(const int srodID, double &startPhi, double &endPhi) const override
virtual bool getOfflineIDfromReadoutID(Identifier &offlineID, const int subDetectorID, const int rodID, const int sswID, const int sbLoc, const int channelID, bool orChannel=false) const override
virtual 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 override
MuonTGC_Cabling::TGCModuleMap * getModule(const MuonTGC_Cabling::TGCModuleId *moduleId, MuonTGC_Cabling::TGCModuleId::ModuleIdType type) const
virtual 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 override
virtual bool getCoveragefromRodID(const int rodID, double &startPhi, double &endPhi) const override
virtual bool isOredChannel(const int subDetectorID, const int rodID, const int sswID, const int sbLoc, const int channelID) const override
virtual 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 override
::StatusCode StatusCode
StatusCode definition for legacy code.
MuonTGC_Cabling::TGCChannelId * getChannel(const MuonTGC_Cabling::TGCChannelId *channelId, TGCIdBase::ChannelIdType type, bool orChannel=false) const
virtual bool getHighPtIDfromROINumber(int roi, bool isForward, bool isStrip, int &hpb, int &chip, int &hitID, int &sub) const override
virtual 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 override
virtual bool getHighPtIDfromOfflineID(const Identifier &offlineID, int &subDetectorID, int &rodID, int §orInReadout, bool &isStrip, bool &isForward, int &hpb, int &chip, int &hitID, int &pos) const override
virtual bool getReadoutIDfromOfflineID(const Identifier &offlineID, int &subDetectorID, int &rodID, int &sswID, int &sbLoc, int &channelID, bool adChannel=false) const override
virtual const TGCCablingBase * getTGCCabling(void) const override
virtual bool getRxIDfromReadoutID(int &rxId, const int subsectorID, const int rodID, const int sswID, const int sbLoc) const override
AthROOTErrorHandlerSvc * svc
virtual ~MuonTGC_CablingSvc()=default
ToolHandle< ITGCCablingDbTool > m_condDataTool
virtual bool getSLIDfromSReadoutID(int &phi, bool &isAside, const int subsectorID, const int srodID, const int sector, const bool forward) const override
virtual bool hasAdjacentChannel(const Identifier &offlineID) const override
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
virtual bool getSLBAddressfromReadoutID(int &slbAddr, const int subsectorID, const int rodID, const int sswID, const int sbLoc) const override
virtual bool getRDOHighPtIDfromSimHighPtID(const bool isForward, const bool isStrip, int &index, int &chip, int &hitId) const override
virtual bool getReadoutIDfromSLID(const int phi, const bool isAside, const bool isEndcap, int &subsectorID, int &rodID, int &sswID, int &sbLoc) const override
virtual bool getSimHighPtIDfromRDOHighPtID(const bool isForward, const bool isStrip, int &index, int &chip, int &hitId) const override
virtual 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 override
virtual bool getSLIDfromReadoutID(int &phi, bool &isAside, bool &isEndcap, const int subsectorID, const int rodID, const int sswID, const int sbLoc) const override
virtual 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 override
defines and typedefs for IOVSvc
virtual 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 override
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvIF) override