Helper tool that creates muon Identifiers and can be used to print Identifiers. More...
#include <MuonIdHelperTool.h>
Classes | |
struct | StationNameData |
Public Member Functions | |
MuonIdHelperTool (const std::string &, const std::string &, const IInterface *) | |
constructor | |
~MuonIdHelperTool () | |
destructor | |
StatusCode | initialize () |
AlgTool initilize. | |
StatusCode | finalize () |
AlgTool finalize. | |
std::string | toString (const Identifier &id) const |
print all fields to string | |
std::string | toStringTech (const Identifier &id) const |
print all fields up to technology to string | |
std::string | toStringStation (const Identifier &id) const |
print all fields up to stationName to string | |
std::string | toStringChamber (const Identifier &id) const |
print all fields up to chamber to string | |
std::string | toStringDetEl (const Identifier &id) const |
print all fields up to detector element to string | |
std::string | toStringGasGap (const Identifier &id) const |
print all fields up to gas gap to string | |
std::string | chamberNameString (const Identifier &id) const |
print chamber name to string | |
bool | isMuon (const Identifier &id) const |
returns whether this is a Muon Identifier or not | |
bool | isMdt (const Identifier &id) const |
returns whether this is a MDT Identifier or not | |
bool | isMM (const Identifier &id) const |
returns whether this is a MM Identifier or not | |
bool | isCsc (const Identifier &id) const |
returns whether this is a CSC Identifier or not | |
bool | isRpc (const Identifier &id) const |
returns whether this is a RPC Identifier or not | |
bool | isTgc (const Identifier &id) const |
returns whether this is a TGC Identifier or not | |
bool | issTgc (const Identifier &id) const |
returns whether this is a sTGC Identifier or not | |
bool | measuresPhi (const Identifier &id) const |
returns whether channel measures phi or not | |
bool | isEndcap (const Identifier &id) const |
returns whether this is an endcap Identifier or not | |
bool | isTrigger (const Identifier &id) const |
returns whether trigger chamber id or not | |
bool | isSmallChamber (const Identifier &id) const |
returns whether this is a small chamber, always returns true for TGCs | |
int | gasGap (const Identifier &id) const |
returns gas gap: gasGap for RPC + TGC, wireLayer for CSC, tube for MDT | |
Identifier | chamberId (const Identifier &id) const |
create a chamber ID | |
Identifier | detElId (const Identifier &id) const |
create a detector element ID | |
Identifier | gasGapId (const Identifier &id) const |
create a gasGap ID (will return layer Id for MDTs) | |
Identifier | layerId (const Identifier &id) const |
create a layer ID, returns tube id for the MDTs | |
const MdtIdHelper & | mdtIdHelper () const |
access to MdtIdHelper | |
const RpcIdHelper & | rpcIdHelper () const |
access to RpcIdHelper | |
const TgcIdHelper & | tgcIdHelper () const |
access to TgcIdHelper | |
const CscIdHelper & | cscIdHelper () const |
access to CscIdHelper | |
const sTgcIdHelper & | stgcIdHelper () const |
access to TgcIdHelper | |
const MmIdHelper & | mmIdHelper () const |
access to CscIdHelper | |
MuonStationIndex::ChIndex | chamberIndex (const Identifier &id) const |
calculate chamber index from Identifier | |
MuonStationIndex::StIndex | stationIndex (const Identifier &id) const |
calculate station index from Identifier | |
MuonStationIndex::PhiIndex | phiIndex (const Identifier &id) const |
calculate phi index from Identifier (not supported for MDT hits) | |
MuonStationIndex::DetectorRegionIndex | regionIndex (const Identifier &id) const |
calculate detector region index from Identifier | |
MuonStationIndex::LayerIndex | layerIndex (const Identifier &id) const |
calculate layer index from Identifier | |
MuonStationIndex::TechnologyIndex | technologyIndex (const Identifier &id) const |
calculate layer index from Identifier | |
int | stationPhi (const Identifier &id) const |
Return stationPhi for all technologies. | |
int | stationEta (const Identifier &id) const |
Return stationEta for all technologies. | |
int | sector (const Identifier &id) const |
return sector number 1-16, odd=large, even=small | |
Static Public Member Functions | |
static const InterfaceID & | interfaceID () |
access to tool interface |
Helper tool that creates muon Identifiers and can be used to print Identifiers.