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
MuonSpectrometer
MuonCalib
MuonCalibDbOperations
python
MuonCalibConvertTimeSlewing.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
2
3
import
math
4
5
GasmonDriftTimeOffsetsVsR_total = [ -5.45973, -4.57559, -3.71995, -3.45051, -3.4505, -3.4834, -3.59509, -3.74869, -3.92066, -4.10799, -4.35237, -4.61329, -4.84111, -5.14524 ]
6
7
GasmonDriftTimeOffsetT0=GasmonDriftTimeOffsetsVsR_total[0]
8
9
GasmonDriftTimeOffsetsVsR=[]
10
for
x
in
GasmonDriftTimeOffsetsVsR_total:
11
GasmonDriftTimeOffsetsVsR.append(x - GasmonDriftTimeOffsetT0)
12
13
def
GetRBin
(r):
14
if
r<=0:
15
return
0
16
if
r>=14.6:
17
return
len(GasmonDriftTimeOffsetsVsR) -1
18
return
int
(math.floor(r/14.6 * len(GasmonDriftTimeOffsetsVsR)))
19
20
21
def
Ts2NoTs
(r, t):
22
return
t - GasmonDriftTimeOffsetsVsR[
GetRBin
(r)]
23
24
def
NoTs2Ts
(r, t):
25
return
t + GasmonDriftTimeOffsetsVsR[
GetRBin
(r)]
26
27
def
TimeSlewingApplied
(obj):
28
return
bool
(obj.payload()[
'tech'
] & 0x10)
29
30
31
32
MuonCalibConvertTimeSlewing.NoTs2Ts
def NoTs2Ts(r, t)
Definition:
MuonCalibConvertTimeSlewing.py:24
MuonCalibConvertTimeSlewing.TimeSlewingApplied
def TimeSlewingApplied(obj)
Definition:
MuonCalibConvertTimeSlewing.py:27
python.LArMinBiasAlgConfig.int
int
Definition:
LArMinBiasAlgConfig.py:59
MuonCalibConvertTimeSlewing.GetRBin
def GetRBin(r)
Definition:
MuonCalibConvertTimeSlewing.py:13
MuonCalibConvertTimeSlewing.Ts2NoTs
def Ts2NoTs(r, t)
Definition:
MuonCalibConvertTimeSlewing.py:21
xAOD::bool
setBGCode setTAP setLVL2ErrorBits bool
Definition:
TrigDecision_v1.cxx:60
Generated on Fri Mar 14 2025 21:15:20 for ATLAS Offline Software by
1.8.18