ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloEvent
CaloEvent
CaloCellContainerVector.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_CALOCELLCONTAINERVECTOR_H
8
#define CALOEVENT_CALOCELLCONTAINERVECTOR_H
9
17
18
/********************************************************************
19
20
NAME: CaloCellContainerVector.h
21
PACKAGE: offline/Calorimeter/CaloRec
22
23
AUTHORS: D. Oliveira Damazio
24
CREATED: February 2018
25
26
PURPOSE: Vector Container for CaloCell
27
28
********************************************************************/
29
30
#include "
AthContainers/DataVector.h
"
31
#include "
AthenaKernel/CLASS_DEF.h
"
32
#include "
CaloEvent/CaloCellContainer.h
"
33
34
35
class
CaloCellContainerVector
:
public
DataVector
<CaloCellContainer>
36
{
37
38
// only class allowed to use private functions
39
// this is because CaloCellContainer need to be told by
40
// someone the maximum hash size. Cannot do it by
41
// itself to avoid dependencies
42
43
public
:
44
46
typedef
std::vector<CaloCellContainer*>
CellCollVector
;
47
49
CaloCellContainerVector
(
SG::OwnershipPolicy
ownPolicy
=
SG::OWN_ELEMENTS
) ;
50
51
53
CaloCellContainerVector
(
size_t
n,
SG::OwnershipPolicy
ownPolicy
=
SG::OWN_ELEMENTS
);
54
55
57
virtual
~CaloCellContainerVector
() { };
58
59
};
60
61
CLASS_DEF
(
CaloCellContainerVector
, 1311518038, 1)
62
SG_BASE
(
CaloCellContainerVector
,
DataVector
<
CaloCellContainer
> );
63
64
65
#endif
CaloCellContainer.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.
CaloCellContainerVector
Container class for CaloCell.
Definition
CaloCellContainerVector.h:36
CaloCellContainerVector::CellCollVector
std::vector< CaloCellContainer * > CellCollVector
type to be used for the internal lookup table, and to return list of cells
Definition
CaloCellContainerVector.h:46
CaloCellContainerVector::CaloCellContainerVector
CaloCellContainerVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
Main constructor.
Definition
CaloCellContainerVector.cxx:7
CaloCellContainerVector::~CaloCellContainerVector
virtual ~CaloCellContainerVector()
destructor
Definition
CaloCellContainerVector.h:57
CaloCellContainer
Container class for CaloCell.
Definition
CaloCellContainer.h:55
DataVector
Derived DataVector<T>.
Definition
DataVector.h:795
DataVector< CaloCellContainer >::DataVector
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
DataVector< CaloCellContainer >::ownPolicy
SG::OwnershipPolicy ownPolicy() const
SG::OwnershipPolicy
OwnershipPolicy
Definition
OwnershipPolicy.h:16
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