ATLAS Offline Software
Loading...
Searching...
No Matches
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
6
7LArHVNMap::LArHVNMap(std::vector<short>& vVec, const LArHVLineID* hvHelper):
8 m_hvHelper(hvHelper),
9 m_hvNcell(vVec),
10 m_noCell(-1) {}
11
12LArHVNMap::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
18short LArHVNMap::HVNcell(const HWIdentifier& id) const {
19 const IdentifierHash h=m_hvHelper-> hvlineHash(id);
20 return HVNcell_Hash(h);
21}
22
Header file for AthHistogramAlgorithm.
This is a "hash" representation of an Identifier.
Helper for the Liquid Argon Calorimeter High-Voltage identifiers.
Definition LArHVLineID.h:43
short HVNcell_Hash(const IdentifierHash &h) const
Definition LArHVNMap.h:28
LArHVNMap()=delete
short HVNcell(const HWIdentifier &chid) const
Definition LArHVNMap.cxx:18
const LArHVLineID * m_hvHelper
Definition LArHVNMap.h:41
std::vector< short > m_hvNcell
Definition LArHVNMap.h:43
const short m_noCell
Definition LArHVNMap.h:44
STL namespace.