ATLAS Offline Software
Loading...
Searching...
No Matches
LArNoiseSC.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8//const float LArNoiseSC::errorcode=ILArNoise::ERRORCODE;
9
13
15
16
18 : LArCondSuperCellBase ("LArNoiseSC")
19{
20 if (initializeBase().isFailure()) return;
21
22 readBlob(attrList,"Noise",msg());
23
24 return;
25}
26
27
28const float& LArNoiseSC::noise(const HWIdentifier& hwid, int /*gain*/) const {
29 const IdentifierHash hash=m_scOnlineID->channel_Hash(hwid);
30 return this->getDataByHash(hash, 0);
31}
32
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)
virtual const float & noise(const HWIdentifier &chid, int gain) const
virtual ~LArNoiseSC()
const float & getDataByHash(const IdentifierHash &hs, const unsigned gain) const
void readBlob(const CondAttrListCollection *attrList, const char *attrName, MsgStream &msg)