ATLAS Offline Software
Loading...
Searching...
No Matches
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
11
13 : LArCondSuperCellBase ("LArPedestalSC")
14{
15 if (initializeBase().isFailure()) return;
16
17 readBlob(attrList,msg());
18}
19
20
21float LArPedestalSC::pedestal(const HWIdentifier& hwid, int /*gain*/) const {
22 const IdentifierHash hash=m_scOnlineID->channel_Hash(hwid);
23 return this->pedestalByHash(hash,0);
24}
25
26float LArPedestalSC::pedestalRMS(const HWIdentifier& hwid, int /*gain*/) const {
27 const IdentifierHash hash=m_scOnlineID->channel_Hash(hwid);
28 return this->pedestalRMSByHash(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.
This is a "hash" representation of an Identifier.
const LArOnline_SuperCellID * m_scOnlineID
LArCondSuperCellBase(const std::string &name)
float pedestalByHash(const IdentifierHash &hs, const unsigned gain) const
float pedestalRMSByHash(const IdentifierHash &hs, const unsigned gain) const
void readBlob(const CondAttrListCollection *attrList, MsgStream &msg)
virtual float pedestal(const HWIdentifier &CellID, int gain) const
virtual float pedestalRMS(const HWIdentifier &CellID, int gain) const
access to RMS of Pedestal index by Identifier, and gain setting