|
ATLAS Offline Software
|
Go to the documentation of this file.
15 #include "GaudiKernel/ISvcLocator.h"
16 #include "GaudiKernel/MsgStream.h"
17 #include "GaudiKernel/StatusCode.h"
33 m_storeGate(
"StoreGateSvc",
name),
35 m_ttContainerName(
"ZdcTriggerTowers"),
36 m_zdcModuleContainerName(
"ZdcModules"),
37 m_zdcModuleAuxContainerName(
"ZdcModulesAux."),
38 m_ttContainer(nullptr),
41 m_complainRetrieve(1),
42 m_ChannelTool(
"ZdcRecChannelToolV2")
66 mLog <<
MSG::FATAL <<
"--> ZDC: Unable to retrieve pointer to StoreGateSvc" <<
endmsg;
73 if (scTool.isFailure())
76 return StatusCode::FAILURE;
91 return StatusCode::SUCCESS;
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;
166 <<
"--> ZDC: ZdcRecV2 finalize complete"
169 return StatusCode::SUCCESS;
ServiceHandle< StoreGateSvc > m_storeGate
class member version of retrieving StoreGate
Auxiliary store for xAOD::ZdcModuleContainer_v2.
std::string m_zdcModuleAuxContainerName
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
msgSvc
Provide convenience handles for various services.
@ OWN_ELEMENTS
this data object owns its elements
std::string m_zdcModuleContainerName
Raw data object name.
const xAOD::TriggerTowerContainer * m_ttContainer
Pointer to Zdc input "digits" data.
::StatusCode StatusCode
StatusCode definition for legacy code.
int m_ownPolicy
Does the collection own it's objects ?
ToolHandle< ZdcRecChannelToolV2 > m_ChannelTool
std::string m_ttContainerName
Digits data container name.
ZdcRecV2(const std::string &name, ISvcLocator *pSvcLocator)
std::string ZdcModuleToString(const xAOD::ZdcModule &zm)