|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUON_MUONIDHELPERSVC_H
6 #define MUON_MUONIDHELPERSVC_H
158 bool hasRPC()
const override;
159 bool hasTGC()
const override;
160 bool hasMDT()
const override;
162 bool hasCSC()
const override;
164 bool hasMM()
const override;
186 Gaudi::Property<bool>
m_hasMDT{
this,
"HasMDT",
true,
"Specify whether the current detector layour contains MDT chambers"};
187 Gaudi::Property<bool>
m_hasRPC{
this,
"HasRPC",
true,
"Specify whether the current detector layour contains RPC chambers"};
188 Gaudi::Property<bool>
m_hasTGC{
this,
"HasTGC",
true,
"Specify whether the current detector layour contains TGC chambers"};
189 Gaudi::Property<bool>
m_hasCSC{
this,
"HasCSC",
true,
"Specify whether current detector layout contains CSC chambers"};
190 Gaudi::Property<bool>
m_hasSTGC{
this,
"HasSTGC",
true,
"Specify whether current detector layout contains STGC chambers"};
191 Gaudi::Property<bool>
m_hasMM{
this,
"HasMM",
true,
"Specify whether current detector layout contains MicroMegas chambers"};
211 #endif // MUON_MUONIDHELPERSVC_H
const MmIdHelper * m_mmIdHelper
virtual StatusCode initialize() override
AlgTool initilize.
virtual bool isTgc(const Identifier &id) const override
returns whether this is a TGC Identifier or not
virtual const TgcIdHelper & tgcIdHelper() const override
access to TgcIdHelper
Gaudi::Property< bool > m_hasSTGC
Gaudi::Property< bool > m_hasMDT
MuonStationIndex::StIndex stIndex
const RpcIdHelper * m_rpcIdHelper
Sub detector specific IdHelpers.
virtual int stationName(const Identifier &id) const override
Return stationName for all technologies.
virtual MuonStationIndex::LayerIndex layerIndex(const Identifier &id) const override
calculate layer index from Identifier
virtual std::string toString(const Identifier &id) const override
print all fields to string
virtual bool isCsc(const Identifier &id) const override
returns whether this is a CSC Identifier or not
const MuonIdHelper * m_primaryHelper
Gaudi::Property< bool > m_hasRPC
virtual MuonStationIndex::ChIndex chamberIndex(const Identifier &id) const override
calculate chamber index from Identifier
LayerIndex
enum to classify the different layers in the muon spectrometer
virtual std::string stationNameString(const Identifier &id) const override
Return the station name string for all technologies.
virtual bool isEndcap(const Identifier &id) const override
returns whether this is an endcap Identifier or not
virtual bool isSmallChamber(const Identifier &id) const override
returns whether this is a small chamber, always returns true for TGCs
virtual int sector(const Identifier &id) const override
return sector number 1-16, odd=large, even=small
ServiceHandle< StoreGateSvc > m_detStore
const sTgcIdHelper * m_stgcIdHelper
This class provides conversion from CSC RDO data to CSC Digits.
std::vector< MuonStationIndex::TechnologyIndex > m_technologies
PhiIndex
enum to classify the different phi layers in the muon spectrometer
std::vector< StationNameData > m_stationNameData
Gaudi::Property< bool > m_hasMM
virtual bool isMM(const Identifier &id) const override
returns whether this is a MM Identifier or not
virtual const MmIdHelper & mmIdHelper() const override
access to CscIdHelper
virtual int stationPhi(const Identifier &id) const override
Return stationPhi for all technologies.
virtual Identifier chamberId(const Identifier &id) const override
create a chamber ID
virtual MuonStationIndex::DetectorRegionIndex regionIndex(const Identifier &id) const override
calculate detector region index from Identifier
const MdtIdHelper * m_mdtIdHelper
virtual bool issTgc(const Identifier &id) const override
returns whether this is a sTGC Identifier or not
virtual std::string toStringGasGap(const Identifier &id) const override
print all fields up to gas gap to string
Gaudi::Property< bool > m_hasCSC
std::set< Identifier > m_smdt_stat
virtual Identifier layerId(const Identifier &id) const override
create a layer ID, returns tube id for the MDTs
MuonIdHelperSvc(const std::string &name, ISvcLocator *svc)
default AlgService constructor
virtual bool hasHPTDC(const Identifier &id) const override
returns whether this Identifier belongs to an MDT with HPTDC or not NOTE that in Run4,...
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual bool isMdt(const Identifier &id) const override
returns whether this is a MDT Identifier or not
virtual Identifier detElId(const Identifier &id) const override
create a detector element ID
virtual bool isTrigger(const Identifier &id) const override
returns whether trigger chamber id or not
AthROOTErrorHandlerSvc * svc
bool hasCSC() const override
const TgcIdHelper * m_tgcIdHelper
bool hasTGC() const override
virtual bool isRpc(const Identifier &id) const override
returns whether this is a RPC Identifier or not
DetectorRegionIndex
enum to classify the different layers in the muon spectrometer
Gaudi::Property< bool > m_hasTGC
virtual int stationEta(const Identifier &id) const override
Return stationEta for all technologies.
virtual Identifier gasGapId(const Identifier &id) const override
create a gasGap ID (will return layer Id for MDTs)
virtual IdentifierHash detElementHash(const Identifier &id) const override
Returns the detector element hash associated to an Identifier.
virtual std::string toStringTech(const Identifier &id) const override
print all fields up to technology to string
virtual const sTgcIdHelper & stgcIdHelper() const override
access to TgcIdHelper
virtual MuonStationIndex::StIndex stationIndex(const Identifier &id) const override
calculate station index from Identifier
virtual std::string chamberNameString(const Identifier &id) const override
print chamber name to string
virtual const RpcIdHelper & rpcIdHelper() const override
access to RpcIdHelper
virtual int stationRegion(const Identifier &id) const override
Return stationRegion for all technologies.
virtual bool measuresPhi(const Identifier &id) const override
returns whether channel measures phi or not
virtual bool isMuon(const Identifier &id) const override
returns whether this is a Muon Identifier or not
virtual MuonStationIndex::TechnologyIndex technologyIndex(const Identifier &id) const override
calculate layer index from Identifier
virtual bool issMdt(const Identifier &id) const override
returns whether this is a sMDT Identifier or not
virtual std::string toStringDetEl(const Identifier &id) const override
print all fields up to detector element to string
bool hasMDT() const override
const CscIdHelper * m_cscIdHelper
ChIndex
enum to classify the different chamber layers in the muon spectrometer
virtual IdentifierHash moduleHash(const Identifier &id) const override
Returns the module hash associated to an Identifier.
bool hasSTGC() const override
virtual std::string toStringStation(const Identifier &id) const override
print all fields up to stationName to string
StIndex
enum to classify the different station layers in the muon spectrometer
virtual ~MuonIdHelperSvc() override=default
destructor
bool hasRPC() const override
virtual MuonStationIndex::PhiIndex phiIndex(const Identifier &id) const override
calculate phi index from Identifier (not supported for MDT hits)
virtual const MdtIdHelper & mdtIdHelper() const override
access to MdtIdHelper
virtual std::string toStringChamber(const Identifier &id) const override
print all fields up to chamber to string
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
bool hasMM() const override
TechnologyIndex
enum to classify the different layers in the muon spectrometer
MuonStationIndex::ChIndex chIndex
virtual const CscIdHelper & cscIdHelper() const override
access to CscIdHelper
virtual int gasGap(const Identifier &id) const override
returns gas gap: gasGap for RPC + TGC, wireLayer for CSC, tube for MDT
Helper service that creates muon Identifiers and can be used to print Identifiers.