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
TileCalorimeter
TileConditions
src
TileCondToolTiming.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
// Tile includes
6
#include "
TileConditions/TileCondToolTiming.h
"
7
8
// Athena includes
9
#include "
AthenaKernel/errorcheck.h
"
10
#include "
StoreGate/ReadCondHandle.h
"
11
12
//
13
//____________________________________________________________________
14
static
const
InterfaceID IID_TileCondToolTiming(
"TileCondToolTiming"
, 1, 0);
15
const
InterfaceID&
TileCondToolTiming::interfaceID
()
16
{
17
return
IID_TileCondToolTiming;
18
}
19
20
//
21
//____________________________________________________________________
22
TileCondToolTiming::TileCondToolTiming
(
const
std::string&
type
,
const
std::string&
name
,
const
IInterface*
parent
)
23
:
AthAlgTool
(
type
,
name
,
parent
)
24
{
25
26
declareInterface<TileCondToolTiming>(
this
);
27
28
}
29
30
//
31
//____________________________________________________________________
32
TileCondToolTiming::~TileCondToolTiming
() {
33
}
34
35
//
36
//____________________________________________________________________
37
StatusCode
TileCondToolTiming::initialize
() {
38
39
ATH_MSG_DEBUG
(
"In initialize()"
);
40
41
42
//=== Initialize condition data key with timings
43
ATH_CHECK
(
m_timingKey
.
initialize
() );
44
45
46
return
StatusCode::SUCCESS;
47
}
48
49
//
50
//____________________________________________________________________
51
StatusCode
TileCondToolTiming::finalize
() {
52
53
ATH_MSG_DEBUG
(
"finalize called"
);
54
55
return
StatusCode::SUCCESS;
56
}
57
58
59
//
60
//____________________________________________________________________
61
float
TileCondToolTiming::getChannelOffset
(
unsigned
int
drawerIdx,
unsigned
int
channel
,
unsigned
int
adc
)
const
{
62
63
SG::ReadCondHandle<TileTiming>
timing
(
m_timingKey
);
64
return
timing
->getSignalPhase(drawerIdx,
channel
,
adc
);
65
66
}
plotting.yearwise_efficiency.channel
channel
Definition:
yearwise_efficiency.py:24
SG::ReadCondHandle
Definition:
ReadCondHandle.h:44
TileCondToolTiming::initialize
virtual StatusCode initialize() override
Definition:
TileCondToolTiming.cxx:37
TileCondToolTiming.h
python.CaloAddPedShiftConfig.type
type
Definition:
CaloAddPedShiftConfig.py:42
TileCondToolTiming::m_timingKey
SG::ReadCondHandleKey< TileTiming > m_timingKey
Definition:
TileCondToolTiming.h:34
ReadCondHandle.h
trigDumpTimers.timing
def timing(hist)
Definition:
trigDumpTimers.py:13
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition:
AthMsgStreamMacros.h:29
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
ATH_CHECK
#define ATH_CHECK
Definition:
AthCheckMacros.h:40
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
TileCondToolTiming::interfaceID
static const InterfaceID & interfaceID()
Definition:
TileCondToolTiming.cxx:15
errorcheck.h
Helpers for checking error return status codes and reporting errors.
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
TileCondToolTiming::TileCondToolTiming
TileCondToolTiming(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
TileCondToolTiming.cxx:22
ReadFloatFromCool.adc
adc
Definition:
ReadFloatFromCool.py:48
TileCondToolTiming::~TileCondToolTiming
virtual ~TileCondToolTiming()
Definition:
TileCondToolTiming.cxx:32
TileCondToolTiming::getChannelOffset
float getChannelOffset(unsigned int drawerIdx, unsigned int channel, unsigned int adc) const
Definition:
TileCondToolTiming.cxx:61
AthAlgTool
Definition:
AthAlgTool.h:26
TileCondToolTiming::finalize
virtual StatusCode finalize() override
Definition:
TileCondToolTiming.cxx:51
Generated on Mon Apr 21 2025 21:20:13 for ATLAS Offline Software by
1.8.18