18         return StatusCode::SUCCESS;
 
   22         const EventContext &ctx = Gaudi::Hive::currentContext();
 
   29                     return StatusCode::FAILURE;
 
   30                 } 
else if (
n > halfCard && !flatCable.mapChannels(
n, 
n - halfCard - 1, msgStream())) {
 
   31                     return StatusCode::FAILURE;
 
   36                 const unsigned forthCh = flatCable.tdcChannel(
n, msgStream()).value_or(0);
 
   37                 if (
const unsigned  backCh = flatCable.stripChannel(forthCh, msgStream()).value_or(0);
 
   39                     ATH_MSG_FATAL(
"Forward backward conversion of channel " << 
n << 
" failed. Ended up with " << backCh);
 
   40                     return StatusCode::FAILURE;
 
   47         if (!detectorMgr.isValid()) {
 
   49             return StatusCode::FAILURE;
 
   55             return StatusCode::FAILURE;
 
   58         unsigned int n_elements{0}, n_success{0};
 
   59         for (
auto det_itr = idHelper.detectorElement_begin(); det_itr != idHelper.detectorElement_end(); ++det_itr) {
 
   73             for (
bool measPhi : {
true, 
false}) {
 
   75                     for (
int strip = 1; strip <= readEle->
Nstrips(measPhi); ++strip) {
 
   77                         const Identifier chanId = idHelper.channelID(station_id,
 
   80                                                                      gap, measPhi, strip, is_valid);
 
   89                         if (!
cabling->convert(chanId, cabl_data, 
false)) {
 
   91                             return StatusCode::FAILURE;
 
   94                         if (!
cabling->getOnlineId(cabl_data, msgStream())) {
 
   95                             return StatusCode::FAILURE;
 
   97                         ATH_MSG_DEBUG(
"Offline channel has an associated online channel " << cabl_data);
 
  100                         onl_data.RpcCablingOnlineID::operator=(cabl_data);
 
  101                         onl_data.
channelId = cabl_data.channelId;
 
  102                         if (!
cabling->getOfflineId(onl_data, msgStream())) {
 
  103                             return StatusCode::FAILURE;
 
  105                         if (onl_data != cabl_data) {
 
  107                                                                                             << 
" -- started with: " << cabl_data << std::endl
 
  108                                                                                             << 
" --     got back: " << onl_data);
 
  112                         if (!
cabling->convert(onl_data, backChanId, 
true)) {
 
  113                             ATH_MSG_FATAL(
"Failed to translate back the cabling object" << onl_data << 
" to an Identifier");
 
  114                             return StatusCode::FAILURE;
 
  116                         if (backChanId != chanId) {
 
  121                         n_success += (!failure);
 
  123                             return StatusCode::FAILURE;
 
  128         ATH_MSG_INFO(n_success << 
" out of " << n_elements << 
" channels were successfully validated.");
 
  129         return n_success == n_elements ? StatusCode::SUCCESS : StatusCode::FAILURE;