ATLAS Offline Software
CaloShowerContainer.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef CALOEVENT_CALOSHOWERCONTAINER_H
6 #define CALOEVENT_CALOSHOWERCONTAINER_H
7 
9 
11 
12 #include "CaloEvent/CaloShower.h"
13 
14 class CaloShowerContainer : public DataVector<CaloShower>
15 {
16  public:
19 
20  bool ownElements() const
21  {return (this->m_ownPolicy == SG::OWN_ELEMENTS);}
22 
23 };
24 
29 CLASS_DEF(CaloShowerContainer, 1278423365, 1)
30 #endif
CaloShowerContainer::CaloShowerContainer
CaloShowerContainer()
Definition: CaloShowerContainer.cxx:8
CaloShowerContainer::ownElements
bool ownElements() const
Definition: CaloShowerContainer.h:20
DataVector< CaloShower >::m_ownPolicy
ROOT_SELECTION_NS::MemberAttributes< kTransient > m_ownPolicy
We do not want to save this.
Definition: DataVector.h:3440
CaloShowerContainer
Container class for CaloShower.
Definition: CaloShowerContainer.h:15
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
CaloShower.h
CaloShowerContainer::~CaloShowerContainer
virtual ~CaloShowerContainer()
CLASS_DEF.h
macros to associate a CLID to a type