  | 
  
    ATLAS Offline Software
    
   | 
 
 
 
 
Go to the documentation of this file.
   29 #include "GaudiKernel/MsgStream.h" 
   62                      const std::string& 
key,
 
   63                      const std::string& context)
 
   66   for (
int i=0; 
i < 
n; 
i++)
 
   67     vec->push_back (
new typename VEC::base_value_type (
i + istart));
 
   69   return StatusCode::SUCCESS;
 
   74                        const std::string& 
key,
 
   75                        const std::string& context)
 
   78   for (
int i = 0; 
i < 10; 
i += 3) {
 
   80     vec->m_el.back().toPersistent();
 
   82   for (
int i = 1; 
i < 10; 
i += 3) {
 
   84     vec->m_el.back().toPersistent();
 
   87   return StatusCode::SUCCESS;
 
   93   ELVec* elv = 
new ELVec;
 
   98   for (
int i=0; 
i < 10; 
i++) {
 
   99     b1->push_back (
new B (
i + istart + 100));
 
  109   for (
int i=0; 
i < 10; 
i++) {
 
  110     b2->push_back (
new B (
i + istart + 200));
 
  120   b3->insert (b3->end(), b1->begin(), b1->end());
 
  121   b3->insert (b3->end(), b2->begin(), b2->end());
 
  130   elv->m_el2_p.resize (elv->m_el2.size());
 
  131   for (
size_t i=0; 
i < elv->m_el2.size(); 
i++)
 
  135   elv->m_dl2_p.resize (elv->m_dl2.size());
 
  136   for (
size_t i=0; 
i < elv->m_dl2.size(); 
i++)
 
  139   return StatusCode::SUCCESS;
 
  151   const unsigned int i = ctx.eventID().event_number();
 
  154   CHECK( make_vec<BVec> (sg, 10,   0+
i, 
"bvec", 
name()) );
 
  155   CHECK( make_vec<BDer> (sg, 10, 100+
i, 
"bder", 
name()) );
 
  156   CHECK( make_vec<DVec> (sg, 10, 200+
i, 
"dvec", 
name()) );
 
  157   CHECK( make_vec<DDer> (sg, 10, 300+
i, 
"dder", 
name()) );
 
  158   CHECK( make_elvec (sg, 
"elvec", 
name()) );
 
  161   return StatusCode::SUCCESS;
 
  
StatusCode record(T *p2BRegistered, const TKEY &key)
Record an object with a key.
 
#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.
 
Class used for testing the new DataVector inheritance scheme.
 
This file contains the class definition for the DataLinkCnv_p1 class and DataLinkVectorCnv_p1 class.
 
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
 
This file contains the class definition for the ElementLinkVectorCnv_p1 class. NOTE: it should be inc...
 
Class used for testing new ElementLink.
 
std::vector< size_t > vec
 
An algorithm that can be simultaneously executed in multiple threads.
 
void transToPers(const Link_t &trans, PersLink_t &pers, const SG::ThinningCache *cache, MsgStream &log) const
 
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
 
The Athena Transient Store API.
 
virtual void transToPers(const DLink_t *trans, PersDLink_t *pers, MsgStream &log) const override
 
std::vector< ElementLink< BVec > > m_el
 
Object reference supporting deferred reading from StoreGate.
 
::StatusCode StatusCode
StatusCode definition for legacy code.
 
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
 
Default, invalid implementation of ClassID_traits.
 
Class used for testing the new DataVector inheritance scheme.
 
#define CHECK(...)
Evaluate an expression and check for errors.
 
ElementLink implementation for ROOT usage.
 
Helpers for checking error return status codes and reporting errors.
 
Algorithm to test writing DataVector data.
 
DataVector< DMTest::B > BVec
A DataVector containing the base class, B.
 
void remap(CLID clid, const TKEY &source, const TKEY &target, off_t index_offset)
Declare a remapping.
 
void transToPers(const LinkVect_t &trans, PersLinkVect_t &pers, const SG::ThinningCache *cache, MsgStream &log) const
 
Class used for testing the new DataVector inheritance scheme.
 
DMTestWrite(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.