33 <<
"initialize now the TGC cabling and TGC container.");
41 return StatusCode::SUCCESS;
52 ATH_MSG_DEBUG(
"Recorded TgcRdoContainer called " << rdoContainer.
name() <<
" in store " << rdoContainer.
store());
57 std::map<uint16_t, std::unique_ptr<TgcRdo>> tgcRdoMap{};
65 for (
const TgcDigit* tgcDigit : *tgcCollection) {
70 int subDetectorID{0}, rodID{0}, sswID{0}, slbID{0}, channelID{0};
73 for (
int iAd = 0; iAd < 2; ++iAd) {
91 ATH_MSG_DEBUG(
"ITGCcablingSvc can't return an online ID for the channel : "
102 else if (
name[1] ==
'1')
107 auto rawData = std::make_unique<TgcRawData>(bctag, subDetectorID, rodID, sswID, slbID, 0, 0,
type, adFlag, 0, channelID);
110 ATH_MSG_DEBUG(MSG::hex <<
" Sub : " << subDetectorID <<
" ROD : " << rodID <<
" SSW : " << sswID <<
" SLB : " << slbID
111 <<
" Ch : " << channelID);
114 const uint16_t rdoId = identifyFragment(*rawData);
115 std::unique_ptr<TgcRdo>& tgcRdo = tgcRdoMap[rdoId];
120 tgcRdo = std::make_unique<TgcRdo>(rdoId, hashId);
121 tgcRdo->
setOnlineId(rawData->subDetectorId(), rawData->rodId());
130 for (
auto&[onlineId, rdo] : tgcRdoMap) {
131 unsigned int elementHash = hashF(onlineId);
136 return StatusCode::SUCCESS;
144 if (tagInfoMgr.retrieve().isFailure())
return StatusCode::FAILURE;
148 if (
sc.isFailure()) {
155 return StatusCode::SUCCESS;
161 int maxRodId, maxSRodId, maxSswId, maxSbloc, minChannelId, maxChannelId;
163 if (maxRodId == 12) {
174 return StatusCode::SUCCESS;