29 return StatusCode::SUCCESS;
42 auto outputContainer = std::make_unique<TileRawChannelContainer>(
false, rawChanType, rawChanUnit,
SG::VIEW_ELEMENTS);
43 outputContainer->set_bsflags(inputContainer->
get_bsflags());
49 for (; collIt != collEnd; ++collIt) {
52 memset(rawChannels, 0,
sizeof(rawChannels));
61 auto outCollection = std::make_unique<ConstDataVector<TileRawChannelCollection>>(
SG::VIEW_ELEMENTS, rawChannelCollection->identify());
69 if (rawChannelHG && rawChannelLG) {
73 outCollection->push_back(rawChannelLG);
76 outCollection->push_back(rawChannelHG);
78 }
else if (rawChannelLG) {
79 ATH_MSG_VERBOSE(
"Save LG (only available): " << (std::string) *rawChannelLG <<
", ped = " << rawChannelLG->
pedestal());
80 outCollection->push_back(rawChannelLG);
81 }
else if (rawChannelHG) {
82 ATH_MSG_VERBOSE(
"Save HG (only available): " << (std::string) *rawChannelHG <<
", ped = " << rawChannelHG->
pedestal());
83 outCollection->push_back(rawChannelHG);
88 ATH_CHECK( outputContainer->addCollection(outCollection.release()->asDataVector(), collIt.
hashId()) );
92 ATH_CHECK( outputRawChannelContainer.
record(std::move(outputContainer)) );
94 return StatusCode::SUCCESS;
102 return StatusCode::SUCCESS;