ATLAS Offline Software
Loading...
Searching...
No Matches
AuxPersVector.h
Go to the documentation of this file.
1// Dear emacs, this is -*- c++ -*-
2/*
3 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4*/
5
6#ifndef XAODCORE_AUXPERSVECTOR_H
7#define XAODCORE_AUXPERSVECTOR_H
8
9// EDM include(s):
13
14namespace xAOD {
15
27 template< class T, class VEC=std::vector< T > >
28 class AuxPersVector : public SG::AuxTypeVectorHolder<T, VEC> {
29
30 public:
32 typedef VEC& vector_type;
33
37
38 virtual std::unique_ptr<SG::IAuxTypeVector> clone() const override {
39 return std::make_unique<AuxPersVector<T, VEC> >(*this);
40 }
41
42 }; // class AuxPersVector
43
44} // namespace xAOD
45
46#endif // XAODCORE_AUXPERSVECTOR_H
Handle mappings between names and auxid_t.
Implementation of IAuxTypeVector for specific types.
Abstract interface for setting a option on a aux data container.
Implementation of IAuxTypeVector for specific types.
AuxTypeVectorHolder(auxid_t auxid, vector_type *vecPtr, bool ownFlag, bool isLinked)
Interface for non-const operations on an auxiliary store.
Definition IAuxStore.h:48
virtual std::unique_ptr< SG::IAuxTypeVector > clone() const override
Make a copy of this vector.
AuxPersVector(SG::auxid_t auxid, vector_type vec, bool isLinked, SG::IAuxStore *)
Constructor.
VEC & vector_type
Convenience type definition.
Forward declaration.
size_t auxid_t
Identifier for a particular aux data item.
Definition AuxTypes.h:27
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.