ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRecConditions
src
LArHVCorr.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
LArRecConditions/LArHVCorr.h
"
6
7
LArHVCorr::LArHVCorr
(std::vector<float>&& vVec,
const
LArOnOffIdMapping
* cabling,
const
CaloCell_Base_ID
* caloidhelper):
8
m_larCablingSvc
(cabling),
9
m_calo_id
(caloidhelper),
10
m_hvCorr
(
std
::move(vVec)),
11
m_noCorr
(1.0) {}
12
13
// retrieving HVScaleCorr using offline ID
14
const
float
&
LArHVCorr::HVScaleCorr
(
const
Identifier
&
id
)
const
{
15
const
IdentifierHash
h
=
m_calo_id
->calo_cell_hash(
id
);
16
return
HVScaleCorr_oflHash
(
h
);
17
}
18
19
const
float
&
LArHVCorr::HVScaleCorr
(
const
HWIdentifier
&
id
)
const
{
20
return
HVScaleCorr
(
m_larCablingSvc
->cnvToIdentifier(
id
));
21
}
LArHVCorr.h
h
Header file for AthHistogramAlgorithm.
CaloCell_Base_ID
Helper base class for offline cell identifiers.
Definition
CaloCell_Base_ID.h:40
HWIdentifier
Definition
HWIdentifier.h:13
IdentifierHash
This is a "hash" representation of an Identifier.
Definition
IdentifierHash.h:25
LArHVCorr::m_noCorr
const float m_noCorr
Definition
LArHVCorr.h:47
LArHVCorr::HVScaleCorr
virtual const float & HVScaleCorr(const HWIdentifier &chid) const override final
Definition
LArHVCorr.cxx:19
LArHVCorr::LArHVCorr
LArHVCorr()=delete
LArHVCorr::m_larCablingSvc
const LArOnOffIdMapping * m_larCablingSvc
Definition
LArHVCorr.h:43
LArHVCorr::m_hvCorr
std::vector< float > m_hvCorr
Definition
LArHVCorr.h:46
LArHVCorr::HVScaleCorr_oflHash
const float & HVScaleCorr_oflHash(const IdentifierHash &h) const
Definition
LArHVCorr.h:32
LArHVCorr::m_calo_id
const CaloCell_Base_ID * m_calo_id
Definition
LArHVCorr.h:44
LArOnOffIdMapping
Definition
LArOnOffIdMapping.h:20
Identifier
Definition
IdentifierFieldParser.cxx:14
std
STL namespace.
Generated on
for ATLAS Offline Software by
1.17.0