![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
30 #include "GaudiKernel/MsgStream.h"
62 const std::string&
key,
63 const std::string& context)
67 log << MSG::INFO <<
key <<
" not in SG; ignored." <<
endmsg;
68 return StatusCode::SUCCESS;
73 std::ostringstream
ost;
75 for (
unsigned i=0;
i <
vec->size();
i++)
79 return StatusCode::SUCCESS;
85 const std::string&
key,
86 const std::string& context)
90 std::vector<ElementLink<BVec> >
el =
vec->m_el;
91 std::ostringstream
ost;
93 for (
size_t i = 0;
i <
el.size();
i++) {
99 return StatusCode::SUCCESS;
109 std::vector<ElementLink<BVec> > el2;
110 el2.resize (
vec->m_el2_p.size());
111 for (
size_t i=0;
i <
vec->m_el2_p.size();
i++)
114 std::ostringstream ost1;
115 ost1 <<
"elv_remap: ";
116 for (
size_t i = 0;
i < el2.size();
i++) {
118 ost1 <<
b->m_x <<
" ";
120 log << MSG::INFO << ost1.str() <<
endmsg;
126 std::ostringstream ost2;
127 ost2 <<
"elv_remap v2: ";
128 for (
size_t i = 0;
i < elv2.
size();
i++) {
130 ost2 <<
b->m_x <<
" ";
132 log << MSG::INFO << ost2.str() <<
endmsg;
135 std::vector<DataLink<BVec> > dl2;
136 dl2.resize (
vec->m_dl2_p.size());
137 for (
size_t i=0;
i <
vec->m_dl2_p.size();
i++)
142 assert (dl2[0].cptr() == b3);
143 assert (dl2[1].cptr() == b3);
145 return StatusCode::SUCCESS;
175 return StatusCode::SUCCESS;
bool contains(const TKEY &key) const
Look up a keyed object in TDS (compare also tryRetrieve) returns false if object not available in TDS...
#define CHECK_WITH_CONTEXT(...)
Evaluate an expression and check for errors, with an explicitly specified context name.
This file contains the class definition for the ElementLinkCnv_p3 class.
void persToTrans(const PersLink_t &pers, Link_t &trans, MsgStream &log) const
Class used for testing new ElementLink.
This file contains the class definition for the DataLinkCnv_p1 class and DataLinkVectorCnv_p1 class.
Class used for testing the new DataVector inheritance scheme.
This file contains the class definition for the ElementLinkVectorCnv_p1 class. NOTE: it should be inc...
std::vector< size_t > vec
void persToTrans(const PersLinkVect_t &pers, LinkVect_t &trans, MsgStream &log) const
StatusCode retrieve(const T *&ptr) const
Retrieve the default object into a const T*.
typename vecDetail::vec_typedef< T, N >::type vec
Define a nice alias for the vectorized type.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
The Athena Transient Store API.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode execute() override
Algorithm event processing.
static std::string name()
Return the name of class T as a string.
Base contained class for DataVector tests.
virtual void persToTrans(const PersDLink_t *pers, DLink_t *trans, MsgStream &log) const override
#define CHECK(...)
Evaluate an expression and check for errors.
ElementLinkVector implementation for standalone ROOT.
Class used for testing the new DataVector inheritance scheme.
Helpers for checking error return status codes and reporting errors.
DataVector< DMTest::B > BVec
A DataVector containing the base class, B.
Class used for testing the new DataVector inheritance scheme.
Define macros for attributes used to control the static checker.
DMTestRead(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.