ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCOOLConditions
src
LArPedestalFlat.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/LArPedestalFlat.h
"
6
#include "
AthenaPoolUtilities/CondAttrListCollection.h
"
7
#include "CoralBase/Blob.h"
8
#include "CoralBase/Attribute.h"
9
#include "CoralBase/AttributeList.h"
10
#include "CoralBase/AttributeListSpecification.h"
11
12
LArPedestalFlat::LArPedestalFlat
()
13
:
LArCondFlatBase
(
"LArPedestalFlat"
)
14
{}
15
16
17
LArPedestalFlat::LArPedestalFlat
(
const
CondAttrListCollection
* attrList)
18
:
LArCondFlatBase
(
"LArPedestalFlat"
)
19
{
20
if
(
initializeBase
().isFailure())
return
;
21
22
readBlob
(attrList,
msg
());
23
return
;
24
}
25
26
27
float
LArPedestalFlat::pedestal
(
const
HWIdentifier
& CellID,
int
gain)
const
{
28
return
this->
pedestalByHash
(
m_onlineHelper
->channel_Hash(CellID),gain);
29
}
30
31
float
LArPedestalFlat::pedestalRMS
(
const
HWIdentifier
& CellID,
int
gain)
const
{
32
return
this->
pedestalRMSByHash
(
m_onlineHelper
->channel_Hash(CellID),gain);
33
}
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
LArPedestalFlat.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
LArCondFlatBase::LArCondFlatBase
LArCondFlatBase(const std::string &name)
Definition
LArCondFlatBase.cxx:19
LArCondFlatBase::m_onlineHelper
const LArOnlineID * m_onlineHelper
Definition
LArCondFlatBase.h:25
LArCondFlatBase::initializeBase
StatusCode initializeBase()
Definition
LArCondFlatBase.cxx:26
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
LArPedestalFlat::LArPedestalFlat
LArPedestalFlat()
Definition
LArPedestalFlat.cxx:12
LArPedestalFlat::pedestalRMS
virtual float pedestalRMS(const HWIdentifier &CellID, int gain) const
access to RMS of Pedestal index by Identifier, and gain setting
Definition
LArPedestalFlat.cxx:31
LArPedestalFlat::pedestal
virtual float pedestal(const HWIdentifier &CellID, int gain) const
Definition
LArPedestalFlat.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0