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;
73 const EventContext& ctx = Gaudi::Hive::currentContext();
80 return StatusCode::SUCCESS;
89 moduleContainer->setStore( moduleAuxContainer.get() );
94 moduleSumContainer->setStore( moduleSumAuxContainer.get() );
97 int ncha =
m_ChannelTool->convertTT2ZM(ttContainer.
get(), moduleContainer.get(), moduleSumContainer.get() );
98 ATH_MSG_DEBUG(
"m_ChannelTool->convertTT2ZM returned " << ncha <<
" channels");
103 std::move(moduleAuxContainer)) );
107 std::move(moduleSumAuxContainer)) );
109 return StatusCode::SUCCESS;
118 ATH_MSG_DEBUG(
"--> ZDC: ZdcRecV3Decode finalize complete" );
120 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() override
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