ATLAS Offline Software
LArHVCorr.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
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(vVec),
11  m_noCorr(1.0) {}
12 
13 // retrieving HVScaleCorr using offline ID
14 const float& LArHVCorr::HVScaleCorr(const Identifier& id) const {
16  return HVScaleCorr_oflHash(h);
17 }
18 
19 const float& LArHVCorr::HVScaleCorr(const HWIdentifier& id) const {
21 }
LArHVCorr::LArHVCorr
LArHVCorr()=delete
CaloCell_Base_ID::calo_cell_hash
IdentifierHash calo_cell_hash(const Identifier cellId) const
create hash id from 'global' cell id
ReadCellNoiseFromCool.cabling
cabling
Definition: ReadCellNoiseFromCool.py:154
LArHVCorr.h
HWIdentifier
Definition: HWIdentifier.h:13
LArHVCorr::HVScaleCorr_oflHash
const float & HVScaleCorr_oflHash(const IdentifierHash &h) const
Definition: LArHVCorr.h:32
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
LArHVCorr::m_larCablingSvc
const LArOnOffIdMapping * m_larCablingSvc
Definition: LArHVCorr.h:43
LArHVCorr::m_calo_id
const CaloCell_Base_ID * m_calo_id
Definition: LArHVCorr.h:44
h
LArOnOffIdMapping::cnvToIdentifier
Identifier cnvToIdentifier(const HWIdentifier &sid) const
create an Identifier from a HWIdentifier (inline)
Definition: LArOnOffIdMapping.h:116
IdentifierHash
Definition: IdentifierHash.h:38
CaloCell_Base_ID
Helper base class for offline cell identifiers.
Definition: CaloCell_Base_ID.h:41
LArHVCorr::HVScaleCorr
virtual const float & HVScaleCorr(const HWIdentifier &chid) const override final
Definition: LArHVCorr.cxx:19
LArOnOffIdMapping
Definition: LArOnOffIdMapping.h:20