ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCabling
src
LArOnOffIdMapping.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
#include "
LArCabling/LArOnOffIdMapping.h
"
5
6
LArOnOffIdMapping::LArOnOffIdMapping
(
const
LArOnlineID_Base
* onlineId,
const
CaloCell_Base_ID
* caloId) :
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.h
CaloCell_Base_ID
Helper base class for offline cell identifiers.
Definition
CaloCell_Base_ID.h:40
CaloCell_Base_ID::calo_cell_hash_max
size_type calo_cell_hash_max() const
cell 'global' hash table max size
LArOnOffIdMapping::m_onlineId
const LArOnlineID_Base * m_onlineId
Definition
LArOnOffIdMapping.h:78
LArOnOffIdMapping::m_onlHashToOffline
std::vector< Identifier > m_onlHashToOffline
Definition
LArOnOffIdMapping.h:81
LArOnOffIdMapping::m_caloId
const CaloCell_Base_ID * m_caloId
Definition
LArOnOffIdMapping.h:79
LArOnOffIdMapping::m_idEmpty
const Identifier m_idEmpty
Invalid default instance of Identifier.
Definition
LArOnOffIdMapping.h:86
LArOnOffIdMapping::m_oflHashToOnline
std::vector< HWIdentifier > m_oflHashToOnline
Definition
LArOnOffIdMapping.h:82
LArOnOffIdMapping::m_hwidEmpty
const HWIdentifier m_hwidEmpty
Invalid default instance of HWIdentifier.
Definition
LArOnOffIdMapping.h:89
LArOnOffIdMapping::LArOnOffIdMapping
LArOnOffIdMapping()=delete
LArOnOffIdMapping::m_onlHashToOflHash
std::vector< IdentifierHash > m_onlHashToOflHash
Definition
LArOnOffIdMapping.h:83
LArOnlineID_Base
Helper for the Liquid Argon Calorimeter cell identifiers.
Definition
LArOnlineID_Base.h:97
Generated on
for ATLAS Offline Software by
1.17.0