ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
DataModelTest
DataModelTestDataWrite
src
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
18
namespace
DMTest
{
19
20
21
StatusCode
recordView1
(
SG::WriteHandle
<
ConstDataVector
<
ViewVector<DMTest::CVec>
> >&
h
,
22
std::unique_ptr<
ConstDataVector
<
ViewVector<DMTest::CVec>
> > view)
23
{
24
return
h
.record (std::move (view));
25
}
26
27
28
StatusCode
recordView2
(
SG::WriteHandle
<
ViewVector<DMTest::HVec>
>&
h
,
29
std::unique_ptr<
ViewVector<DMTest::HVec>
> view)
30
{
31
return
h
.record (std::move (view));
32
}
33
34
35
}
// namespace DMTest
h
Header file for AthHistogramAlgorithm.
ConstDataVector
DataVector adapter that acts like it holds const pointers.
Definition
ConstDataVector.h:76
SG::WriteHandle
Definition
StoreGate/StoreGate/WriteHandle.h:73
ViewVector
Identify view containers to be made persistent.
Definition
ViewVector.h:67
DMTest
Definition
B.h:23
DMTest::recordView2
StatusCode recordView2(SG::WriteHandle< ViewVector< DMTest::HVec > > &h, std::unique_ptr< ViewVector< DMTest::HVec > > view)
Definition
xAODTestWriteHelper.cxx:28
DMTest::recordView1
StatusCode recordView1(SG::WriteHandle< ConstDataVector< ViewVector< DMTest::CVec > > > &h, std::unique_ptr< ConstDataVector< ViewVector< DMTest::CVec > > > view)
Definition
xAODTestWriteHelper.cxx:21
xAODTestWriteHelper.h
Test recording ViewVector w/o having CLASS_DEF visible in compilation unit.
Generated on
for ATLAS Offline Software by
1.17.0