ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
egamma
egammaEvent
egammaEvent
Reconstruction/egamma/egammaEvent/egammaEvent/ElectronContainer.h
Go to the documentation of this file.
1
// dear emacs, this is -*- C++ -*-
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef EGAMMAEVENT_ELECTRONCONTAINER_H
8
#define EGAMMAEVENT_ELECTRONCONTAINER_H 1
14
15
/********************************************************************
16
17
NAME: ElectronContainer.h
18
PACKAGE: offline/Reconstruction/egammaEvent
19
20
********************************************************************/
21
22
// INCLUDE HEADER FILES:
23
24
#include "
AthContainers/DataVector.h
"
25
#include "
AthenaKernel/CLASS_DEF.h
"
26
#include "
egammaEvent/Electron.h
"
27
#include "
egammaEvent/egammaContainer.h
"
28
29
DATAVECTOR_BASE
(
Analysis::Electron
,
egamma
);
30
31
class
ElectronContainer
:
public
DataVector
<Analysis::Electron>
32
{
33
public
:
35
virtual
~ElectronContainer
() {};
36
38
ElectronContainer
(
SG::OwnershipPolicy
ownPolicy
=
SG::OWN_ELEMENTS
) ;
39
40
void
print
();
41
};
42
43
SG_BASE
(
ElectronContainer
,
DataVector<Analysis::Electron>
);
44
CLASS_DEF
(
ElectronContainer
, 1341992142, 1)
45
46
#endif
47
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
Electron.h
Analysis::Electron
Definition
Reconstruction/egamma/egammaEvent/egammaEvent/Electron.h:20
DataVector
Derived DataVector<T>.
Definition
DataVector.h:795
DataVector< Analysis::Electron >::DataVector
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
DataVector< Analysis::Electron >::ownPolicy
SG::OwnershipPolicy ownPolicy() const
ElectronContainer
Class to define the ElectronContainer.
Definition
Reconstruction/egamma/egammaEvent/egammaEvent/ElectronContainer.h:32
ElectronContainer::print
void print()
Definition
ElectronContainer.cxx:26
ElectronContainer::~ElectronContainer
virtual ~ElectronContainer()
destructor
Definition
Reconstruction/egamma/egammaEvent/egammaEvent/ElectronContainer.h:35
ElectronContainer::ElectronContainer
ElectronContainer(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
Main constructor.
Definition
ElectronContainer.cxx:21
egamma
elec/gamma data class.
Definition
egamma.h:59
egammaContainer.h
ElectronContainer
ElectronContainer
Definition
egammaEventTPCnv.cxx:33
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