ATLAS Offline Software
Reconstruction/egamma/egammaEvent/egammaEvent/PhotonContainer.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_PHOTONCONTAINER_H
6 #define EGAMMAEVENT_PHOTONCONTAINER_H
7 
13 /********************************************************************
14 
15 NAME: PhotonContainer.h
16 PACKAGE: offline/Reconstruction/egammaEvent
17 
18 ********************************************************************/
19 
20 // INCLUDE HEADER FILES:
21 
23 #include "AthenaKernel/CLASS_DEF.h"
24 #include "egammaEvent/Photon.h"
26 
28 
29 class PhotonContainer : public DataVector<Analysis::Photon>
30 {
31  public:
33  virtual ~PhotonContainer() {};
34 
37 
38  void print();
39 };
40 
42 CLASS_DEF(PhotonContainer, 1094973728, 1)
43 
44 #endif
45 
Photon.h
PhotonContainer::~PhotonContainer
virtual ~PhotonContainer()
destructor
Definition: Reconstruction/egamma/egammaEvent/egammaEvent/PhotonContainer.h:33
PhotonContainer::PhotonContainer
PhotonContainer(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
Main constructor.
Definition: PhotonContainer.cxx:21
SG_BASE
SG_BASE(PhotonContainer, DataVector< Analysis::Photon >)
Analysis::Photon
Definition: Reconstruction/egamma/egammaEvent/egammaEvent/Photon.h:20
PhotonContainer
Definition: Reconstruction/egamma/egammaEvent/egammaEvent/PhotonContainer.h:30
egamma
Definition: egamma.h:58
SG::OwnershipPolicy
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
Definition: OwnershipPolicy.h:16
SG::OWN_ELEMENTS
@ OWN_ELEMENTS
this data object owns its elements
Definition: OwnershipPolicy.h:17
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
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< Analysis::Photon >::ownPolicy
SG::OwnershipPolicy ownPolicy() const
Return the ownership policy setting for this container.
DATAVECTOR_BASE
DATAVECTOR_BASE(Analysis::Photon, egamma)
PhotonContainer::print
void print()
Definition: PhotonContainer.cxx:26
CLASS_DEF.h
macros to associate a CLID to a type
egammaContainer.h