29 return StatusCode::SUCCESS;
37 auto outputRawChannels = std::make_unique<TileMutableRawChannelContainer>(*inputRawChannels);
41 if (noiseFilterTool->process(*outputRawChannels.get(), ctx).isFailure()) {
42 ATH_MSG_ERROR(
" Error status returned from " << noiseFilterTool.name() );
44 ATH_MSG_DEBUG( noiseFilterTool.name() <<
" applied to the container" );
49 ATH_CHECK( outputRawChannelContainer.
record(std::move(outputRawChannels)) );
51 ATH_MSG_DEBUG(
"TileRawChannelContainer registered successfully ("
54 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
Helpers for checking error return status codes and reporting errors.
Handle class for reading from StoreGate.
Handle class for recording to StoreGate.
Helper for holding non-const raw data prior to recording in SG.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
ToolHandleArray< ITileRawChannelTool > m_noiseFilterTools
SG::ReadHandleKey< TileRawChannelContainer > m_inputRawChannelContainerKey
virtual StatusCode execute(const EventContext &ctx) const override
SG::WriteHandleKey< TileRawChannelContainer > m_outputRawChannelContainerKey
virtual StatusCode initialize() override
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())