ATLAS Offline Software
Loading...
Searching...
No Matches
PLinks_v1.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
10
11
14
15
16namespace DMTest {
17
18
21 static const SG::ConstAccessor<plink_type> acc( "plink" );
22 return acc( *this );
23}
24
25
28 static const SG::Accessor<plink_type> acc( "plink" );
29 acc( *this ) = value;
30}
31
32
35 static const SG::ConstAccessor<vlinks_type> acc( "vlinks" );
36 return acc( *this ).at (i);
37}
38
39
41void PLinks_v1::setVLink (size_t i, const ElementLink<CVec>& l)
42{
43 static const SG::Accessor<vlinks_type> acc( "vlinks" );
44 acc( *this ).at(i) = l;
45}
46
47
50{
51 static const SG::ConstAccessor<vlinks_type> acc( "vlinks" );
52 return acc( *this );
53}
54
55
58{
59 static const SG::Accessor<vlinks_type> acc( "vlinks" );
60 return acc( *this );
61}
62
63
65void PLinks_v1::setVLinks (const std::vector<ElementLink<CVec> >& v)
66{
67 static const SG::Accessor<vlinks_type> acc( "vlinks" );
68 acc( *this ) = v;
69}
70
71
72} // namespace DMTest
73
Helper class to provide type-safe access to aux data.
Helper class to provide constant type-safe access to aux data.
Definition B.h:23