12 return StatusCode::SUCCESS;
18 const std::vector<const MuonGMR4::MdtReadoutElement*> readOutEles{
m_detMgr->getAllMdtReadoutElements()};
21 if (!twinMap->isTwinTubeLayer(detEl)) {
26 for (
unsigned int layer = 1; layer<=
re->numLayers(); ++layer) {
27 for (
unsigned tube = 1; tube <=
re->numTubesInLay(); ++tube) {
29 const Identifier twinId = twinMap->twinId(primId);
30 const Identifier backId = twinMap->twinId(twinId);
31 if (backId != primId) {
34 return StatusCode::FAILURE;
36 if (twinId == primId){
38 return StatusCode::FAILURE;
43 return StatusCode::SUCCESS;
const boost::regex re(r_e)
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
const ServiceHandle< StoreGateSvc > & detStore() const
int multilayer(const Identifier &id) const
Access to components of the ID.
Identifier channelID(int stationName, int stationEta, int stationPhi, int multilayer, int tubeLayer, int tube) const
Readout element to describe the Monitored Drift Tube (Mdt) chambers Mdt chambers usually comrpise out...
ServiceHandle< IMuonIdHelperSvc > m_idHelperSvc
SG::ReadCondHandleKey< TwinTubeMap > m_readKey
virtual StatusCode execute(const EventContext &ctx) const override
virtual StatusCode initialize() override final
const MuonGMR4::MuonDetectorManager * m_detMgr
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.