ATLAS Offline Software
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"
10 
11 class TileCellCollection : public TileRawDataCollection<TileCell>
12 {
13 public:
14 
16  typedef MyBase::ID ID;
17  typedef TileCell TElement;
18 
19  // ATTENTION !!!
20  // TileCollection is not owner of TileCells by default !!!
22  : MyBase(id,ownPolicy) { }
24  : MyBase(ownPolicy) { }
25 
27 };
28 
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