15#include "GaudiKernel/ISvcLocator.h"
16#include "GaudiKernel/MsgStream.h"
17#include "GaudiKernel/StatusCode.h"
60 MsgStream mLog(msgSvc(), name());
66 mLog << MSG::FATAL <<
"--> ZDC: Unable to retrieve pointer to StoreGateSvc" <<
endmsg;
73 if (scTool.isFailure())
76 return StatusCode::FAILURE;
84 mLog << MSG::DEBUG <<
"...will OWN its cells." <<
endmsg;
86 mLog << MSG::DEBUG <<
"...will VIEW its cells." <<
endmsg;
89 mLog << MSG::DEBUG <<
"--> ZDC: ZdcRecV2 initialization complete" <<
endmsg;
91 return StatusCode::SUCCESS;
99 MsgStream mLog(msgSvc(), name());
101 <<
"--> ZDC: ZdcRecV2 execute starting on "
113 return StatusCode::SUCCESS;
118 if (digitsLookupSC.isFailure())
122 <<
"--> ZDC: Could not retrieve "
127 return StatusCode::SUCCESS;
133 <<
"--> ZDC: Storegate returned zero pointer for "
136 return StatusCode::SUCCESS;
142 moduleContainer->setStore( moduleAuxContainer.get() );
154 return StatusCode::SUCCESS;
163 MsgStream mLog(msgSvc(),name());
166 <<
"--> ZDC: ZdcRecV2 finalize complete"
169 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
std::string ZdcModuleToString(const xAOD::ZdcModule &zm)
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ServiceHandle< StoreGateSvc > & evtStore()
std::string m_zdcModuleContainerName
Raw data object name.
ToolHandle< ZdcRecChannelToolV2 > m_ChannelTool
const xAOD::TriggerTowerContainer * m_ttContainer
Pointer to Zdc input "digits" data.
int m_ownPolicy
Does the collection own it's objects ?
ServiceHandle< StoreGateSvc > m_storeGate
class member version of retrieving StoreGate
ZdcRecV2(const std::string &name, ISvcLocator *pSvcLocator)
std::string m_ttContainerName
Digits data container name.
std::string m_zdcModuleAuxContainerName
@ OWN_ELEMENTS
this data object owns its elements
ZdcModuleContainer_v1 ZdcModuleContainer
TriggerTowerContainer_v2 TriggerTowerContainer
Define the latest version of the TriggerTower container.
ZdcModuleAuxContainer_v2 ZdcModuleAuxContainer