ATLAS Offline Software
Loading...
Searching...
No Matches
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
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
26ILArRamp::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
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
MsgStream & msg() const
The standard message stream.
This class is a collection of AttributeLists where each one is associated with a channel number.
LArVectorProxy RampRef_t
This class defines the interface for accessing Ramp @stereotype Interface.
Definition ILArRamp.h:31
This is a "hash" representation of an Identifier.
const LArOnline_SuperCellID * m_scOnlineID
LArCondSuperCellBase(const std::string &name)
void readBlob(const CondAttrListCollection *attrList, MsgStream &msg)
ILArRamp::RampRef_t ADC2DACByHash(const IdentifierHash &hs, int gain) const
Definition LArRampBlob.h:28
virtual ~LArRampSC()
Definition LArRampSC.cxx:12
virtual RampRef_t ADC2DAC(const HWIdentifier &CellID, int gain) const
Definition LArRampSC.cxx:26