ATLAS Offline Software
LArOnOffIdMapping.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
5 
7 
8  m_onlineId(onlineId),
9  m_caloId(caloId)
10 
11 {
12  unsigned nChan=m_onlineId->channelHashMax();
13  m_onlHashToOffline.assign(nChan,m_idEmpty);
14  m_oflHashToOnline.assign(nChan,m_hwidEmpty);
15  m_onlHashToOflHash.assign(nChan,1+caloId->calo_cell_hash_max());
16 }
17 
18 
LArOnOffIdMapping::m_idEmpty
const Identifier m_idEmpty
Invalid default instance of Identifier.
Definition: LArOnOffIdMapping.h:86
LArOnOffIdMapping::m_onlHashToOflHash
std::vector< IdentifierHash > m_onlHashToOflHash
Definition: LArOnOffIdMapping.h:83
LArOnOffIdMapping::m_hwidEmpty
const HWIdentifier m_hwidEmpty
Invalid default instance of HWIdentifier.
Definition: LArOnOffIdMapping.h:89
LArOnOffIdMapping::LArOnOffIdMapping
LArOnOffIdMapping()=delete
LArOnOffIdMapping::m_onlineId
const LArOnlineID_Base * m_onlineId
Definition: LArOnOffIdMapping.h:78
LArOnOffIdMapping.h
LArOnlineID_Base
Helper for the Liquid Argon Calorimeter cell identifiers.
Definition: LArOnlineID_Base.h:105
LArOnlineID_Base::channelHashMax
size_type channelHashMax(void) const
Define channel hash tables max size.
Definition: LArOnlineID_Base.cxx:1897
CaloCell_Base_ID
Helper base class for offline cell identifiers.
Definition: CaloCell_Base_ID.h:41
LArOnOffIdMapping::m_oflHashToOnline
std::vector< HWIdentifier > m_oflHashToOnline
Definition: LArOnOffIdMapping.h:82
LArOnOffIdMapping::m_onlHashToOffline
std::vector< Identifier > m_onlHashToOffline
Definition: LArOnOffIdMapping.h:81
CaloCell_Base_ID::calo_cell_hash_max
size_type calo_cell_hash_max(void) const
cell 'global' hash table max size