ATLAS Offline Software
CaloCellContainerVector.h
Go to the documentation of this file.
1 
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 
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 
31 #include "AthenaKernel/CLASS_DEF.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 
50 
51 
54 
55 
57  virtual ~CaloCellContainerVector() { };
58 
59 };
60 
61 CLASS_DEF(CaloCellContainerVector, 1311518038, 1)
63 
64 
65 #endif
CaloCellContainerVector::CellCollVector
std::vector< CaloCellContainer * > CellCollVector
type to be used for the internal lookup table, and to return list of cells
Definition: CaloCellContainerVector.h:56
CaloCellContainerVector::CaloCellContainerVector
CaloCellContainerVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
Main constructor.
Definition: CaloCellContainerVector.cxx:7
SG::OwnershipPolicy
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
Definition: OwnershipPolicy.h:16
CaloCellContainerVector
Container class for CaloCell.
Definition: CaloCellContainerVector.h:36
SG::OWN_ELEMENTS
@ OWN_ELEMENTS
this data object owns its elements
Definition: OwnershipPolicy.h:17
beamspotman.n
n
Definition: beamspotman.py:731
CaloCellContainerVector::~CaloCellContainerVector
virtual ~CaloCellContainerVector()
destructor
Definition: CaloCellContainerVector.h:67
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
CaloCellContainer.h
CaloCellContainer
Container class for CaloCell.
Definition: CaloCellContainer.h:55
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
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
SG_BASE
SG_BASE(CaloCellContainerVector, DataVector< CaloCellContainer >)
DataVector< CaloCellContainer >::ownPolicy
SG::OwnershipPolicy ownPolicy() const
Return the ownership policy setting for this container.
CLASS_DEF.h
macros to associate a CLID to a type