ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCOOLConditions
src
LArAutoCorrSC.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/LArAutoCorrSC.h
"
6
#include "
AthenaPoolUtilities/CondAttrListCollection.h
"
7
8
LArAutoCorrSC::LArAutoCorrSC
()
9
:
LArCondSuperCellBase
(
"LArAutoCorrSC"
)
10
{}
11
12
LArAutoCorrSC::~LArAutoCorrSC
() {}
13
14
15
LArAutoCorrSC::LArAutoCorrSC
(
const
CondAttrListCollection
* attrList)
16
:
LArCondSuperCellBase
(
"LArAutoCorrSC"
)
17
{
18
if
(
initializeBase
().isFailure())
return
;
19
20
if
(!attrList)
return
;
21
22
readBlob
(attrList,
msg
());
23
24
}
25
26
ILArAutoCorr::AutoCorrRef_t
LArAutoCorrSC::autoCorr
(
const
HWIdentifier
& hwid,
int
/*gain*/
)
const
{
27
const
IdentifierHash
hash=
m_scOnlineID
->channel_Hash(hwid);
28
return
this->
autocorrByHash
(hash,0);
29
}
30
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
LArAutoCorrSC.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
ILArAutoCorr::AutoCorrRef_t
LArVectorProxy AutoCorrRef_t
Definition
ILArAutoCorr.h:33
IdentifierHash
This is a "hash" representation of an Identifier.
Definition
IdentifierHash.h:25
LArAutoCorrBlob::readBlob
void readBlob(const CondAttrListCollection *attrList, MsgStream &msg)
Definition
LArAutoCorrBlob.cxx:18
LArAutoCorrBlob::autocorrByHash
ILArAutoCorr::AutoCorrRef_t autocorrByHash(const IdentifierHash &hs, int gain) const
Definition
LArAutoCorrBlob.h:28
LArAutoCorrSC::autoCorr
virtual AutoCorrRef_t autoCorr(const HWIdentifier &CellID, int gain) const
Definition
LArAutoCorrSC.cxx:26
LArAutoCorrSC::~LArAutoCorrSC
virtual ~LArAutoCorrSC()
Definition
LArAutoCorrSC.cxx:12
LArAutoCorrSC::LArAutoCorrSC
LArAutoCorrSC()
Definition
LArAutoCorrSC.cxx:8
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
Generated on
for ATLAS Offline Software by
1.17.0