Loading [MathJax]/extensions/tex2jax.js
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
Calorimeter
CaloEvent
src
CaloClusterContainer.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/********************************************************************
6
7
NAME: CaloClusterContainer.cxx
8
PACKAGE: offline/Calorimeter/CaloRec
9
10
AUTHORS: H. Ma
11
CREATED: May 2001
12
13
PURPOSE: Container for CaloCluster objects.
14
15
16
********************************************************************/
17
18
// INCLUDE HEADER FILES:
19
#include "
AthContainers/DataVector.h
"
20
#include "CaloEvent/CaloClusterContainer.h"
21
#include "CaloEvent/CaloCluster.h"
22
#include "
CaloEvent/CaloTowerSeg.h
"
23
#include <iostream>
24
25
CaloClusterContainer::CaloClusterContainer
(
SG::OwnershipPolicy
ownPolicy ) :
26
DataVector
<
CaloCluster
>(ownPolicy)
27
{}
28
29
CaloClusterContainer::CaloClusterContainer
(
const
CaloTowerSeg
& towerSeg)
30
:
DataVector
<
CaloCluster
>(), m_towerSeg(towerSeg)
31
{ }
32
33
CaloClusterContainer::CaloClusterContainer
(
const
std::string& RoiAuthor)
34
:
DataVector
<
CaloCluster
>(), m_ROIauthor(RoiAuthor)
35
{ }
36
37
CaloClusterContainer::CaloClusterContainer
(
const
CaloTowerSeg
& towerSeg,
const
std::string& RoiAuthor)
38
:
DataVector
<
CaloCluster
>(), m_towerSeg(towerSeg), m_ROIauthor(RoiAuthor)
39
{ }
40
41
CaloClusterContainer::~CaloClusterContainer
() =
default
;
42
43
void
CaloClusterContainer::print
()
44
{
45
std::cout <<
" Size of CaloClusterContainer is "
<<
size
() << std::endl;
46
}
47
CaloTowerSeg.h
SG::OwnershipPolicy
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
Definition:
OwnershipPolicy.h:16
CaloClusterContainer::print
void print()
Print size (probably obsolete)
Definition:
CaloClusterContainer.cxx:43
CaloCluster
Principal data class for CaloCell clusters.
Definition:
Calorimeter/CaloEvent/CaloEvent/CaloCluster.h:79
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:794
CaloClusterContainer::~CaloClusterContainer
virtual ~CaloClusterContainer()
Default destructor.
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
CaloTowerSeg
Data object stores CaloTower segmentation.
Definition:
CaloTowerSeg.h:37
CaloClusterContainer::CaloClusterContainer
CaloClusterContainer(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
Main constructor.
Definition:
CaloClusterContainer.cxx:25
DataVector< CaloCluster >::size
size_type size() const noexcept
Returns the number of elements in the collection.
Generated on Thu Mar 13 2025 21:08:02 for ATLAS Offline Software by
1.8.18