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
LArCalorimeter
LArCOOLConditions
src
LArDAC2uASC.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
LArCOOLConditions/LArDAC2uASC.h
"
6
7
//const float LArDAC2uASC::errorcode=ILArDAC2uA::ERRORCODE;
8
9
LArDAC2uASC::LArDAC2uASC
()
10
:
LArCondSuperCellBase
(
"LArDAC2uASC"
)
11
{}
12
13
LArDAC2uASC::~LArDAC2uASC
() {}
14
15
16
LArDAC2uASC::LArDAC2uASC
(
const
CondAttrListCollection
* attrList)
17
:
LArCondSuperCellBase
(
"LArDAC2uASC"
)
18
{
19
if
(
initializeBase
().isFailure())
return
;
20
21
readBlob
(attrList,
"DAC2uA"
,
msg
());
22
23
if
(
m_pValues
.size()!=1) {
24
ATH_MSG_ERROR
(
"Found unexpected number of gains ("
<<
m_pValues
.size() <<
"). Expected exactly one gain."
);
25
}
26
27
return
;
28
}
29
30
31
const
float
&
LArDAC2uASC::DAC2UA
(
const
HWIdentifier
& hwid)
const
{
32
const
IdentifierHash
hash
=
m_scOnlineID
->
channel_Hash
(hwid);
33
return
this->
getDataByHash
(hash, 0);
34
}
35
LArOnlineID_Base::channel_Hash
IdentifierHash channel_Hash(HWIdentifier channelId) const
Create channel_hash from channel_Id.
Definition:
LArOnlineID_Base.cxx:1632
LArSingleFloatBlob::readBlob
void readBlob(const CondAttrListCollection *attrList, const char *attrName, MsgStream &msg)
Definition:
LArSingleFloatBlob.cxx:15
LArCondSuperCellBase::m_scOnlineID
const LArOnline_SuperCellID * m_scOnlineID
Definition:
LArCondSuperCellBase.h:23
HWIdentifier
Definition:
HWIdentifier.h:13
CondAttrListCollection
This class is a collection of AttributeLists where each one is associated with a channel number....
Definition:
CondAttrListCollection.h:52
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition:
AthMsgStreamMacros.h:33
LArCondSuperCellBase::initializeBase
StatusCode initializeBase()
Definition:
LArCondSuperCellBase.cxx:22
AthMessaging::msg
MsgStream & msg() const
The standard message stream.
Definition:
AthMessaging.h:164
LArSingleFloatBlob::getDataByHash
const float & getDataByHash(const IdentifierHash &hs, const unsigned gain) const
Definition:
LArSingleFloatBlob.h:25
LArSingleFloatBlob::m_pValues
std::vector< const float * > m_pValues
Definition:
LArSingleFloatBlob.h:29
LArCondSuperCellBase
Definition:
LArCondSuperCellBase.h:15
LArDAC2uASC::~LArDAC2uASC
virtual ~LArDAC2uASC()
Definition:
LArDAC2uASC.cxx:13
CaloCondBlobAlgs_fillNoiseFromASCII.hash
dictionary hash
Definition:
CaloCondBlobAlgs_fillNoiseFromASCII.py:109
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
LArDAC2uASC::LArDAC2uASC
LArDAC2uASC()
Definition:
LArDAC2uASC.cxx:9
LArDAC2uASC.h
LArDAC2uASC::DAC2UA
virtual const float & DAC2UA(const HWIdentifier &chid) const
access to DAC2UA conversion factor index by Identifier, and gain setting
Definition:
LArDAC2uASC.cxx:31
Generated on Sat Mar 15 2025 21:13:41 for ATLAS Offline Software by
1.8.18