 |
ATLAS Offline Software
|
Go to the documentation of this file.
20 #include "AthLinks/ElementLink.h"
45 return StatusCode::SUCCESS;
60 if (testobj->
val() != 10) std::abort();
63 std::vector<SG::ReadHandle<MyDataObj> > vh =
m_dobjKeyArray.makeHandles (ctx);
64 for (
size_t i = 0;
i < vh.size();
i++) {
65 assert (vh[
i]->
val() ==
static_cast<int> (100+
i));
91 for (
unsigned int it=0;
it<pVec->size();
it++) {
100 return StatusCode::FAILURE;
112 for (
const VecElemLink&
l : *pList) {
119 for (
const MapElemLink&
l : *vectorHandle) {
121 (
"VectorMapLinks::linked element: key " <<
l.index()
122 <<
" - value " << (*
l)
123 <<
" - stored as " <<
l);
126 return StatusCode::SUCCESS;
SG::ReadHandleKey< std::list< ElementLink< std::vector< float > > > > m_pLinkListKey
std::vector< Identifier > ID
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfo
SG::ReadHandleKeyArray< MyDataObj > m_dobjKeyArray
A standard conforming forward iterator over items in StoreGate.
SG::ReadHandleKey< std::vector< float > > m_vFloatKey
SG::ReadHandleKey< std::vector< ElementLink< MapStringFloat > > > m_linkVectorKey
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
SG::ReadHandleKey< DataVector< MyContObj > > m_cobjKey
Testing reentrant algorithms.
virtual StatusCode initialize() override final
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
SG::ReadHandleKey< MyDataObj > m_nonexistingKey
virtual bool isValid() override final
Can the handle be successfully dereferenced?
ElementLink implementation for ROOT usage.
static void hideErrorLocus(bool flag=true)
If set to true, hide the source file and line number in the output.
Helpers for checking error return status codes and reporting errors.
SG::ReadHandleKey< TestDataObject > m_testObjectKey
An STL vector of pointers that by default owns its pointed-to elements.
def time(flags, cells_name, *args, **kw)
Handle class for reading from StoreGate.
virtual StatusCode execute(const EventContext &ctx) const override final