ATLAS Offline Software
Public Member Functions | Private Attributes | Friends | List of all members
LArFebRodMapping Class Reference

#include <LArFebRodMapping.h>

Collaboration diagram for LArFebRodMapping:

Public Member Functions

 LArFebRodMapping ()=delete
 
 LArFebRodMapping (const LArOnlineID *onlineId)
 
HWIdentifier getReadoutModuleID (const HWIdentifier &id) const
 
HWIdentifier getReadoutModuleIDFromHash (const IdentifierHash h) const
 
const std::vector< HWIdentifier > & getLArRoModIDvec () const
 "iterator" on LArReadoutModuleIDs More...
 

Private Attributes

const LArOnlineIDm_onlineId
 
const uint32_t * m_pFebHashtoROD
 
std::vector< HWIdentifierm_readoutModuleIDVec
 

Friends

class LArFebRodMappingAlg
 

Detailed Description

Definition at line 17 of file LArFebRodMapping.h.

Constructor & Destructor Documentation

◆ LArFebRodMapping() [1/2]

LArFebRodMapping::LArFebRodMapping ( )
delete

◆ LArFebRodMapping() [2/2]

LArFebRodMapping::LArFebRodMapping ( const LArOnlineID onlineId)

Definition at line 9 of file LArFebRodMapping.cxx.

9  :
10  m_onlineId(onlineId),
11  m_pFebHashtoROD(nullptr)
12 
13 {}

Member Function Documentation

◆ getLArRoModIDvec()

const std::vector< HWIdentifier > & LArFebRodMapping::getLArRoModIDvec ( ) const
inline

"iterator" on LArReadoutModuleIDs

Definition at line 46 of file LArFebRodMapping.h.

46  {
47  return m_readoutModuleIDVec;
48 }

◆ getReadoutModuleID()

HWIdentifier LArFebRodMapping::getReadoutModuleID ( const HWIdentifier id) const

Definition at line 15 of file LArFebRodMapping.cxx.

15  {
16  const IdentifierHash& fHash=m_onlineId->feb_Hash(febId);
17  return getReadoutModuleIDFromHash(fHash);
18 }

◆ getReadoutModuleIDFromHash()

HWIdentifier LArFebRodMapping::getReadoutModuleIDFromHash ( const IdentifierHash  h) const
inline

Definition at line 42 of file LArFebRodMapping.h.

42  {
44 }

Friends And Related Function Documentation

◆ LArFebRodMappingAlg

friend class LArFebRodMappingAlg
friend

Definition at line 19 of file LArFebRodMapping.h.

Member Data Documentation

◆ m_onlineId

const LArOnlineID* LArFebRodMapping::m_onlineId
private

Definition at line 34 of file LArFebRodMapping.h.

◆ m_pFebHashtoROD

const uint32_t* LArFebRodMapping::m_pFebHashtoROD
private

Definition at line 35 of file LArFebRodMapping.h.

◆ m_readoutModuleIDVec

std::vector<HWIdentifier> LArFebRodMapping::m_readoutModuleIDVec
private

Definition at line 36 of file LArFebRodMapping.h.


The documentation for this class was generated from the following files:
HWIdentifier
Definition: HWIdentifier.h:13
LArFebRodMapping::m_onlineId
const LArOnlineID * m_onlineId
Definition: LArFebRodMapping.h:34
LArFebRodMapping::m_pFebHashtoROD
const uint32_t * m_pFebHashtoROD
Definition: LArFebRodMapping.h:35
LArFebRodMapping::m_readoutModuleIDVec
std::vector< HWIdentifier > m_readoutModuleIDVec
Definition: LArFebRodMapping.h:36
LArFebRodMapping::getReadoutModuleIDFromHash
HWIdentifier getReadoutModuleIDFromHash(const IdentifierHash h) const
Definition: LArFebRodMapping.h:42
h
IdentifierHash
Definition: IdentifierHash.h:38
LArOnlineID_Base::feb_Hash
IdentifierHash feb_Hash(HWIdentifier febId) const
Create feb hash identifiers from feb identifiers.
Definition: LArOnlineID_Base.cxx:1516