ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCOOLConditions
src
LArRampSC.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/LArRampSC.h
"
6
#include "
AthenaPoolUtilities/CondAttrListCollection.h
"
7
8
LArRampSC::LArRampSC
()
9
:
LArCondSuperCellBase
(
"LArRampSC"
)
10
{}
11
12
LArRampSC::~LArRampSC
() {}
13
14
15
LArRampSC::LArRampSC
(
const
CondAttrListCollection
* attrList)
16
:
LArCondSuperCellBase
(
"LArRampSC"
)
17
{
18
if
(
initializeBase
().isFailure())
return
;
19
20
if
(!attrList)
return
;
21
22
readBlob
(attrList,
msg
());
23
24
}
25
26
ILArRamp::RampRef_t
LArRampSC::ADC2DAC
(
const
HWIdentifier
& hwid,
int
/*gain*/
)
const
{
27
const
IdentifierHash
hash=
m_scOnlineID
->channel_Hash(hwid);
28
return
this->
ADC2DACByHash
(hash, 0);
29
}
30
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
LArRampSC.h
AthMessaging::msg
MsgStream & msg() const
The standard message stream.
Definition
AthMessaging.h:167
CondAttrListCollection
This class is a collection of AttributeLists where each one is associated with a channel number.
Definition
CondAttrListCollection.h:51
HWIdentifier
Definition
HWIdentifier.h:13
ILArRamp::RampRef_t
LArVectorProxy RampRef_t
This class defines the interface for accessing Ramp @stereotype Interface.
Definition
ILArRamp.h:31
IdentifierHash
This is a "hash" representation of an Identifier.
Definition
IdentifierHash.h:25
LArCondSuperCellBase::initializeBase
StatusCode initializeBase()
Definition
LArCondSuperCellBase.cxx:21
LArCondSuperCellBase::m_scOnlineID
const LArOnline_SuperCellID * m_scOnlineID
Definition
LArCondSuperCellBase.h:23
LArCondSuperCellBase::LArCondSuperCellBase
LArCondSuperCellBase(const std::string &name)
Definition
LArCondSuperCellBase.cxx:14
LArRampBlob::readBlob
void readBlob(const CondAttrListCollection *attrList, MsgStream &msg)
Definition
LArRampBlob.cxx:18
LArRampBlob::ADC2DACByHash
ILArRamp::RampRef_t ADC2DACByHash(const IdentifierHash &hs, int gain) const
Definition
LArRampBlob.h:28
LArRampSC::LArRampSC
LArRampSC()
Definition
LArRampSC.cxx:8
LArRampSC::~LArRampSC
virtual ~LArRampSC()
Definition
LArRampSC.cxx:12
LArRampSC::ADC2DAC
virtual RampRef_t ADC2DAC(const HWIdentifier &CellID, int gain) const
Definition
LArRampSC.cxx:26
Generated on
for ATLAS Offline Software by
1.17.0