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
Trigger
EFTracking
FPGATrackSim
FPGATrackSimMaps
src
FPGATrackSimClusteringOfflineTool.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
#include "
FPGATrackSimClusteringOfflineTool.h
"
6
7
FPGATrackSimClusteringOfflineTool::FPGATrackSimClusteringOfflineTool
(
const
std::string&
algname
,
const
std::string &
name
,
const
IInterface *ifc) :
8
base_class(
algname
,
name
, ifc)
9
{
10
}
11
12
13
StatusCode
FPGATrackSimClusteringOfflineTool::DoClustering
(
FPGATrackSimLogicalEventInputHeader
&
header
, std::vector<FPGATrackSimCluster> &
clusters
)
const
14
{
15
16
clusters
=
header
.optional().getOfflineClusters();
17
//fill the multitruth
18
for
(
auto
& cluster:
clusters
){
19
FPGATrackSimHit
clusterEquiv = cluster.getClusterEquiv();
20
FPGATrackSimMultiTruth
mt;
21
FPGATrackSimMultiTruth::Barcode
uniquecode(clusterEquiv.
getEventIndex
(),clusterEquiv.
getBarcode
());
22
mt.
maximize
(uniquecode,clusterEquiv.
getBarcodePt
());
23
clusterEquiv.
setTruth
(mt);
24
cluster.setClusterEquiv(clusterEquiv);
25
}
26
return
StatusCode::SUCCESS;
27
}
FPGATrackSimHit::getEventIndex
long getEventIndex() const
Definition:
FPGATrackSimHit.h:158
getMenu.algname
algname
Definition:
getMenu.py:54
FPGATrackSimLogicalEventInputHeader
Definition:
FPGATrackSimLogicalEventInputHeader.h:21
header
Definition:
hcg.cxx:526
FPGATrackSimHit::getBarcodePt
float getBarcodePt() const
Definition:
FPGATrackSimHit.h:159
FPGATrackSimHit
Definition:
FPGATrackSimHit.h:41
FPGATrackSimClusteringOfflineTool.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
FPGATrackSimMultiTruth::Barcode
std::pair< unsigned long, unsigned long > Barcode
Definition:
FPGATrackSimMultiTruth.h:49
FPGATrackSimMultiTruth::maximize
void maximize(const FPGATrackSimMultiTruth::Barcode &code, const FPGATrackSimMultiTruth::Weight &weight)
Definition:
FPGATrackSimMultiTruth.cxx:36
FPGATrackSimMultiTruth
Definition:
FPGATrackSimMultiTruth.h:46
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
FPGATrackSimClusteringOfflineTool::FPGATrackSimClusteringOfflineTool
FPGATrackSimClusteringOfflineTool(const std::string &, const std::string &, const IInterface *)
Definition:
FPGATrackSimClusteringOfflineTool.cxx:7
FPGATrackSimClusteringOfflineTool::DoClustering
virtual StatusCode DoClustering(FPGATrackSimLogicalEventInputHeader &, std::vector< FPGATrackSimCluster > &) const override
Definition:
FPGATrackSimClusteringOfflineTool.cxx:13
RunTileMonitoring.clusters
clusters
Definition:
RunTileMonitoring.py:133
FPGATrackSimHit::setTruth
void setTruth(const FPGATrackSimMultiTruth &v)
Definition:
FPGATrackSimHit.h:154
FPGATrackSimHit::getBarcode
HepMcParticleLink::barcode_type getBarcode() const
Definition:
FPGATrackSimHit.h:156
Generated on Thu Mar 13 2025 21:10:49 for ATLAS Offline Software by
1.8.18