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
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
LArCalorimeter
LArRecConditions
src
LArHVCorr.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 "
LArRecConditions/LArHVCorr.h
"
6
7
LArHVCorr::LArHVCorr
(std::vector<float>&& vVec,
const
LArOnOffIdMapping
*
cabling
,
const
CaloCell_Base_ID
* caloidhelper):
8
m_larCablingSvc(
cabling
),
9
m_calo_id(caloidhelper),
10
m_hvCorr(vVec),
11
m_noCorr(1.0) {}
12
13
// retrieving HVScaleCorr using offline ID
14
const
float
&
LArHVCorr::HVScaleCorr
(
const
Identifier
&
id
)
const
{
15
const
IdentifierHash
h
=
m_calo_id
->
calo_cell_hash
(
id
);
16
return
HVScaleCorr_oflHash
(
h
);
17
}
18
19
const
float
&
LArHVCorr::HVScaleCorr
(
const
HWIdentifier
&
id
)
const
{
20
return
HVScaleCorr
(
m_larCablingSvc
->
cnvToIdentifier
(
id
));
21
}
LArHVCorr::LArHVCorr
LArHVCorr()=delete
CaloCell_Base_ID::calo_cell_hash
IdentifierHash calo_cell_hash(const Identifier cellId) const
create hash id from 'global' cell id
ReadCellNoiseFromCool.cabling
cabling
Definition:
ReadCellNoiseFromCool.py:154
LArHVCorr.h
HWIdentifier
Definition:
HWIdentifier.h:13
LArHVCorr::HVScaleCorr_oflHash
const float & HVScaleCorr_oflHash(const IdentifierHash &h) const
Definition:
LArHVCorr.h:32
LArHVCorr::m_larCablingSvc
const LArOnOffIdMapping * m_larCablingSvc
Definition:
LArHVCorr.h:43
LArHVCorr::m_calo_id
const CaloCell_Base_ID * m_calo_id
Definition:
LArHVCorr.h:44
h
LArOnOffIdMapping::cnvToIdentifier
Identifier cnvToIdentifier(const HWIdentifier &sid) const
create an Identifier from a HWIdentifier (inline)
Definition:
LArOnOffIdMapping.h:116
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
CaloCell_Base_ID
Helper base class for offline cell identifiers.
Definition:
CaloCell_Base_ID.h:41
LArHVCorr::HVScaleCorr
virtual const float & HVScaleCorr(const HWIdentifier &chid) const override final
Definition:
LArHVCorr.cxx:19
LArOnOffIdMapping
Definition:
LArOnOffIdMapping.h:20
Identifier
Definition:
IdentifierFieldParser.cxx:14
Generated on Sun May 25 2025 21:12:56 for ATLAS Offline Software by
1.8.18