ATLAS Offline Software
Loading...
Searching...
No Matches
Muon::IMuonIdHelperSvc Class Referenceabstract

Interface for Helper service that creates muon Identifiers and can be used to print Identifiers. More...

#include <IMuonIdHelperSvc.h>

Inheritance diagram for Muon::IMuonIdHelperSvc:
Collaboration diagram for Muon::IMuonIdHelperSvc:

Public Member Functions

 DeclareInterfaceID (IMuonIdHelperSvc, 1, 0)
virtual ~IMuonIdHelperSvc ()=default
 destructor
virtual std::string toString (const Identifier &id) const =0
 print all fields to string
virtual std::string toStringTech (const Identifier &id) const =0
 print all fields up to technology to string
virtual std::string toStringStation (const Identifier &id) const =0
 print all fields up to stationName to string
virtual std::string toStringChamber (const Identifier &id) const =0
 print all fields up to chamber to string
virtual std::string toStringDetEl (const Identifier &id) const =0
 print all fields up to detector element to string
virtual std::string toStringGasGap (const Identifier &id) const =0
 print all fields up to gas gap to string
virtual std::string chamberNameString (const Identifier &id) const =0
 print chamber name to string
virtual bool isMuon (const Identifier &id) const =0
 returns whether this is a Muon Identifier or not
virtual bool isMdt (const Identifier &id) const =0
 returns whether this is a MDT Identifier or not
virtual bool isMM (const Identifier &id) const =0
 returns whether this is a MM Identifier or not
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 bool isTgc (const Identifier &id) const =0
 returns whether this is a TGC Identifier or not
virtual bool issTgc (const Identifier &id) const =0
 returns whether this is a sTGC Identifier or not
virtual bool issMdt (const Identifier &id) const =0
 returns whether this is a sMDT Identifier or not
virtual IdentifierHash moduleHash (const Identifier &id) const =0
 Returns the module hash associated to an Identifier.
virtual IdentifierHash detElementHash (const Identifier &id) const =0
 Returns the detector element hash associated to an Identifier.
virtual bool hasHPTDC (const Identifier &id) const =0
 returns whether this Identifier belongs to an MDT with HPTDC or not NOTE that in Run4, no HPTDCs at all are planned to be present any more, so this function should be obsolete from Run4 onwards
virtual bool measuresPhi (const Identifier &id) const =0
 returns whether channel measures phi or not
virtual bool isEndcap (const Identifier &id) const =0
 returns whether this is an endcap Identifier or not
virtual bool isTrigger (const Identifier &id) const =0
 returns whether trigger chamber id or not
virtual bool isSmallChamber (const Identifier &id) const =0
 returns whether this is a small chamber, always returns true for TGCs
virtual int gasGap (const Identifier &id) const =0
 returns gas gap: gasGap for RPC + TGC, wireLayer for CSC, tube for MDT
virtual Identifier chamberId (const Identifier &id) const =0
 create a chamber ID
virtual Identifier detElId (const Identifier &id) const =0
 create a detector element ID
virtual Identifier gasGapId (const Identifier &id) const =0
 create a gasGap ID (will return layer Id for MDTs)
virtual Identifier layerId (const Identifier &id) const =0
 create a layer ID, returns tube id for the MDTs
virtual const MdtIdHelpermdtIdHelper () const =0
 access to MdtIdHelper
virtual const RpcIdHelperrpcIdHelper () const =0
 access to RpcIdHelper
virtual const TgcIdHelpertgcIdHelper () const =0
 access to TgcIdHelper
virtual const CscIdHelpercscIdHelper () const =0
 access to CscIdHelper
virtual const sTgcIdHelperstgcIdHelper () const =0
 access to TgcIdHelper
virtual const MmIdHelpermmIdHelper () const =0
 access to CscIdHelper
virtual MuonStationIndex::ChIndex chamberIndex (const Identifier &id) const =0
 calculate chamber index from Identifier
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 MuonStationIndex::DetectorRegionIndex regionIndex (const Identifier &id) const =0
 calculate detector region index from Identifier
virtual MuonStationIndex::LayerIndex layerIndex (const Identifier &id) const =0
 calculate layer index from Identifier
virtual MuonStationIndex::TechnologyIndex technologyIndex (const Identifier &id) const =0
 calculate layer index from Identifier
virtual const std::set< MuonStationIndex::TechnologyIndex > & technologiesInStation (MuonStationIndex::StIndex stIndex) const =0
 Recieve all technologies in a station.
virtual int stationPhi (const Identifier &id) const =0
 Return stationPhi for all technologies.
virtual int stationEta (const Identifier &id) const =0
 Return stationEta for all technologies.
virtual int stationName (const Identifier &id) const =0
 Return stationName for all technologies.
virtual std::string stationNameString (const Identifier &id) const =0
 Return the stationName string for all technologies.
virtual int stationRegion (const Identifier &id) const =0
 Return stationRegion for all technologies.
virtual int sector (const Identifier &id) const =0
 return sector number 1-16, odd=large, even=small
virtual bool hasRPC () const =0
 returns whether the RPC identifiers are loaded
virtual bool hasTGC () const =0
 returns whether the sTGC identifiers are loaded
virtual bool hasMDT () const =0
 returns whether the MDT identifiers are loaded
virtual bool hasCSC () const =0
 returns whether the CSC identifiers are loaded
virtual bool hasSTGC () const =0
 returns whether the sTGC identifiers are loaded
virtual bool hasMM () const =0
 returns whether the Mircomegas identifiers are loaded

Detailed Description

Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.

Definition at line 27 of file IMuonIdHelperSvc.h.

Constructor & Destructor Documentation

◆ ~IMuonIdHelperSvc()

virtual Muon::IMuonIdHelperSvc::~IMuonIdHelperSvc ( )
virtualdefault

destructor

Member Function Documentation

◆ chamberId()

virtual Identifier Muon::IMuonIdHelperSvc::chamberId ( const Identifier & id) const
pure virtual

create a chamber ID

◆ chamberIndex()

virtual MuonStationIndex::ChIndex Muon::IMuonIdHelperSvc::chamberIndex ( const Identifier & id) const
pure virtual

calculate chamber index from Identifier

◆ chamberNameString()

virtual std::string Muon::IMuonIdHelperSvc::chamberNameString ( const Identifier & id) const
pure virtual

print chamber name to string

◆ cscIdHelper()

virtual const CscIdHelper & Muon::IMuonIdHelperSvc::cscIdHelper ( ) const
pure virtual

access to CscIdHelper

◆ DeclareInterfaceID()

Muon::IMuonIdHelperSvc::DeclareInterfaceID ( IMuonIdHelperSvc ,
1 ,
0  )

◆ detElementHash()

virtual IdentifierHash Muon::IMuonIdHelperSvc::detElementHash ( const Identifier & id) const
pure virtual

Returns the detector element hash associated to an Identifier.

◆ detElId()

virtual Identifier Muon::IMuonIdHelperSvc::detElId ( const Identifier & id) const
pure virtual

create a detector element ID

◆ gasGap()

virtual int Muon::IMuonIdHelperSvc::gasGap ( const Identifier & id) const
pure virtual

returns gas gap: gasGap for RPC + TGC, wireLayer for CSC, tube for MDT

◆ gasGapId()

virtual Identifier Muon::IMuonIdHelperSvc::gasGapId ( const Identifier & id) const
pure virtual

create a gasGap ID (will return layer Id for MDTs)

◆ hasCSC()

virtual bool Muon::IMuonIdHelperSvc::hasCSC ( ) const
pure virtual

returns whether the CSC identifiers are loaded

◆ hasHPTDC()

virtual bool Muon::IMuonIdHelperSvc::hasHPTDC ( const Identifier & id) const
pure virtual

returns whether this Identifier belongs to an MDT with HPTDC or not NOTE that in Run4, no HPTDCs at all are planned to be present any more, so this function should be obsolete from Run4 onwards

◆ hasMDT()

virtual bool Muon::IMuonIdHelperSvc::hasMDT ( ) const
pure virtual

returns whether the MDT identifiers are loaded

◆ hasMM()

virtual bool Muon::IMuonIdHelperSvc::hasMM ( ) const
pure virtual

returns whether the Mircomegas identifiers are loaded

◆ hasRPC()

virtual bool Muon::IMuonIdHelperSvc::hasRPC ( ) const
pure virtual

returns whether the RPC identifiers are loaded

◆ hasSTGC()

virtual bool Muon::IMuonIdHelperSvc::hasSTGC ( ) const
pure virtual

returns whether the sTGC identifiers are loaded

◆ hasTGC()

virtual bool Muon::IMuonIdHelperSvc::hasTGC ( ) const
pure virtual

returns whether the sTGC identifiers are loaded

◆ isCsc()

virtual bool Muon::IMuonIdHelperSvc::isCsc ( const Identifier & id) const
pure virtual

returns whether this is a CSC Identifier or not

◆ isEndcap()

virtual bool Muon::IMuonIdHelperSvc::isEndcap ( const Identifier & id) const
pure virtual

returns whether this is an endcap Identifier or not

◆ isMdt()

virtual bool Muon::IMuonIdHelperSvc::isMdt ( const Identifier & id) const
pure virtual

returns whether this is a MDT Identifier or not

◆ isMM()

virtual bool Muon::IMuonIdHelperSvc::isMM ( const Identifier & id) const
pure virtual

returns whether this is a MM Identifier or not

◆ isMuon()

virtual bool Muon::IMuonIdHelperSvc::isMuon ( const Identifier & id) const
pure virtual

returns whether this is a Muon Identifier or not

◆ isRpc()

virtual bool Muon::IMuonIdHelperSvc::isRpc ( const Identifier & id) const
pure virtual

returns whether this is a RPC Identifier or not

◆ isSmallChamber()

virtual bool Muon::IMuonIdHelperSvc::isSmallChamber ( const Identifier & id) const
pure virtual

returns whether this is a small chamber, always returns true for TGCs

◆ issMdt()

virtual bool Muon::IMuonIdHelperSvc::issMdt ( const Identifier & id) const
pure virtual

returns whether this is a sMDT Identifier or not

◆ issTgc()

virtual bool Muon::IMuonIdHelperSvc::issTgc ( const Identifier & id) const
pure virtual

returns whether this is a sTGC Identifier or not

◆ isTgc()

virtual bool Muon::IMuonIdHelperSvc::isTgc ( const Identifier & id) const
pure virtual

returns whether this is a TGC Identifier or not

◆ isTrigger()

virtual bool Muon::IMuonIdHelperSvc::isTrigger ( const Identifier & id) const
pure virtual

returns whether trigger chamber id or not

◆ layerId()

virtual Identifier Muon::IMuonIdHelperSvc::layerId ( const Identifier & id) const
pure virtual

create a layer ID, returns tube id for the MDTs

◆ layerIndex()

virtual MuonStationIndex::LayerIndex Muon::IMuonIdHelperSvc::layerIndex ( const Identifier & id) const
pure virtual

calculate layer index from Identifier

◆ mdtIdHelper()

virtual const MdtIdHelper & Muon::IMuonIdHelperSvc::mdtIdHelper ( ) const
pure virtual

access to MdtIdHelper

◆ measuresPhi()

virtual bool Muon::IMuonIdHelperSvc::measuresPhi ( const Identifier & id) const
pure virtual

returns whether channel measures phi or not

◆ mmIdHelper()

virtual const MmIdHelper & Muon::IMuonIdHelperSvc::mmIdHelper ( ) const
pure virtual

access to CscIdHelper

◆ moduleHash()

virtual IdentifierHash Muon::IMuonIdHelperSvc::moduleHash ( const Identifier & id) const
pure virtual

Returns the module hash associated to an Identifier.

◆ phiIndex()

virtual MuonStationIndex::PhiIndex Muon::IMuonIdHelperSvc::phiIndex ( const Identifier & id) const
pure virtual

calculate phi index from Identifier (not supported for MDT hits)

◆ regionIndex()

virtual MuonStationIndex::DetectorRegionIndex Muon::IMuonIdHelperSvc::regionIndex ( const Identifier & id) const
pure virtual

calculate detector region index from Identifier

◆ rpcIdHelper()

virtual const RpcIdHelper & Muon::IMuonIdHelperSvc::rpcIdHelper ( ) const
pure virtual

access to RpcIdHelper

◆ sector()

virtual int Muon::IMuonIdHelperSvc::sector ( const Identifier & id) const
pure virtual

return sector number 1-16, odd=large, even=small

◆ stationEta()

virtual int Muon::IMuonIdHelperSvc::stationEta ( const Identifier & id) const
pure virtual

Return stationEta for all technologies.

◆ stationIndex()

virtual MuonStationIndex::StIndex Muon::IMuonIdHelperSvc::stationIndex ( const Identifier & id) const
pure virtual

calculate station index from Identifier

◆ stationName()

virtual int Muon::IMuonIdHelperSvc::stationName ( const Identifier & id) const
pure virtual

Return stationName for all technologies.

◆ stationNameString()

virtual std::string Muon::IMuonIdHelperSvc::stationNameString ( const Identifier & id) const
pure virtual

Return the stationName string for all technologies.

◆ stationPhi()

virtual int Muon::IMuonIdHelperSvc::stationPhi ( const Identifier & id) const
pure virtual

Return stationPhi for all technologies.

◆ stationRegion()

virtual int Muon::IMuonIdHelperSvc::stationRegion ( const Identifier & id) const
pure virtual

Return stationRegion for all technologies.

◆ stgcIdHelper()

virtual const sTgcIdHelper & Muon::IMuonIdHelperSvc::stgcIdHelper ( ) const
pure virtual

access to TgcIdHelper

◆ technologiesInStation()

virtual const std::set< MuonStationIndex::TechnologyIndex > & Muon::IMuonIdHelperSvc::technologiesInStation ( MuonStationIndex::StIndex stIndex) const
pure virtual

Recieve all technologies in a station.

◆ technologyIndex()

virtual MuonStationIndex::TechnologyIndex Muon::IMuonIdHelperSvc::technologyIndex ( const Identifier & id) const
pure virtual

calculate layer index from Identifier

◆ tgcIdHelper()

virtual const TgcIdHelper & Muon::IMuonIdHelperSvc::tgcIdHelper ( ) const
pure virtual

access to TgcIdHelper

◆ toString()

virtual std::string Muon::IMuonIdHelperSvc::toString ( const Identifier & id) const
pure virtual

print all fields to string

◆ toStringChamber()

virtual std::string Muon::IMuonIdHelperSvc::toStringChamber ( const Identifier & id) const
pure virtual

print all fields up to chamber to string

◆ toStringDetEl()

virtual std::string Muon::IMuonIdHelperSvc::toStringDetEl ( const Identifier & id) const
pure virtual

print all fields up to detector element to string

◆ toStringGasGap()

virtual std::string Muon::IMuonIdHelperSvc::toStringGasGap ( const Identifier & id) const
pure virtual

print all fields up to gas gap to string

◆ toStringStation()

virtual std::string Muon::IMuonIdHelperSvc::toStringStation ( const Identifier & id) const
pure virtual

print all fields up to stationName to string

◆ toStringTech()

virtual std::string Muon::IMuonIdHelperSvc::toStringTech ( const Identifier & id) const
pure virtual

print all fields up to technology to string


The documentation for this class was generated from the following file: