ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCOOLConditions
src
LArMphysOverMcalFlat.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
LArCOOLConditions/LArMphysOverMcalFlat.h
"
6
#include "
LArIdentifier/LArOnlineID.h
"
7
8
9
LArMphysOverMcalFlat::LArMphysOverMcalFlat
()
10
:
LArCondFlatBase
(
"LArMphysOverMcalFlat"
)
11
{}
12
13
LArMphysOverMcalFlat::~LArMphysOverMcalFlat
() {}
14
15
16
LArMphysOverMcalFlat::LArMphysOverMcalFlat
(
const
CondAttrListCollection
* attrList)
17
:
LArCondFlatBase
(
"LArMphysOverMcalFlat"
)
18
{
19
if
(
initializeBase
().isFailure())
return
;
20
21
this->
readBlob
(attrList,
"MphysOverMcal"
,
msg
());
22
23
return
;
24
}
25
26
const
float
&
LArMphysOverMcalFlat::MphysOverMcal
(
const
HWIdentifier
& chid,
int
gain)
const
{
27
return
getDataByHash
(
m_onlineHelper
->channel_Hash(chid),gain);
28
}
29
LArMphysOverMcalFlat.h
LArOnlineID.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
LArMphysOverMcalFlat::LArMphysOverMcalFlat
LArMphysOverMcalFlat()
Definition
LArMphysOverMcalFlat.cxx:9
LArMphysOverMcalFlat::~LArMphysOverMcalFlat
virtual ~LArMphysOverMcalFlat()
Definition
LArMphysOverMcalFlat.cxx:13
LArMphysOverMcalFlat::MphysOverMcal
virtual const float & MphysOverMcal(const HWIdentifier &chid, int gain) const
Definition
LArMphysOverMcalFlat.cxx:26
LArSingleFloatBlob::getDataByHash
const float & getDataByHash(const IdentifierHash &hs, const unsigned gain) const
Definition
LArSingleFloatBlob.h:25
LArSingleFloatBlob::readBlob
void readBlob(const CondAttrListCollection *attrList, const char *attrName, MsgStream &msg)
Definition
LArSingleFloatBlob.cxx:15
Generated on
for ATLAS Offline Software by
1.17.0