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