ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCOOLConditions
src
LArMphysOverMcalSC.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/LArMphysOverMcalSC.h
"
6
7
8
//const float LArMphysOverMcalSC::m_errorcode=ILArMphysOverMcal::ERRORCODE;
9
10
LArMphysOverMcalSC::LArMphysOverMcalSC
()
11
:
LArCondSuperCellBase
(
"LArMphysOverMcalSC"
)
12
{}
13
14
LArMphysOverMcalSC::~LArMphysOverMcalSC
() {}
15
16
17
LArMphysOverMcalSC::LArMphysOverMcalSC
(
const
CondAttrListCollection
* attrList)
18
:
LArCondSuperCellBase
(
"LArMphysOverMcalSC"
)
19
{
20
if
(
initializeBase
().isFailure())
return
;
21
readBlob
(attrList,
"MphysOverMcal"
,
msg
());
22
23
return
;
24
}
25
26
27
const
float
&
LArMphysOverMcalSC::MphysOverMcal
(
const
HWIdentifier
& hwid,
int
/*gain*/
)
const
{
28
const
IdentifierHash
hash=
m_scOnlineID
->channel_Hash(hwid);
29
return
this->
getDataByHash
(hash,0);
30
}
31
LArMphysOverMcalSC.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
LArMphysOverMcalSC::MphysOverMcal
virtual const float & MphysOverMcal(const HWIdentifier &chid, int gain) const
Definition
LArMphysOverMcalSC.cxx:27
LArMphysOverMcalSC::LArMphysOverMcalSC
LArMphysOverMcalSC()
Definition
LArMphysOverMcalSC.cxx:10
LArMphysOverMcalSC::~LArMphysOverMcalSC
virtual ~LArMphysOverMcalSC()
Definition
LArMphysOverMcalSC.cxx:14
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