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

#include <LArCalibLineMapping.h>

Collaboration diagram for LArCalibLineMapping:

Public Member Functions

 LArCalibLineMapping ()=delete
 
 LArCalibLineMapping (const LArOnlineID_Base *onlineId)
 
const std::vector< HWIdentifier > & calibSlotLine (const HWIdentifier id) const
 
const std::vector< HWIdentifier > & calibSlotLineFromHash (const IdentifierHash h) const
 

Private Attributes

std::vector< std::vector< HWIdentifier > > m_onlHashToCalibLines
 
const LArOnlineID_Basem_onlineId
 

Friends

class LArCalibLineMappingAlg
 

Detailed Description

Definition at line 17 of file LArCalibLineMapping.h.

Constructor & Destructor Documentation

◆ LArCalibLineMapping() [1/2]

LArCalibLineMapping::LArCalibLineMapping ( )
delete

◆ LArCalibLineMapping() [2/2]

LArCalibLineMapping::LArCalibLineMapping ( const LArOnlineID_Base onlineId)

Definition at line 9 of file LArCalibLineMapping.cxx.

9  :
10  m_onlineId(onlineId)
11 
12 {}

Member Function Documentation

◆ calibSlotLine()

const std::vector< HWIdentifier > & LArCalibLineMapping::calibSlotLine ( const HWIdentifier  id) const

Definition at line 15 of file LArCalibLineMapping.cxx.

15  {
16  const IdentifierHash hid=m_onlineId->channel_Hash(id);
17  return calibSlotLineFromHash(hid);
18 }

◆ calibSlotLineFromHash()

const std::vector< HWIdentifier > & LArCalibLineMapping::calibSlotLineFromHash ( const IdentifierHash  h) const
inline

Definition at line 36 of file LArCalibLineMapping.h.

36  {
37  return m_onlHashToCalibLines[h];
38 }

Friends And Related Function Documentation

◆ LArCalibLineMappingAlg

friend class LArCalibLineMappingAlg
friend

Definition at line 19 of file LArCalibLineMapping.h.

Member Data Documentation

◆ m_onlHashToCalibLines

std::vector<std::vector<HWIdentifier> > LArCalibLineMapping::m_onlHashToCalibLines
private

Definition at line 29 of file LArCalibLineMapping.h.

◆ m_onlineId

const LArOnlineID_Base* LArCalibLineMapping::m_onlineId
private

Definition at line 30 of file LArCalibLineMapping.h.


The documentation for this class was generated from the following files:
LArCalibLineMapping::m_onlHashToCalibLines
std::vector< std::vector< HWIdentifier > > m_onlHashToCalibLines
Definition: LArCalibLineMapping.h:29
LArOnlineID_Base::channel_Hash
IdentifierHash channel_Hash(HWIdentifier channelId) const
Create channel_hash from channel_Id.
Definition: LArOnlineID_Base.cxx:1632
LArCalibLineMapping::calibSlotLineFromHash
const std::vector< HWIdentifier > & calibSlotLineFromHash(const IdentifierHash h) const
Definition: LArCalibLineMapping.h:36
extractSporadic.h
list h
Definition: extractSporadic.py:97
LArCalibLineMapping::m_onlineId
const LArOnlineID_Base * m_onlineId
Definition: LArCalibLineMapping.h:30
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