ATLAS Offline Software
Loading...
Searching...
No Matches
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

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{}
const LArOnlineID * m_onlineId
const uint32_t * m_pFebHashtoROD

Member Function Documentation

◆ getLArRoModIDvec()

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

"iterator" on LArReadoutModuleIDs

Definition at line 46 of file LArFebRodMapping.h.

46 {
48}
std::vector< HWIdentifier > m_readoutModuleIDVec

◆ 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}
HWIdentifier getReadoutModuleIDFromHash(const IdentifierHash h) const

◆ getReadoutModuleIDFromHash()

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

Definition at line 42 of file LArFebRodMapping.h.

42 {
43 return HWIdentifier(m_pFebHashtoROD[h]);
44}

◆ 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: