|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "GaudiKernel/ServiceHandle.h"
16 ISvcLocator* pSvcLocator ) :
38 return StatusCode::SUCCESS;
45 return StatusCode::SUCCESS;
56 return StatusCode::FAILURE;
64 EventIDBase
t( getContext().eventID() );
82 ATH_MSG_INFO(
"test: " << getContext().eventID().event_number() <<
" "
83 << rh1->
val() <<
" " << **ch1 <<
" " << **ch2);
85 return StatusCode::SUCCESS;
virtual StatusCode initialize() override
SG::ReadHandleKey< HiveDataObj > m_rdh1
const std::string & key() const
Return the StoreGate ID for the referenced object.
virtual StatusCode finalize() override
AlgD(const std::string &name, ISvcLocator *pSvcLocator)
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadCondHandleKey< CondDataObj > m_rch1
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
StatusCode initialize(bool used=true)
virtual const std::string & key() const override final
Return the StoreGate ID for the referenced object.
virtual StatusCode execute() override
SG::ReadCondHandleKey< CondDataObj > m_rch2
Handle class for reading from StoreGate.