|
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_r_ints(
"dflow_ints" ),
36 m_w_dflowDummy(
"dflow_dummy" ),
37 m_testUpdate(
"testUpdate" )
72 return StatusCode::SUCCESS;
79 return StatusCode::SUCCESS;
86 const EventContext& ctx = getContext();
96 if ( inputScalarHandle.
isValid() )
110 #ifdef TRY_COMPILATION_ERRORS
111 inputVectorHandle->push_back(666);
118 ATH_MSG_INFO(
"temporary r-handle[ints] - size: " << ints->size() );
127 ATH_MSG_ERROR(
"should NOT be valid ! [line " << __LINE__ <<
"]" );
128 return StatusCode::FAILURE;
136 ATH_MSG_ERROR(
"should NOT be valid ! [line " << __LINE__ <<
"]" );
137 return StatusCode::FAILURE;
148 ATH_MSG_ERROR(
"should NOT be valid ! [line " << __LINE__ <<
"]" );
149 return StatusCode::FAILURE;
154 ATH_MSG_ERROR(
"should NOT be valid ! [line " << __LINE__ <<
"]" );
155 return StatusCode::FAILURE;
162 ATH_MSG_ERROR(
"should NOT be valid ! [line " << __LINE__ <<
"]" );
163 return StatusCode::FAILURE;
177 ATH_MSG_INFO(
"Conditions handle test: " << **testConditions <<
" from key " << testConditions.
fullKey() );
179 return StatusCode::SUCCESS;
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::WriteHandleKey< int > m_w_dflowDummy
const DataObjID & fullKey() const
const_pointer_type cptr()
Dereference the pointer.
virtual StatusCode finalize()
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 execute()
const ExtendedEventContext & getExtendedEventContext(const EventContext &ctx)
Retrieve an extended context from a context object.
virtual StatusCode setProxyDict(IProxyDict *store)
Explicitly set the event store.
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadHandleKey< std::vector< int > > m_r_ints
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.
virtual StatusCode initialize()
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
DFlowAlg3()
Default constructor:
virtual bool isValid() override final
Can the handle be successfully dereferenced?
Property holding a SG store/key/clid from which a WriteHandle is made.
SG::ReadHandleKey< int > m_r_int
Containers.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
StatusCode initialize(bool used=true)
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
SG::ReadHandleKey< HiveDataObj > m_testUpdate
SG::ReadCondHandleKey< CondDataObj > m_condKeyTest
virtual ~DFlowAlg3()
Destructor: