ATLAS Offline Software
egammaContainer.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef EGAMMAEVENT_EGAMMACONTAINER_H
6 #define EGAMMAEVENT_EGAMMACONTAINER_H
7 
13 /********************************************************************
14 NAME: egammaContainer.h
15 PACKAGE: offline/Reconstruction/egammaRec
16 CREATED: Nov 2000
17 PURPOSE: This is a data object, containing a collection of egamma Objects.
18 
19 Updated: Jan 13, 2001 (MW)
20  add some more comments
21 
22  July 13, 2005 (S. Laplace)
23  added constructor with SG::OwnerShipPolicy
24 
25 Updated: moved to egammaEvent (SR)
26  Jun 14, 2007 (FD) Doxygen documentation
27 ********************************************************************/
28 
29 // INCLUDE HEADER FILES:
30 
32 #include "AthenaKernel/CLASS_DEF.h"
33 #include "egammaEvent/egamma.h"
34 
36 // Needed for constructing the mirror container hierarchy
37 // This tells StoreGate that DV<egamma> derives from DV<IParticle>
39 
40 class egammaContainer : public DataVector<egamma>
41 {
42  public:
43  virtual ~egammaContainer() {};
44 
47 
48  void print();
49 
50 };
51 
53 CLASS_DEF(egammaContainer, 3127, 1)
54 
55 #endif
56 
egammaContainer::egammaContainer
egammaContainer(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
Main constructor.
Definition: egammaContainer.cxx:28
egamma.h
egamma
Definition: egamma.h:58
SG::OwnershipPolicy
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
Definition: OwnershipPolicy.h:16
egammaContainer::print
void print()
Definition: egammaContainer.cxx:33
SG::OWN_ELEMENTS
@ OWN_ELEMENTS
this data object owns its elements
Definition: OwnershipPolicy.h:17
egammaContainer
Definition: egammaContainer.h:41
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
SG_BASE
SG_BASE(egammaContainer, DataVector< egamma >)
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
DataVector< egamma >::ownPolicy
SG::OwnershipPolicy ownPolicy() const
Return the ownership policy setting for this container.
IParticleContainer.h
DATAVECTOR_BASE
DATAVECTOR_BASE(egamma, IParticle)
egammaContainer::~egammaContainer
virtual ~egammaContainer()
Definition: egammaContainer.h:43
IParticle
Definition: Event/EventKernel/EventKernel/IParticle.h:43
CLASS_DEF.h
macros to associate a CLID to a type