ATLAS Offline Software
Calorimeter
CaloEvent
CaloEvent
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
8
#include "
AthenaKernel/CLASS_DEF.h
"
9
10
#include "
AthContainers/DataVector.h
"
11
12
#include "
CaloEvent/CaloShower.h
"
13
14
class
CaloShowerContainer
:
public
DataVector
<CaloShower>
15
{
16
public
:
17
CaloShowerContainer
();
18
virtual
~CaloShowerContainer
();
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
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:794
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
Generated on Sun Dec 22 2024 21:08:01 for ATLAS Offline Software by
1.8.18