ATLAS Offline Software
TileCalorimeter
TileEvent
TileEvent
TileCellCollection.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TileCellCollection_H
6
#define TileCellCollection_H
7
8
#include "
TileEvent/TileCell.h
"
9
#include "
TileEvent/TileRawDataCollection.h
"
10
11
class
TileCellCollection
:
public
TileRawDataCollection
<TileCell>
12
{
13
public
:
14
15
typedef
TileRawDataCollection<TileCell>
MyBase
;
16
typedef
MyBase::ID
ID
;
17
typedef
TileCell
TElement
;
18
19
// ATTENTION !!!
20
// TileCollection is not owner of TileCells by default !!!
21
TileCellCollection
(
ID
id
,
SG::OwnershipPolicy
ownPolicy
=
SG::VIEW_ELEMENTS
)
22
:
MyBase
(
id
,
ownPolicy
) { }
23
TileCellCollection
(
SG::OwnershipPolicy
ownPolicy
=
SG::VIEW_ELEMENTS
)
24
:
MyBase
(
ownPolicy
) { }
25
26
~TileCellCollection
( ) { }
27
};
28
29
CLASS_DEF
(
TileCellCollection
,2930,0)
30
31
#endif
32
TileCell
Definition:
TileCell.h:57
TileCellCollection
Definition:
TileCellCollection.h:12
SG::VIEW_ELEMENTS
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
Definition:
OwnershipPolicy.h:18
TileRawDataCollection< TileCell >::ID
int ID
Definition:
TileRawDataCollection.h:43
TileRawDataCollection.h
TileCellCollection::TileCellCollection
TileCellCollection(ID id, SG::OwnershipPolicy ownPolicy=SG::VIEW_ELEMENTS)
Definition:
TileCellCollection.h:21
SG::OwnershipPolicy
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
Definition:
OwnershipPolicy.h:16
TileCell.h
TileCellCollection::TileCellCollection
TileCellCollection(SG::OwnershipPolicy ownPolicy=SG::VIEW_ELEMENTS)
Definition:
TileCellCollection.h:23
TileRawDataCollection
Definition:
TileRawDataCollection.h:37
TileCellCollection::~TileCellCollection
~TileCellCollection()
Definition:
TileCellCollection.h:26
TileCellCollection::TElement
TileCell TElement
Definition:
TileCellCollection.h:17
id
SG::auxid_t id
Definition:
Control/AthContainers/Root/debug.cxx:227
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
DataVector< TileCell >::ownPolicy
SG::OwnershipPolicy ownPolicy() const
Return the ownership policy setting for this container.
TileCellCollection::ID
MyBase::ID ID
Definition:
TileCellCollection.h:16
TileCellCollection::MyBase
TileRawDataCollection< TileCell > MyBase
Definition:
TileCellCollection.h:15
Generated on Sun Dec 22 2024 21:19:38 for ATLAS Offline Software by
1.8.18