ATLAS Offline Software
Public Member Functions | List of all members
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 More...
 
virtual std::string toString (const Identifier &id) const =0
 print all fields to string More...
 
virtual std::string toStringTech (const Identifier &id) const =0
 print all fields up to technology to string More...
 
virtual std::string toStringStation (const Identifier &id) const =0
 print all fields up to stationName to string More...
 
virtual std::string toStringChamber (const Identifier &id) const =0
 print all fields up to chamber to string More...
 
virtual std::string toStringDetEl (const Identifier &id) const =0
 print all fields up to detector element to string More...
 
virtual std::string toStringGasGap (const Identifier &id) const =0
 print all fields up to gas gap to string More...
 
virtual std::string chamberNameString (const Identifier &id) const =0
 print chamber name to string More...
 
virtual bool isMuon (const Identifier &id) const =0
 returns whether this is a Muon Identifier or not More...
 
virtual bool isMdt (const Identifier &id) const =0
 returns whether this is a MDT Identifier or not More...
 
virtual bool isMM (const Identifier &id) const =0
 returns whether this is a MM Identifier or not More...
 
virtual bool isCsc (const Identifier &id) const =0
 returns whether this is a CSC Identifier or not More...
 
virtual bool isRpc (const Identifier &id) const =0
 returns whether this is a RPC Identifier or not More...
 
virtual bool isTgc (const Identifier &id) const =0
 returns whether this is a TGC Identifier or not More...
 
virtual bool issTgc (const Identifier &id) const =0
 returns whether this is a sTGC Identifier or not More...
 
virtual bool issMdt (const Identifier &id) const =0
 returns whether this is a sMDT Identifier or not More...
 
virtual IdentifierHash moduleHash (const Identifier &id) const =0
 Returns the module hash associated to an Identifier. More...
 
virtual IdentifierHash detElementHash (const Identifier &id) const =0
 Returns the detector element hash associated to an Identifier. More...
 
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 More...
 
virtual bool measuresPhi (const Identifier &id) const =0
 returns whether channel measures phi or not More...
 
virtual bool isEndcap (const Identifier &id) const =0
 returns whether this is an endcap Identifier or not More...
 
virtual bool isTrigger (const Identifier &id) const =0
 returns whether trigger chamber id or not More...
 
virtual bool isSmallChamber (const Identifier &id) const =0
 returns whether this is a small chamber, always returns true for TGCs More...
 
virtual int gasGap (const Identifier &id) const =0
 returns gas gap: gasGap for RPC + TGC, wireLayer for CSC, tube for MDT More...
 
virtual Identifier chamberId (const Identifier &id) const =0
 create a chamber ID More...
 
virtual Identifier detElId (const Identifier &id) const =0
 create a detector element ID More...
 
virtual Identifier gasGapId (const Identifier &id) const =0
 create a gasGap ID (will return layer Id for MDTs) More...
 
virtual Identifier layerId (const Identifier &id) const =0
 create a layer ID, returns tube id for the MDTs More...
 
virtual const MdtIdHelpermdtIdHelper () const =0
 access to MdtIdHelper More...
 
virtual const RpcIdHelperrpcIdHelper () const =0
 access to RpcIdHelper More...
 
virtual const TgcIdHelpertgcIdHelper () const =0
 access to TgcIdHelper More...
 
virtual const CscIdHelpercscIdHelper () const =0
 access to CscIdHelper More...
 
virtual const sTgcIdHelperstgcIdHelper () const =0
 access to TgcIdHelper More...
 
virtual const MmIdHelpermmIdHelper () const =0
 access to CscIdHelper More...
 
virtual MuonStationIndex::ChIndex chamberIndex (const Identifier &id) const =0
 calculate chamber index from Identifier More...
 
virtual MuonStationIndex::StIndex stationIndex (const Identifier &id) const =0
 calculate station index from Identifier More...
 
virtual MuonStationIndex::PhiIndex phiIndex (const Identifier &id) const =0
 calculate phi index from Identifier (not supported for MDT hits) More...
 
virtual MuonStationIndex::DetectorRegionIndex regionIndex (const Identifier &id) const =0
 calculate detector region index from Identifier More...
 
virtual MuonStationIndex::LayerIndex layerIndex (const Identifier &id) const =0
 calculate layer index from Identifier More...
 
virtual MuonStationIndex::TechnologyIndex technologyIndex (const Identifier &id) const =0
 calculate layer index from Identifier More...
 
virtual int stationPhi (const Identifier &id) const =0
 Return stationPhi for all technologies. More...
 
virtual int stationEta (const Identifier &id) const =0
 Return stationEta for all technologies. More...
 
virtual int stationName (const Identifier &id) const =0
 Return stationName for all technologies. More...
 
virtual std::string stationNameString (const Identifier &id) const =0
 Return the stationName string for all technologies. More...
 
virtual int stationRegion (const Identifier &id) const =0
 Return stationRegion for all technologies. More...
 
virtual int sector (const Identifier &id) const =0
 return sector number 1-16, odd=large, even=small More...
 
virtual bool hasRPC () const =0
 returns whether the RPC identifiers are loaded More...
 
virtual bool hasTGC () const =0
 returns whether the sTGC identifiers are loaded More...
 
virtual bool hasMDT () const =0
 returns whether the MDT identifiers are loaded More...
 
virtual bool hasCSC () const =0
 returns whether the CSC identifiers are loaded More...
 
virtual bool hasSTGC () const =0
 returns whether the sTGC identifiers are loaded More...
 
virtual bool hasMM () const =0
 returns whether the Mircomegas identifiers are loaded More...
 

Detailed Description

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

Definition at line 26 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  ,
,
 
)

◆ 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

◆ 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: