7#ifndef LARONOFFIDMAPPING_H
8#define LARONOFFIDMAPPING_H
11#include "Identifier/Identifier.h"
147#include "AthenaKernel/CondCont.h"
Helper base class for offline cell identifiers.
#define CONDCONT_DEF(...)
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Helper base class for offline cell identifiers.
This is a "hash" representation of an Identifier.
const LArOnlineID_Base * m_onlineId
std::vector< Identifier > m_onlHashToOffline
std::vector< Identifier > & getOnlHash2OflId()
Access to underlying storage (not-const only!)
Identifier cnvToIdentifierFromHash(const IdentifierHash &sid_hash) const
create an Identifier from a HWIdentifier (from hash) (inline)
const CaloCell_Base_ID * m_caloId
const Identifier m_idEmpty
Invalid default instance of Identifier.
std::vector< HWIdentifier > & getOflHash2OnId()
std::vector< HWIdentifier > m_oflHashToOnline
const HWIdentifier m_hwidEmpty
Invalid default instance of HWIdentifier.
bool isOnlineConnectedFromHash(const IdentifierHash &sid_hash) const
Test whether a HWIdentifier is connected of not (by online hash) (inline)
IdentifierHash oflHashFromOnlHash(const IdentifierHash &onlHash) const
Offline identifier hash from online.
HWIdentifier createSignalChannelIDFromHash(const IdentifierHash &id_hash) const
create a HWIdentifier from an Identifier (from hash) (inline)
Identifier cnvToIdentifier(const HWIdentifier &sid) const
create an Identifier from a HWIdentifier (inline)
LArOnOffIdMapping()=delete
HWIdentifier createSignalChannelID(const Identifier &id) const
create a HWIdentifier from an Identifier (not inline)
friend class LArOnOffMappingAlg
std::vector< IdentifierHash > m_onlHashToOflHash
bool isOnlineConnected(const HWIdentifier &sid) const
Test whether a HWIdentifier is connected of not (inline)
Helper for the Liquid Argon Calorimeter cell identifiers.