ATLAS Offline Software
JVec_v1.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 /*
3  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4  */
13 #ifndef DATAMODELTESTDATACOMMON_JVEC_V1_H
14 #define DATAMODELTESTDATACOMMON_JVEC_V1_H
15 
16 
19 #include "xAODCore/JaggedVec.h"
20 #include "AthLinks/ElementLink.h"
21 #include "AthenaKernel/BaseInfo.h"
22 #include <string>
23 
24 
25 namespace DMTest {
26 
27 
34 class JVec_v1
35  : public SG::AuxElement
36 {
37 private:
42 
43 
44 public:
49 
50  // Getters / setters.
51 
52  intRange_t ivec() const;
53  void setIVec (const std::vector<int>& v);
54  floatRange_t fvec() const;
55  void setFVec (const std::vector<float>& v);
56  stringRange_t svec() const;
57  void setSVec (const std::vector<std::string>& v);
58  linkRange_t lvec() const;
59  void setLVec (const std::vector<ElementLink<CVec> >& v);
60 };
61 
62 
63 } // namespace DMTest
64 
65 
67 
68 
69 #endif // not DATAMODELTESTDATACOMMON_JVEC_V1_H
SG::ConstAccessor::element_type
typename AuxDataTraits< T, ALLOC >::element_type element_type
Type the user sees.
Definition: ConstAccessor.h:58
DMTest::JVec_v1::setSVec
void setSVec(const std::vector< std::string > &v)
Definition: JVec_v1.cxx:49
DMTest::JVec_v1::floatRange_t
SG::ConstAccessor< felt_type >::element_type floatRange_t
Definition: JVec_v1.h:46
DMTest::JVec_v1::setIVec
void setIVec(const std::vector< int > &v)
Definition: JVec_v1.cxx:25
DMTest::JVec_v1::setLVec
void setLVec(const std::vector< ElementLink< CVec > > &v)
Definition: JVec_v1.cxx:61
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:472
DMTest::JVec_v1::ivec
intRange_t ivec() const
Definition: JVec_v1.cxx:19
DMTest::JVec_v1::linkRange_t
SG::ConstAccessor< lelt_type >::element_type linkRange_t
Definition: JVec_v1.h:48
DMTest::JVec_v1::intRange_t
SG::ConstAccessor< ielt_type >::element_type intRange_t
Definition: JVec_v1.h:45
JaggedVec.h
Auxiliary variable type allowing storage as a jagged vector. That is, the payloads for all the DataVe...
DMTest::JVec_v1
For testing jagged vectors.
Definition: JVec_v1.h:36
CVec.h
Class used for testing xAOD data reading/writing.
BaseInfo.h
Provide an interface for finding inheritance information at run time.
DMTest::JVec_v1::setFVec
void setFVec(const std::vector< float > &v)
Definition: JVec_v1.cxx:37
DMTest::JVec_v1::fvec
floatRange_t fvec() const
Definition: JVec_v1.cxx:31
DMTest::JVec_v1::lvec
linkRange_t lvec() const
Definition: JVec_v1.cxx:55
python.PyAthena.v
v
Definition: PyAthena.py:154
DMTest::JVec_v1::stringRange_t
SG::ConstAccessor< selt_type >::element_type stringRange_t
Definition: JVec_v1.h:47
SG::JaggedVecElt
Describe one element of a jagged vector.
Definition: JaggedVecImpl.h:132
SG_BASE
SG_BASE(DMTest::JVec_v1, SG::AuxElement)
DMTest::JVec_v1::svec
stringRange_t svec() const
Definition: JVec_v1.cxx:43
AuxElement.h
Base class for elements of a container that can have aux data.
DMTest
Definition: B.h:23