ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
egamma
egammaEvent
egammaEvent
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
12
13
/********************************************************************
14
15
NAME: PhotonContainer.h
16
PACKAGE: offline/Reconstruction/egammaEvent
17
18
********************************************************************/
19
20
// INCLUDE HEADER FILES:
21
22
#include "
AthContainers/DataVector.h
"
23
#include "
AthenaKernel/CLASS_DEF.h
"
24
#include "
egammaEvent/Photon.h
"
25
#include "
egammaEvent/egammaContainer.h
"
26
27
DATAVECTOR_BASE
(
Analysis::Photon
,
egamma
);
28
29
class
PhotonContainer
:
public
DataVector
<Analysis::Photon>
30
{
31
public
:
33
virtual
~PhotonContainer
() {};
34
36
PhotonContainer
(
SG::OwnershipPolicy
ownPolicy
=
SG::OWN_ELEMENTS
) ;
37
38
void
print
();
39
};
40
41
SG_BASE
(
PhotonContainer
,
DataVector<Analysis::Photon>
);
42
CLASS_DEF
(
PhotonContainer
, 1094973728, 1)
43
44
#endif
45
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.
DATAVECTOR_BASE
#define DATAVECTOR_BASE(T, BASE)
Declare base class info to DataVector.
Definition
DataVector.h:649
Photon.h
Analysis::Photon
Definition
Reconstruction/egamma/egammaEvent/egammaEvent/Photon.h:20
DataVector
Derived DataVector<T>.
Definition
DataVector.h:795
DataVector< Analysis::Photon >::DataVector
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
DataVector< Analysis::Photon >::ownPolicy
SG::OwnershipPolicy ownPolicy() const
PhotonContainer
Class to define the PhotonContainer.
Definition
Reconstruction/egamma/egammaEvent/egammaEvent/PhotonContainer.h:30
PhotonContainer::print
void print()
Definition
PhotonContainer.cxx:26
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
egamma
elec/gamma data class.
Definition
egamma.h:59
egammaContainer.h
PhotonContainer
Athena::TPCnvVers::Old Athena::TPCnvVers::Old PhotonContainer
Definition
egammaEventTPCnv.cxx:53
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