ATLAS Offline Software
Loading...
Searching...
No Matches
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
20NAME: CaloCellContainerVector.h
21PACKAGE: offline/Calorimeter/CaloRec
22
23AUTHORS: D. Oliveira Damazio
24CREATED: February 2018
25
26PURPOSE: Vector Container for CaloCell
27
28********************************************************************/
29
33
34
35class 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
50
51
54
55
58
59};
60
63
64
65#endif
#define SG_BASE(D, B)
Declare that class D derives from class B.
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
An STL vector of pointers that by default owns its pointed-to elements.
Container class for CaloCell.
std::vector< CaloCellContainer * > CellCollVector
type to be used for the internal lookup table, and to return list of cells
CaloCellContainerVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
Main constructor.
virtual ~CaloCellContainerVector()
destructor
Container class for CaloCell.
Derived DataVector<T>.
Definition DataVector.h:795
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
SG::OwnershipPolicy ownPolicy() const
OwnershipPolicy
@ OWN_ELEMENTS
this data object owns its elements