ATLAS Offline Software
LArCalorimeter
LArRecConditions
src
LArFebRodMapping.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
LArRecConditions/LArFebRodMapping.h
"
6
#include "
LArIdentifier/LArOnlineID.h
"
7
8
9
LArFebRodMapping::LArFebRodMapping
(
const
LArOnlineID
* onlineId) :
10
m_onlineId(onlineId),
11
m_pFebHashtoROD(nullptr)
12
13
{}
14
15
HWIdentifier
LArFebRodMapping::getReadoutModuleID
(
const
HWIdentifier
& febId)
const
{
16
const
IdentifierHash
& fHash=
m_onlineId
->
feb_Hash
(febId);
17
return
getReadoutModuleIDFromHash
(fHash);
18
}
LArFebRodMapping.h
LArFebRodMapping::getReadoutModuleID
HWIdentifier getReadoutModuleID(const HWIdentifier &id) const
Definition:
LArFebRodMapping.cxx:15
HWIdentifier
Definition:
HWIdentifier.h:13
LArFebRodMapping::m_onlineId
const LArOnlineID * m_onlineId
Definition:
LArFebRodMapping.h:34
LArFebRodMapping::LArFebRodMapping
LArFebRodMapping()=delete
LArOnlineID
Definition:
LArOnlineID.h:20
LArFebRodMapping::getReadoutModuleIDFromHash
HWIdentifier getReadoutModuleIDFromHash(const IdentifierHash h) const
Definition:
LArFebRodMapping.h:42
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition:
IdentifierHash.h:25
LArOnlineID_Base::feb_Hash
IdentifierHash feb_Hash(HWIdentifier febId) const
Create feb hash identifiers from feb identifiers.
Definition:
LArOnlineID_Base.cxx:1512
LArOnlineID.h
Generated on Thu Nov 7 2024 21:19:36 for ATLAS Offline Software by
1.8.18