ATLAS Offline Software
Loading...
Searching...
No Matches
xAODTestWriteHelper.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5// $Id$
13
14
15#include "xAODTestWriteHelper.h"
16
17
18namespace DMTest {
19
20
22 std::unique_ptr<ConstDataVector<ViewVector<DMTest::CVec> > > view)
23{
24 return h.record (std::move (view));
25}
26
27
29 std::unique_ptr<ViewVector<DMTest::HVec> > view)
30{
31 return h.record (std::move (view));
32}
33
34
35} // namespace DMTest
Header file for AthHistogramAlgorithm.
DataVector adapter that acts like it holds const pointers.
Identify view containers to be made persistent.
Definition ViewVector.h:67
Definition B.h:23
StatusCode recordView2(SG::WriteHandle< ViewVector< DMTest::HVec > > &h, std::unique_ptr< ViewVector< DMTest::HVec > > view)
StatusCode recordView1(SG::WriteHandle< ConstDataVector< ViewVector< DMTest::CVec > > > &h, std::unique_ptr< ConstDataVector< ViewVector< DMTest::CVec > > > view)
Test recording ViewVector w/o having CLASS_DEF visible in compilation unit.