ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloEvent
CaloEvent
CaloCellLinkContainer.h
Go to the documentation of this file.
1
2
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
16
17
18
19
#include "
AthenaKernel/CLASS_DEF.h
"
20
21
#include "
AthContainers/DataVector.h
"
22
23
#include "
CaloEvent/CaloCellLink.h
"
24
25
class
CaloCellLinkContainer
:
public
DataVector
<CaloCellLink>
26
{
27
public
:
29
CaloCellLinkContainer
();
30
32
virtual
~CaloCellLinkContainer
();
33
35
bool
ownElements
()
const
36
{
return
(this->m_ownPolicy ==
SG::OWN_ELEMENTS
);}
37
};
38
39
CLASS_DEF
(
CaloCellLinkContainer
,1327319901,1)
40
SG_BASE
(
CaloCellLinkContainer
,
DataVector
<
CaloCellLink
> );
41
#endif
CaloCellLink.h
SG_BASE
#define SG_BASE(D, B)
Declare that class D derives from class B.
Definition
Control/AthenaKernel/AthenaKernel/BaseInfo.h:243
CLASS_DEF.h
macros to associate a CLID to a type
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:67
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
CaloCellLinkContainer
Container class for CaloCellLink.
Definition
CaloCellLinkContainer.h:26
CaloCellLinkContainer::CaloCellLinkContainer
CaloCellLinkContainer()
constructor
Definition
CaloCellLinkContainer.cxx:8
CaloCellLinkContainer::~CaloCellLinkContainer
virtual ~CaloCellLinkContainer()
destructor
CaloCellLinkContainer::ownElements
bool ownElements() const
returns true if the container owns the CaloCellLinks
Definition
CaloCellLinkContainer.h:35
CaloCellLink
Simple store for CaloCell links.
Definition
CaloCellLink.h:15
DataVector
Derived DataVector<T>.
Definition
DataVector.h:795
DataVector< CaloCellLink >::DataVector
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
SG::OWN_ELEMENTS
@ OWN_ELEMENTS
this data object owns its elements
Definition
OwnershipPolicy.h:17
Generated on
for ATLAS Offline Software by
1.17.0