ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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.h
h
Header file for AthHistogramAlgorithm.
HWIdentifier
Definition
HWIdentifier.h:13
IdentifierHash
This is a "hash" representation of an Identifier.
Definition
IdentifierHash.h:25
LArHVLineID
Helper for the Liquid Argon Calorimeter High-Voltage identifiers.
Definition
LArHVLineID.h:43
LArHVNMap::HVNcell_Hash
short HVNcell_Hash(const IdentifierHash &h) const
Definition
LArHVNMap.h:28
LArHVNMap::LArHVNMap
LArHVNMap()=delete
LArHVNMap::HVNcell
short HVNcell(const HWIdentifier &chid) const
Definition
LArHVNMap.cxx:18
LArHVNMap::m_hvHelper
const LArHVLineID * m_hvHelper
Definition
LArHVNMap.h:41
LArHVNMap::m_hvNcell
std::vector< short > m_hvNcell
Definition
LArHVNMap.h:43
LArHVNMap::m_noCell
const short m_noCell
Definition
LArHVNMap.h:44
vector
Definition
MultiHisto.h:13
std
STL namespace.
Generated on
for ATLAS Offline Software by
1.17.0