ATLAS Offline Software
LArCalorimeter
LArRecConditions
src
LArHVData.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
LArRecConditions/LArHVData.h
"
6
#include "Identifier/Identifier.h"
7
8
const
std::vector<LArHVData::HV_t> &
LArHVData::getHV
(
const
Identifier
&
id
)
const
{
9
const
auto
&
it
=
m_voltage
.find(
id
);
10
if
(
it
==
m_voltage
.end())
11
return
m_empty
;
//return empty vector
12
else
{
13
return
it
->second;
14
}
15
}
16
17
skel.it
it
Definition:
skel.GENtoEVGEN.py:396
LArHVData::m_empty
const std::vector< LArHVData::HV_t > m_empty
Definition:
LArHVData.h:47
LArHVData.h
LArHVData::m_voltage
hvMap m_voltage
Definition:
LArHVData.h:44
LArHVData::getHV
const std::vector< LArHVData::HV_t > & getHV(const Identifier &id) const
brief Given a Offline Readout ID, return values of HV and Weight
Definition:
LArHVData.cxx:8
Identifier
Definition:
IdentifierFieldParser.cxx:14
Generated on Thu Nov 7 2024 21:19:42 for ATLAS Offline Software by
1.8.18