ATLAS Offline Software
LArCalibLineMapping.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
7 
8 
10  m_onlineId(onlineId)
11 
12 {}
13 
14 
15 const std::vector<HWIdentifier>& LArCalibLineMapping::calibSlotLine(const HWIdentifier id) const {
16  const IdentifierHash hid=m_onlineId->channel_Hash(id);
17  return calibSlotLineFromHash(hid);
18 }
LArOnlineID_Base::channel_Hash
IdentifierHash channel_Hash(HWIdentifier channelId) const
Create channel_hash from channel_Id.
Definition: LArOnlineID_Base.cxx:1632
LArCalibLineMapping::calibSlotLine
const std::vector< HWIdentifier > & calibSlotLine(const HWIdentifier id) const
Definition: LArCalibLineMapping.cxx:15
LArOnlineID_Base.h
LArCalibLineMapping::calibSlotLineFromHash
const std::vector< HWIdentifier > & calibSlotLineFromHash(const IdentifierHash h) const
Definition: LArCalibLineMapping.h:36
HWIdentifier
Definition: HWIdentifier.h:13
LArOnlineID_Base
Helper for the Liquid Argon Calorimeter cell identifiers.
Definition: LArOnlineID_Base.h:105
LArCalibLineMapping::m_onlineId
const LArOnlineID_Base * m_onlineId
Definition: LArCalibLineMapping.h:30
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25
LArCalibLineMapping.h
LArCalibLineMapping::LArCalibLineMapping
LArCalibLineMapping()=delete