15#include "GaudiKernel/ISvcLocator.h"
16#include "GaudiKernel/MsgStream.h"
17#include "GaudiKernel/StatusCode.h"
47 MsgStream mLog(msgSvc(), name());
58 mLog << MSG::DEBUG <<
"...will OWN its cells." <<
endmsg;
60 mLog << MSG::DEBUG <<
"...will VIEW its cells." <<
endmsg;
63 mLog << MSG::DEBUG <<
"--> ZDC: ZdcRecV3Decode initialization complete" <<
endmsg;
65 return StatusCode::SUCCESS;
79 return StatusCode::SUCCESS;
88 moduleContainer->setStore( moduleAuxContainer.get() );
93 moduleSumContainer->setStore( moduleSumAuxContainer.get() );
96 int ncha =
m_ChannelTool->convertTT2ZM(ttContainer.
get(), moduleContainer.get(), moduleSumContainer.get() );
97 ATH_MSG_DEBUG(
"m_ChannelTool->convertTT2ZM returned " << ncha <<
" channels");
102 std::move(moduleAuxContainer)) );
106 std::move(moduleSumAuxContainer)) );
108 return StatusCode::SUCCESS;
117 ATH_MSG_DEBUG(
"--> ZDC: ZdcRecV3Decode finalize complete" );
119 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
Handle class for reading from StoreGate.
Handle class for recording to StoreGate.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
const_pointer_type get() const
Dereference the pointer, but don't cache anything.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
SG::WriteHandleKey< xAOD::ZdcModuleContainer > m_zdcModuleContainerName
ZdcRecV3Decode(const std::string &name, ISvcLocator *pSvcLocator)
ToolHandle< ZdcRecChannelToolV2 > m_ChannelTool
StatusCode execute(const EventContext &ctx) override
Execute method.
StatusCode finalize() override
SG::WriteHandleKey< xAOD::ZdcModuleContainer > m_zdcSumContainerName
StatusCode initialize() override
SG::ReadHandleKey< xAOD::TriggerTowerContainer > m_ttContainerName
@ OWN_ELEMENTS
this data object owns its elements
ZdcModuleContainer_v1 ZdcModuleContainer
ZdcModuleAuxContainer_v2 ZdcModuleAuxContainer