ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCOOLConditions
src
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
5
#include "
LArCOOLConditions/LArPedestalSC.h
"
6
#include "
AthenaPoolUtilities/CondAttrListCollection.h
"
7
8
LArPedestalSC::LArPedestalSC
()
9
:
LArCondSuperCellBase
(
"LArPedestalSC"
)
10
{}
11
12
LArPedestalSC::LArPedestalSC
(
const
CondAttrListCollection
* attrList)
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
{
22
const
IdentifierHash
hash=
m_scOnlineID
->channel_Hash(hwid);
23
return
this->
pedestalByHash
(hash,0);
24
}
25
26
float
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
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
LArPedestalSC.h
AthMessaging::msg
MsgStream & msg() const
The standard message stream.
Definition
AthMessaging.h:167
CondAttrListCollection
This class is a collection of AttributeLists where each one is associated with a channel number.
Definition
CondAttrListCollection.h:51
HWIdentifier
Definition
HWIdentifier.h:13
IdentifierHash
This is a "hash" representation of an Identifier.
Definition
IdentifierHash.h:25
LArCondSuperCellBase::initializeBase
StatusCode initializeBase()
Definition
LArCondSuperCellBase.cxx:21
LArCondSuperCellBase::m_scOnlineID
const LArOnline_SuperCellID * m_scOnlineID
Definition
LArCondSuperCellBase.h:23
LArCondSuperCellBase::LArCondSuperCellBase
LArCondSuperCellBase(const std::string &name)
Definition
LArCondSuperCellBase.cxx:14
LArPedestalBlob::pedestalByHash
float pedestalByHash(const IdentifierHash &hs, const unsigned gain) const
Definition
LArPedestalBlob.h:26
LArPedestalBlob::pedestalRMSByHash
float pedestalRMSByHash(const IdentifierHash &hs, const unsigned gain) const
Definition
LArPedestalBlob.h:33
LArPedestalBlob::readBlob
void readBlob(const CondAttrListCollection *attrList, MsgStream &msg)
Definition
LArPedestalBlob.cxx:18
LArPedestalSC::pedestal
virtual float pedestal(const HWIdentifier &CellID, int gain) const
Definition
LArPedestalSC.cxx:21
LArPedestalSC::LArPedestalSC
LArPedestalSC()
Definition
LArPedestalSC.cxx:8
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
Generated on
for ATLAS Offline Software by
1.17.0