ATLAS Offline Software
LArPedestalSC.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 ("LArPedestalSC")
10 {}
11 
13  : LArCondSuperCellBase ("LArPedestalSC")
14 {
15  if (initializeBase().isFailure()) return;
16 
17  readBlob(attrList,msg());
18 }
19 
20 
21 float LArPedestalSC::pedestal(const HWIdentifier& hwid, int /*gain*/) const {
23  return this->pedestalByHash(hash,0);
24 }
25 
26 float LArPedestalSC::pedestalRMS(const HWIdentifier& hwid, int /*gain*/) const {
28  return this->pedestalRMSByHash(hash,0);
29 }
30 
LArOnlineID_Base::channel_Hash
IdentifierHash channel_Hash(HWIdentifier channelId) const
Create channel_hash from channel_Id.
Definition: LArOnlineID_Base.cxx:1636
LArPedestalBlob::pedestalRMSByHash
float pedestalRMSByHash(const IdentifierHash &hs, const unsigned gain) const
Definition: LArPedestalBlob.h:31
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
LArPedestalBlob::readBlob
void readBlob(const CondAttrListCollection *attrList, MsgStream &msg)
Definition: LArPedestalBlob.cxx:18
LArCondSuperCellBase::m_scOnlineID
const LArOnline_SuperCellID * m_scOnlineID
Definition: LArCondSuperCellBase.h:27
LArPedestalSC.h
LArPedestalBlob::pedestalByHash
float pedestalByHash(const IdentifierHash &hs, const unsigned gain) const
Definition: LArPedestalBlob.h:26
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
LArPedestalSC::LArPedestalSC
LArPedestalSC()
Definition: LArPedestalSC.cxx:8
LArCondSuperCellBase::initializeBase
StatusCode initializeBase()
Definition: LArCondSuperCellBase.cxx:30
LArPedestalSC::pedestalRMS
virtual float pedestalRMS(const HWIdentifier &CellID, int gain) const
access to RMS of Pedestal index by Identifier, and gain setting
Definition: LArPedestalSC.cxx:26
AthMessaging::msg
MsgStream & msg() const
The standard message stream.
Definition: AthMessaging.h:164
LArCondSuperCellBase
Definition: LArCondSuperCellBase.h:19
CaloCondBlobAlgs_fillNoiseFromASCII.hash
dictionary hash
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:109
IdentifierHash
Definition: IdentifierHash.h:38
LArPedestalSC::pedestal
virtual float pedestal(const HWIdentifier &CellID, int gain) const
Definition: LArPedestalSC.cxx:21