![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "GaudiKernel/ServiceHandle.h"
17 ISvcLocator* pSvcLocator ) :
32 if (
m_tool1.retrieve().isFailure() ) {
34 (
m_tool1.propertyName() <<
": Failed to retrieve tool "
36 return StatusCode::FAILURE;
41 if (
m_tool2.retrieve().isFailure() ) {
43 (
m_tool2.propertyName() <<
": Failed to retrieve tool "
45 return StatusCode::FAILURE;
51 if (
m_tool3.retrieve().isFailure() ) {
53 (
m_tool3.propertyName() <<
": Failed to retrieve tool "
55 return StatusCode::FAILURE;
62 return StatusCode::SUCCESS;
69 return StatusCode::SUCCESS;
80 <<
" e: " <<
evt->eventNumber() );
94 return StatusCode::SUCCESS;
const std::string & key() const
Return the StoreGate ID for the referenced object.
virtual StatusCode initialize() override
virtual StatusCode finalize() override
Handle class for recording to StoreGate.
ToolHandle< IHiveTool > m_tool3
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadHandleKey< HiveDataObj > m_rdh1
SG::WriteHandleKey< HiveDataObj > m_wrh1
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
AlgT(const std::string &name, ISvcLocator *pSvcLocator)
ToolHandle< IHiveTool > m_tool1
virtual StatusCode execute() override
virtual const std::string & key() const override final
Return the StoreGate ID for the referenced object.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
Handle class for reading from StoreGate.
SG::ReadHandleKey< xAOD::EventInfo > m_evt
ToolHandle< IHiveTool > m_tool2