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
w
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
InnerDetector
InDetRecEvent
InDetRIO_OnTrack
src
SiClusterOnTrack.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// SiClusterOnTrack.cxx, (c) ATLAS Detector software
8
9
#include "
InDetRIO_OnTrack/SiClusterOnTrack.h
"
10
#include "
TrkRIO_OnTrack/RIO_OnTrack.h
"
11
#include "
TrkEventPrimitives/LocalParameters.h
"
12
#include "
TrkSurfaces/Surface.h
"
13
#include "
InDetPrepRawData/SiCluster.h
"
14
#include "GaudiKernel/MsgStream.h"
15
#include <memory>
16
#include <new>
17
#include <ostream>
18
#include <typeinfo>
19
20
21
// Constructor with parameters - global position not specified here
22
InDet::SiClusterOnTrack::SiClusterOnTrack
(
Trk::LocalParameters
&& locpars,
23
Amg::MatrixX
&& locerr,
24
const
IdentifierHash
& idDE,
25
const
Identifier
&
id
,
26
bool
isbroad) :
27
RIO_OnTrack
(std::move(locpars), std::move(locerr),
id
),
//call base class constructor
28
m_idDE(idDE),
29
m_globalPosition(),
// should be set in constructor of derived class
30
m_isbroad(isbroad)
31
{}
32
33
// Constructor with parameters - global position specified
34
InDet::SiClusterOnTrack::SiClusterOnTrack
(
Trk::LocalParameters
&& locpars,
35
Amg::MatrixX
&& locerr,
36
const
IdentifierHash
& idDE,
37
const
Identifier
&
id
,
38
const
Amg::Vector3D
& globalPosition,
39
bool
isbroad)
40
:
41
RIO_OnTrack
(std::move(locpars), std::move(locerr),
id
),
//call base class constructor
42
m_idDE(idDE),
43
m_globalPosition(globalPosition),
44
m_isbroad(isbroad)
45
{}
46
47
48
// Default constructor:
49
InDet::SiClusterOnTrack::SiClusterOnTrack
():
50
Trk
::
RIO_OnTrack
(),
51
m_idDE(),
52
m_globalPosition(),
// should be set in constructor of derived class
53
m_isbroad(false)
54
{}
55
56
57
MsgStream&
InDet::SiClusterOnTrack::dump
( MsgStream& sl )
const
58
{
59
60
sl <<
"SiClusterOnTrack {"
<<
endmsg
;
61
Trk::RIO_OnTrack::dump
(sl);
62
63
sl <<
"Global position (x,y,z) = ("
;
64
sl <<this->
globalPosition
().x()<<
", "
65
<<this->
globalPosition
().y()<<
", "
66
<<this->
globalPosition
().z()<<
")"
<<
endmsg
;
67
sl<<
"}"
<<
endmsg
;
68
return
sl;
69
}
70
71
std::ostream&
InDet::SiClusterOnTrack::dump
( std::ostream& sl )
const
72
{
73
sl <<
"SiClusterOnTrack {"
<<std::endl;
74
75
Trk::RIO_OnTrack::dump
(sl);
76
77
sl <<
"Global position (x,y,z) = ("
;
78
sl <<this->
globalPosition
().x()<<
", "
79
<<this->
globalPosition
().y()<<
", "
80
<<this->
globalPosition
().z()<<
")"
<<std::endl;
81
sl<<
"}"
<<std::endl;
82
return
sl;
83
}
84
85
86
87
88
89
Trk::LocalParameters
Definition:
LocalParameters.h:98
Trk::RIO_OnTrack::dump
virtual MsgStream & dump(MsgStream &out) const override
returns the some information about this RIO_OnTrack.
Definition:
RIO_OnTrack.cxx:32
Amg::MatrixX
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Definition:
EventPrimitives.h:27
Surface.h
SiClusterOnTrack.h
InDet::SiClusterOnTrack::SiClusterOnTrack
SiClusterOnTrack()
Default Constructor - needed for POOL.
Definition:
SiClusterOnTrack.cxx:49
InDet::SiClusterOnTrack::globalPosition
virtual const Amg::Vector3D & globalPosition() const override
returns global position (gathered through Surface constraint)
Definition:
SiClusterOnTrack.h:115
endmsg
#define endmsg
Definition:
AnalysisConfig_Ntuple.cxx:63
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition:
FakeTrackBuilder.h:9
id
SG::auxid_t id
Definition:
Control/AthContainers/Root/debug.cxx:239
RIO_OnTrack.h
SiCluster.h
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition:
GeoPrimitives.h:47
LocalParameters.h
Trk::MeasurementBaseType::RIO_OnTrack
@ RIO_OnTrack
Definition:
MeasurementBase.h:49
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition:
IdentifierHash.h:25
InDet::SiClusterOnTrack::dump
virtual MsgStream & dump(MsgStream &out) const override
returns some information about this RIO_OnTrack.
Definition:
SiClusterOnTrack.cxx:57
Identifier
Definition:
IdentifierFieldParser.cxx:14
Generated on Sun May 11 2025 21:17:46 for ATLAS Offline Software by
1.8.18