#include <LArOnOffIdMapping.h>
Definition at line 20 of file LArOnOffIdMapping.h.
◆ LArOnOffIdMapping() [1/2]
| LArOnOffIdMapping::LArOnOffIdMapping |
( |
| ) |
|
|
delete |
◆ LArOnOffIdMapping() [2/2]
Definition at line 6 of file LArOnOffIdMapping.cxx.
6 :
7
10
11{
16}
const LArOnlineID_Base * m_onlineId
std::vector< Identifier > m_onlHashToOffline
const CaloCell_Base_ID * m_caloId
const Identifier m_idEmpty
Invalid default instance of Identifier.
std::vector< HWIdentifier > m_oflHashToOnline
const HWIdentifier m_hwidEmpty
Invalid default instance of HWIdentifier.
std::vector< IdentifierHash > m_onlHashToOflHash
◆ cnvToIdentifier()
create an Identifier from a HWIdentifier (inline)
Definition at line 116 of file LArOnOffIdMapping.h.
116 {
117 const IdentifierHash sid_hash=
m_onlineId->channel_Hash(sid);
119 }
Identifier cnvToIdentifierFromHash(const IdentifierHash &sid_hash) const
create an Identifier from a HWIdentifier (from hash) (inline)
◆ cnvToIdentifierFromHash()
◆ createSignalChannelID()
create a HWIdentifier from an Identifier (not inline)
Definition at line 126 of file LArOnOffIdMapping.h.
126 {
127 const IdentifierHash id_hash=
m_caloId->calo_cell_hash(
id);
129}
HWIdentifier createSignalChannelIDFromHash(const IdentifierHash &id_hash) const
create a HWIdentifier from an Identifier (from hash) (inline)
◆ createSignalChannelIDFromHash()
◆ getOflHash2OnId()
| std::vector< HWIdentifier > & LArOnOffIdMapping::getOflHash2OnId |
( |
| ) |
|
|
inline |
◆ getOnlHash2OflId()
| std::vector< Identifier > & LArOnOffIdMapping::getOnlHash2OflId |
( |
| ) |
|
|
inline |
◆ isOnlineConnected()
| bool LArOnOffIdMapping::isOnlineConnected |
( |
const HWIdentifier & | sid | ) |
const |
|
inline |
Test whether a HWIdentifier is connected of not (inline)
Definition at line 121 of file LArOnOffIdMapping.h.
121 {
122 const IdentifierHash sid_hash=
m_onlineId->channel_Hash(sid);
124}
bool isOnlineConnectedFromHash(const IdentifierHash &sid_hash) const
Test whether a HWIdentifier is connected of not (by online hash) (inline)
◆ isOnlineConnectedFromHash()
| bool LArOnOffIdMapping::isOnlineConnectedFromHash |
( |
const IdentifierHash & | sid_hash | ) |
const |
|
inline |
◆ oflHashFromOnlHash()
◆ LArOnOffMappingAlg
◆ m_caloId
◆ m_hwidEmpty
◆ m_idEmpty
◆ m_oflHashToOnline
| std::vector<HWIdentifier> LArOnOffIdMapping::m_oflHashToOnline |
|
private |
◆ m_onlHashToOffline
| std::vector<Identifier> LArOnOffIdMapping::m_onlHashToOffline |
|
private |
◆ m_onlHashToOflHash
◆ m_onlineId
The documentation for this class was generated from the following files: