ATLAS Offline Software
Loading...
Searching...
No Matches
MuonIdHelperSvc.cxx File Reference
#include "MuonIdHelpers/MuonIdHelperSvc.h"
#include <iostream>
#include <format>
#include <ranges>
Include dependency graph for MuonIdHelperSvc.cxx:

Go to the source code of this file.

Namespaces

namespace  Muon
 NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.

Macros

#define IMPL_FIELDGETTER(fieldName, retType)

Functions

 Muon::IMPL_FIELDGETTER (stationPhi, int)
 Muon::IMPL_FIELDGETTER (stationEta, int)
 Muon::IMPL_FIELDGETTER (stationName, int)
 Muon::IMPL_FIELDGETTER (stationRegion, int)
 Muon::IMPL_FIELDGETTER (measuresPhi, bool)
 Muon::IMPL_FIELDGETTER (stationNameString, std::string)

Macro Definition Documentation

◆ IMPL_FIELDGETTER

#define IMPL_FIELDGETTER ( fieldName,
retType )
Value:
retType MuonIdHelperSvc::fieldName(const Identifier& id) const { \
switch (technologyIndex(id)) { \
using enum TechnologyIndex; \
case MDT: { \
return m_mdtIdHelper->fieldName(id); \
} case RPC: { \
return m_rpcIdHelper->fieldName(id); \
} case TGC: { \
return m_tgcIdHelper->fieldName(id); \
} case CSC: { \
return m_cscIdHelper->fieldName(id); \
} case STGC: { \
return m_stgcIdHelper->fieldName(id); \
} case MM: { \
return m_mmIdHelper->fieldName(id); \
} default: \
break; \
} \
return {}; \
}
@ CSC
Definition RegSelEnums.h:34
@ STGC
Definition RegSelEnums.h:39
@ MM
Definition RegSelEnums.h:38
@ RPC
Definition RegSelEnums.h:32
@ TGC
Definition RegSelEnums.h:33
@ MDT
Definition RegSelEnums.h:31

Definition at line 625 of file MuonIdHelperSvc.cxx.

625 #define IMPL_FIELDGETTER(fieldName, retType) \
626 retType MuonIdHelperSvc::fieldName(const Identifier& id) const { \
627 switch (technologyIndex(id)) { \
628 using enum TechnologyIndex; \
629 case MDT: { \
630 return m_mdtIdHelper->fieldName(id); \
631 } case RPC: { \
632 return m_rpcIdHelper->fieldName(id); \
633 } case TGC: { \
634 return m_tgcIdHelper->fieldName(id); \
635 } case CSC: { \
636 return m_cscIdHelper->fieldName(id); \
637 } case STGC: { \
638 return m_stgcIdHelper->fieldName(id); \
639 } case MM: { \
640 return m_mmIdHelper->fieldName(id); \
641 } default: \
642 break; \
643 } \
644 return {}; \
645 }