|
ATLAS Offline Software
|
Go to the documentation of this file.
18 #include "Gaudi/Property.h"
32 ISvcLocator* pSvcLocator ) :
34 m_r_int(
"dflow_int" ),
35 m_ints(
"dflow_ints" ),
36 m_testUpdate(
"testUpdate" )
65 return StatusCode::SUCCESS;
72 return StatusCode::SUCCESS;
79 const EventContext& ctx = getContext();
97 outputHandle->push_back( 10 );
101 outputHandle->push_back( *inputHandle );
105 for (
int i = 0,
imax = outputHandle->size();
i !=
imax; ++
i )
113 testUpdate->
val( 1234 );
118 return StatusCode::SUCCESS;
virtual StatusCode execute()
SG::WriteHandleKey< std::vector< int > > m_ints
const_pointer_type cptr()
Dereference the pointer.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
const std::string & name() const
Return the StoreGate ID for the referenced object.
CLID clid() const
Return the class ID for the referenced object.
virtual StatusCode initialize()
DFlowAlg2()
Default constructor:
Handle class for recording to StoreGate.
virtual StatusCode finalize()
::StatusCode StatusCode
StatusCode definition for legacy code.
std::string store() const
Return the name of the store holding the object we are proxying.
#define CHECK(...)
Evaluate an expression and check for errors.
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?
virtual ~DFlowAlg2()
Destructor:
Handle class for modifying an existing object in StoreGate.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
SG::ReadHandleKey< int > m_r_int
Containers.
Handle class for reading from StoreGate.
SG::UpdateHandleKey< HiveDataObj > m_testUpdate