ATLAS Offline Software
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  */
14 
15 
16 namespace 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 
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 
65 void 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 
SG::Accessor
Helper class to provide type-safe access to aux data.
Definition: Control/AthContainers/AthContainers/Accessor.h:68
athena.value
value
Definition: athena.py:124
UploadAMITag.l
list l
Definition: UploadAMITag.larcaf.py:158
SG::ConstAccessor
Helper class to provide constant type-safe access to aux data.
Definition: ConstAccessor.h:55
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
lumiFormat.i
int i
Definition: lumiFormat.py:85
AthenaPoolTestRead.acc
acc
Definition: AthenaPoolTestRead.py:16
python.PyAthena.v
v
Definition: PyAthena.py:154
DMTest
Definition: B.h:23