ATLAS Offline Software
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 
7 
9  : LArCondSuperCellBase ("LArRampSC")
10 {}
11 
13 
14 
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 {
28  return this->ADC2DACByHash(hash, 0);
29 }
30 
LArRampBlob::readBlob
void readBlob(const CondAttrListCollection *attrList, MsgStream &msg)
Definition: LArRampBlob.cxx:18
LArOnlineID_Base::channel_Hash
IdentifierHash channel_Hash(HWIdentifier channelId) const
Create channel_hash from channel_Id.
Definition: LArOnlineID_Base.cxx:1636
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
LArCondSuperCellBase::m_scOnlineID
const LArOnline_SuperCellID * m_scOnlineID
Definition: LArCondSuperCellBase.h:27
LArRampSC.h
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
LArCondSuperCellBase::initializeBase
StatusCode initializeBase()
Definition: LArCondSuperCellBase.cxx:30
AthMessaging::msg
MsgStream & msg() const
The standard message stream.
Definition: AthMessaging.h:164
LArCondSuperCellBase
Definition: LArCondSuperCellBase.h:19
LArRampBlob::ADC2DACByHash
ILArRamp::RampRef_t ADC2DACByHash(const IdentifierHash &hs, int gain) const
Definition: LArRampBlob.h:28
LArRampSC::ADC2DAC
virtual RampRef_t ADC2DAC(const HWIdentifier &CellID, int gain) const
Definition: LArRampSC.cxx:26
CaloCondBlobAlgs_fillNoiseFromASCII.hash
dictionary hash
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:109
LArRampSC::LArRampSC
LArRampSC()
Definition: LArRampSC.cxx:8
LArRampSC::~LArRampSC
virtual ~LArRampSC()
Definition: LArRampSC.cxx:12
IdentifierHash
Definition: IdentifierHash.h:38
LArVectorProxy
Proxy for accessing a range of float values like a vector.
Definition: LArVectorProxy.h:38