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
ForwardDetectors
ForwardTracker
src
ForwardTrack.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
ForwardTracker/BeamlineSetup.h
"
6
#include "
ForwardTracker/ForwardTrack.h
"
7
8
#include <iostream>
9
10
ForwardTrack::ForwardTrack
()
11
{
12
}
13
14
void
ForwardTrack::initialize
(
const
ForwardTracker::ConfigData
& cData) {
15
16
std::cout <<
" ForwardTrack::initialize "
<< std::endl;
17
std::cout <<
" ConfigData "
<< cData;
18
19
m_fBeamline1
=
ForwardTracker::BeamlineSetup
(cData,
ForwardTracker::beam1
); std::cout <<
m_fBeamline1
;
20
m_fBeamline2
=
ForwardTracker::BeamlineSetup
(cData,
ForwardTracker::beam2
); std::cout <<
m_fBeamline2
;
21
}
22
23
bool
ForwardTrack::TrackParticle
(
ForwardTracker::Particle
particle
) {
24
25
(
particle
.direction().z()>0.) ?
m_fBeamline1
.
track
(
particle
) :
m_fBeamline2
.
track
(
particle
);
26
27
m_fPosition
=
particle
.positionRelBeam();
28
m_fMomentum
=
particle
.momentum()*
particle
.direction();
29
m_fParticle
=
particle
;
30
31
if
(
particle
.isOutOfAperture())
return
false
;
32
33
return
true
;
34
}
Trk::ParticleSwitcher::particle
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Definition:
ParticleHypothesis.h:76
ForwardTracker::beam1
@ beam1
Definition:
ForwardTrackerConstants.h:13
ForwardTrack.h
ForwardTracker::beam2
@ beam2
Definition:
ForwardTrackerConstants.h:13
ForwardTrack::TrackParticle
bool TrackParticle(ForwardTracker::Particle)
Definition:
ForwardTrack.cxx:23
ForwardTrack::initialize
void initialize(const ForwardTracker::ConfigData &)
Definition:
ForwardTrack.cxx:14
ForwardTrack::ForwardTrack
ForwardTrack()
Definition:
ForwardTrack.cxx:10
BeamlineSetup.h
ForwardTracker::Particle
Definition:
ForwardDetectors/ForwardTracker/ForwardTracker/Particle.h:17
ForwardTracker::BeamlineSetup
Beamline BeamlineSetup(const ConfigData &, const Side &)
Definition:
BeamlineSetup.cxx:16
ForwardTracker::Beamline::track
void track(IParticle &) const
Definition:
ForwardTracker/src/Beamline.cxx:72
ForwardTrack::m_fBeamline2
ForwardTracker::Beamline m_fBeamline2
Definition:
ForwardTrack.h:30
ForwardTrack::m_fParticle
ForwardTracker::Particle m_fParticle
Definition:
ForwardTrack.h:33
ForwardTrack::m_fBeamline1
ForwardTracker::Beamline m_fBeamline1
Definition:
ForwardTrack.h:29
ForwardTracker::ConfigData
Definition:
ForwardTracker/ForwardTracker/ConfigData.h:12
ForwardTrack::m_fPosition
ForwardTracker::Point m_fPosition
Definition:
ForwardTrack.h:31
ForwardTrack::m_fMomentum
ForwardTracker::Point m_fMomentum
Definition:
ForwardTrack.h:32
Generated on Sun May 11 2025 21:09:52 for ATLAS Offline Software by
1.8.18