ATLAS Offline Software
LArCalorimeter
LArRecConditions
src
LArHVNMap.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
LArRecConditions/LArHVNMap.h
"
6
7
LArHVNMap::LArHVNMap
(std::vector<short>& vVec,
const
LArHVLineID
* hvHelper):
8
m_hvHelper(hvHelper),
9
m_hvNcell(vVec),
10
m_noCell(-1) {}
11
12
LArHVNMap::LArHVNMap
(
unsigned
len,
const
LArHVLineID
* hvHelper):
13
m_hvHelper(hvHelper),
14
m_hvNcell(std::
vector
<
short
>(len,0)),
15
m_noCell(-1) {}
16
17
// retrieving HVScaleCorr using offline ID
18
short
LArHVNMap::HVNcell
(
const
HWIdentifier
&
id
)
const
{
19
const
IdentifierHash
h
=
m_hvHelper
-> hvlineHash(
id
);
20
return
HVNcell_Hash
(
h
);
21
}
22
LArHVNMap::HVNcell_Hash
short HVNcell_Hash(const IdentifierHash &h) const
Definition:
LArHVNMap.h:28
xAOD::short
short
Definition:
Vertex_v1.cxx:165
HWIdentifier
Definition:
HWIdentifier.h:13
vector
Definition:
MultiHisto.h:13
LArHVNMap.h
LArHVNMap::m_hvHelper
const LArHVLineID * m_hvHelper
Definition:
LArHVNMap.h:41
h
LArHVNMap::HVNcell
short HVNcell(const HWIdentifier &chid) const
Definition:
LArHVNMap.cxx:18
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition:
IdentifierHash.h:25
LArHVNMap::LArHVNMap
LArHVNMap()=delete
LArHVLineID
Helper for the Liquid Argon Calorimeter High-Voltage identifiers.
Definition:
LArHVLineID.h:48
Generated on Sun Dec 22 2024 21:13:32 for ATLAS Offline Software by
1.8.18