ATLAS Offline Software
CaloCellLinkContainer.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef CALOEVENT_CALOCELLLINKCONTAINER_H
8 #define CALOEVENT_CALOCELLLINKCONTAINER_H
9 
19 #include "AthenaKernel/CLASS_DEF.h"
20 
22 
23 #include "CaloEvent/CaloCellLink.h"
24 
25 class CaloCellLinkContainer : public DataVector<CaloCellLink>
26 {
27  public:
30 
33 
35  bool ownElements() const
36  {return (this->m_ownPolicy == SG::OWN_ELEMENTS);}
37 };
38 
39 CLASS_DEF(CaloCellLinkContainer,1327319901,1)
41 #endif
DataVector< CaloCellLink >::m_ownPolicy
ROOT_SELECTION_NS::MemberAttributes< kTransient > m_ownPolicy
We do not want to save this.
Definition: DataVector.h:3440
SG::OWN_ELEMENTS
@ OWN_ELEMENTS
this data object owns its elements
Definition: OwnershipPolicy.h:17
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
CLASS_DEF.h
macros to associate a CLID to a type