ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCOOLConditions
src
LArMinBiasSC.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/LArMinBiasSC.h
"
6
7
8
//const float LArMinBiasSC::errorcode=ILArMinBias::ERRORCODE;
9
10
LArMinBiasSC::LArMinBiasSC
()
11
:
LArCondSuperCellBase
(
"LArMinBiasSC"
)
12
{}
13
14
LArMinBiasSC::~LArMinBiasSC
() {}
15
16
17
LArMinBiasSC::LArMinBiasSC
(
const
CondAttrListCollection
* attrList)
18
:
LArCondSuperCellBase
(
"LArMinBiasSC"
)
19
{
20
if
(
initializeBase
().isFailure())
return
;
21
22
readBlob
(attrList,
"MinBias"
,
msg
());
23
24
if
(
m_pValues
.size()!=1) {
25
ATH_MSG_ERROR
(
"Found unexpected number of gains ("
<<
m_pValues
.size() <<
"). Expected exactly one gain."
);
26
}
27
28
return
;
29
}
30
31
32
const
float
&
LArMinBiasSC::minBiasRMS
(
const
HWIdentifier
& hwid)
const
{
33
const
IdentifierHash
hash=
m_scOnlineID
->channel_Hash(hwid);
34
return
this->
getDataByHash
(hash, 0);
35
}
36
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition
AthMsgStreamMacros.h:33
LArMinBiasSC.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
LArMinBiasSC::minBiasRMS
virtual const float & minBiasRMS(const HWIdentifier &chid) const
access to RMS of E in minimum bias events index by Identifier
Definition
LArMinBiasSC.cxx:32
LArMinBiasSC::~LArMinBiasSC
virtual ~LArMinBiasSC()
Definition
LArMinBiasSC.cxx:14
LArMinBiasSC::LArMinBiasSC
LArMinBiasSC()
Definition
LArMinBiasSC.cxx:10
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
LArSingleFloatBlob::m_pValues
std::vector< const float * > m_pValues
Definition
LArSingleFloatBlob.h:29
Generated on
for ATLAS Offline Software by
1.17.0