ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Reconstruction
egamma
egammaEvent
src
PhotonContainer.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/********************************************************************
6
7
NAME: PhotonContainer.cxx
8
PACKAGE: offline/Reconstruction/egammaEvent
9
10
********************************************************************/
11
12
// INCLUDE HEADER FILES:
13
14
#include "
egammaEvent/PhotonContainer.h
"
15
#include "
egammaEvent/Photon.h
"
16
#include <iomanip>
17
#include <iostream>
18
19
// END OF HEADER FILES INCLUDE
20
21
PhotonContainer::PhotonContainer
(
SG::OwnershipPolicy
ownPolicy ) :
22
DataVector
<
Analysis
::
Photon
>(ownPolicy)
23
{}
24
25
// print objects found in container
26
void
PhotonContainer::print
()
27
{
28
29
DataVector<Analysis::Photon>::const_iterator
c_itr;
30
31
std::cout <<
"Number of Photon objects in container "
32
<< this->
size
() << std::endl;
33
34
for
(c_itr=
begin
(); c_itr!=
end
(); ++c_itr)
35
{
36
(*c_itr)->print();
37
}
38
}
Photon.h
PhotonContainer::PhotonContainer
PhotonContainer(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
Main constructor.
Definition:
PhotonContainer.cxx:21
Photon
Class describing an photon
SG::OwnershipPolicy
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
Definition:
OwnershipPolicy.h:16
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:794
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition:
BTaggingCnvAlg.h:20
DataVector< Analysis::Photon >::end
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
PhotonContainer::print
void print()
Definition:
PhotonContainer.cxx:26
DataVector< Analysis::Photon >::size
size_type size() const noexcept
Returns the number of elements in the collection.
PhotonContainer.h
DataVector< Analysis::Photon >::begin
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
Generated on Sat Mar 29 2025 21:16:17 for ATLAS Offline Software by
1.8.18