|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUON_IMUONIDHELPERSVC_H
6 #define MUON_IMUONIDHELPERSVC_H
11 #include "GaudiKernel/IService.h"
12 #include "Identifier/Identifier.h"
154 virtual const std::set<MuonStationIndex::TechnologyIndex>&
190 #endif // MUON_IMUONIDHELPERSVC_H
virtual bool hasMDT() const =0
returns whether the MDT identifiers are loaded
virtual bool isMuon(const Identifier &id) const =0
returns whether this is a Muon Identifier or not
virtual bool issMdt(const Identifier &id) const =0
returns whether this is a sMDT Identifier or not
virtual bool isTrigger(const Identifier &id) const =0
returns whether trigger chamber id or not
virtual const sTgcIdHelper & stgcIdHelper() const =0
access to TgcIdHelper
virtual MuonStationIndex::LayerIndex layerIndex(const Identifier &id) const =0
calculate layer index from Identifier
virtual std::string toStringStation(const Identifier &id) const =0
print all fields up to stationName to string
virtual bool hasCSC() const =0
returns whether the CSC identifiers are loaded
virtual std::string toStringChamber(const Identifier &id) const =0
print all fields up to chamber to string
virtual MuonStationIndex::StIndex stationIndex(const Identifier &id) const =0
calculate station index from Identifier
virtual MuonStationIndex::PhiIndex phiIndex(const Identifier &id) const =0
calculate phi index from Identifier (not supported for MDT hits)
virtual int stationPhi(const Identifier &id) const =0
Return stationPhi for all technologies.
LayerIndex
enum to classify the different layers in the muon spectrometer
virtual bool isCsc(const Identifier &id) const =0
returns whether this is a CSC Identifier or not
virtual bool isRpc(const Identifier &id) const =0
returns whether this is a RPC Identifier or not
virtual int stationRegion(const Identifier &id) const =0
Return stationRegion for all technologies.
virtual std::string toStringDetEl(const Identifier &id) const =0
print all fields up to detector element to string
virtual int stationEta(const Identifier &id) const =0
Return stationEta for all technologies.
virtual IdentifierHash moduleHash(const Identifier &id) const =0
Returns the module hash associated to an Identifier.
virtual bool measuresPhi(const Identifier &id) const =0
returns whether channel measures phi or not
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
virtual const MmIdHelper & mmIdHelper() const =0
access to CscIdHelper
PhiIndex
enum to classify the different phi layers in the muon spectrometer
virtual std::string stationNameString(const Identifier &id) const =0
Return the stationName string for all technologies.
DeclareInterfaceID(IMuonIdHelperSvc, 1, 0)
virtual bool hasHPTDC(const Identifier &id) const =0
returns whether this Identifier belongs to an MDT with HPTDC or not NOTE that in Run4,...
virtual Identifier layerId(const Identifier &id) const =0
create a layer ID, returns tube id for the MDTs
virtual std::string toStringGasGap(const Identifier &id) const =0
print all fields up to gas gap to string
virtual int gasGap(const Identifier &id) const =0
returns gas gap: gasGap for RPC + TGC, wireLayer for CSC, tube for MDT
virtual Identifier detElId(const Identifier &id) const =0
create a detector element ID
virtual Identifier chamberId(const Identifier &id) const =0
create a chamber ID
virtual MuonStationIndex::ChIndex chamberIndex(const Identifier &id) const =0
calculate chamber index from Identifier
DetectorRegionIndex
enum to classify the different layers in the muon spectrometer
virtual bool isMdt(const Identifier &id) const =0
returns whether this is a MDT Identifier or not
virtual MuonStationIndex::TechnologyIndex technologyIndex(const Identifier &id) const =0
calculate layer index from Identifier
virtual int stationName(const Identifier &id) const =0
Return stationName for all technologies.
virtual bool isSmallChamber(const Identifier &id) const =0
returns whether this is a small chamber, always returns true for TGCs
virtual bool isMM(const Identifier &id) const =0
returns whether this is a MM Identifier or not
virtual const MdtIdHelper & mdtIdHelper() const =0
access to MdtIdHelper
virtual Identifier gasGapId(const Identifier &id) const =0
create a gasGap ID (will return layer Id for MDTs)
virtual bool hasTGC() const =0
returns whether the sTGC identifiers are loaded
virtual bool isEndcap(const Identifier &id) const =0
returns whether this is an endcap Identifier or not
virtual const TgcIdHelper & tgcIdHelper() const =0
access to TgcIdHelper
virtual const CscIdHelper & cscIdHelper() const =0
access to CscIdHelper
virtual bool hasMM() const =0
returns whether the Mircomegas identifiers are loaded
virtual std::string toString(const Identifier &id) const =0
print all fields to string
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
ChIndex
enum to classify the different chamber layers in the muon spectrometer
StIndex
enum to classify the different station layers in the muon spectrometer
virtual MuonStationIndex::DetectorRegionIndex regionIndex(const Identifier &id) const =0
calculate detector region index from Identifier
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
virtual int sector(const Identifier &id) const =0
return sector number 1-16, odd=large, even=small
TechnologyIndex
enum to classify the different layers in the muon spectrometer
virtual const std::set< MuonStationIndex::TechnologyIndex > & technologiesInStation(MuonStationIndex::StIndex stIndex) const =0
Recieve all technologies in a station.
virtual bool isTgc(const Identifier &id) const =0
returns whether this is a TGC Identifier or not
virtual ~IMuonIdHelperSvc()=default
destructor
virtual std::string chamberNameString(const Identifier &id) const =0
print chamber name to string
virtual bool issTgc(const Identifier &id) const =0
returns whether this is a sTGC Identifier or not
virtual bool hasRPC() const =0
returns whether the RPC identifiers are loaded
virtual const RpcIdHelper & rpcIdHelper() const =0
access to RpcIdHelper
virtual IdentifierHash detElementHash(const Identifier &id) const =0
Returns the detector element hash associated to an Identifier.
virtual bool hasSTGC() const =0
returns whether the sTGC identifiers are loaded
virtual std::string toStringTech(const Identifier &id) const =0
print all fields up to technology to string