|
ATLAS Offline Software
|
Go to the documentation of this file.
17 #ifndef XAODCORE_PACKEDLINKPERSVECTOR_H
18 #define XAODCORE_PACKEDLINKPERSVECTOR_H
30 template<
class TARG,
class VEC >
40 :
SG::PackedLinkVectorHolder<TARG,
typename VEC::allocator_type>
46 virtual std::unique_ptr<SG::IAuxTypeVector>
clone()
const override {
47 return std::make_unique<AuxPersVector>(*
this);
55 template<
class TARG,
class VALLOC,
class VEC >
58 std::vector<SG::PackedLink<TARG>, VALLOC>,
59 typename VEC::allocator_type> {
67 :
SG::PackedLinkVVectorHolder<TARG, VALLOC,
68 std::
vector<
SG::PackedLink<TARG>, VALLOC>,
75 virtual std::unique_ptr<SG::IAuxTypeVector>
clone()
const override {
76 return std::make_unique<AuxPersVector>(*
this);
84 #endif // not XAODCORE_PACKEDLINKPERSVECTOR_H
bool isLinked() const
Return true if this variable is linked from another one.
AuxPersVector(SG::auxid_t auxid, vector_type vec, [[maybe_unused]] bool isLinked, SG::IAuxStore *store)
Constructor.
VEC & vector_type
Convenience type definition.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
std::vector< size_t > vec
virtual std::unique_ptr< SG::IAuxTypeVector > clone() const override
Make a copy of this vector.
size_t auxid_t
Identifier for a particular aux data item.
AuxPersVector(SG::auxid_t auxid, vector_type vec, [[maybe_unused]] bool isLinked, SG::IAuxStore *store)
Constructor.
virtual std::unique_ptr< IAuxTypeVector > linkedVector()
Return IAuxTypeVector of a linked variable, if there is one.
Class managing concrete vector variables.
auxid_t auxid() const
Return the auxid of the variable this vector represents.
Interface for non-const operations on an auxiliary store.
Auxiliary variable type allowing to store ElementLinks as packed 32-bit values.
virtual std::unique_ptr< SG::IAuxTypeVector > clone() const override
Make a copy of this vector.
VEC & vector_type
Convenience type definition.
Implementation of IAuxTypeVector for a vector of PackedLink.
Implementation of IAuxTypeVector for PackedLink types.