ATLAS Offline Software
Public Member Functions | Public Attributes | Static Public Attributes | Private Attributes | List of all members
Muon::RpcCablingMap::CoolDBEntry Struct Reference

Helper struct to ship all information from the Database
More...

#include <RpcCablingMap.h>

Inheritance diagram for Muon::RpcCablingMap::CoolDBEntry:
Collaboration diagram for Muon::RpcCablingMap::CoolDBEntry:

Public Member Functions

bool measuresPhi () const
 : Does the channel measure phi More...
 
bool stripSide () const
 : Is the strip readout on the opposite side
More...
 
void setMeasPhiAndSide (bool measPhi, bool stripSide)
 Sets the measuresPhi & stripSide fields of the cabling data object. More...
 

Public Attributes

uint8_t firstStrip {0}
 Lowest strip number covered by the cable. More...
 
FlatCablePtr flatCable {}
 Pointer to the flat cable card. More...
 
int16_t & subDetector {m_cache.cache[0]}
 Identifier of the subdetector region in the readout BA / BC etc. More...
 
int16_t & tdcSector {m_cache.cache[1]}
 Unique Identifier of the Rpc chamber from an online perspective
More...
 
int16_t & tdc {m_cache.cache[2]}
 Unique identifier of the tdc chip. More...
 
int8_t & stationIndex {m_cache.cache[0]}
 
int8_t & eta {m_cache.cache[1]}
 Station of the chamber (i.e, BIL,BIS,etc.) More...
 
int8_t & phi {m_cache.cache[2]}
 Eta index of the RPC station. More...
 
int8_t & doubletR {m_cache.cache[3]}
 Station phi of the RPC station. More...
 
int8_t & doubletPhi {m_cache.cache[4]}
 doublet R -> 1,2 More...
 
int8_t & doubletZ {m_cache.cache[5]}
 doublet Phi -> 1,2 More...
 
int8_t & gasGap {m_cache.cache[6]}
 doublet Z -> 1,2 More...
 
int64_t hash {0}
 
int16_t cache [4]
 

Static Public Attributes

static constexpr int8_t measPhiBit = 1 << 0
 gas gap -> 1-3 More...
 
static constexpr int8_t stripSideBit = 1 << 1
 

Private Attributes

union {
   int64_t   hash {0}
 
   int16_t   cache [4]
 
m_cache
 
int8_t & m_measPhiStrip {m_cache.cache[7]}
 

Detailed Description

Helper struct to ship all information from the Database

Definition at line 59 of file RpcCablingMap.h.

Member Function Documentation

◆ measuresPhi()

bool Muon::RpcCablingOfflineID::measuresPhi ( ) const
inlineinherited

: Does the channel measure phi

Definition at line 58 of file RpcCablingData.h.

58 { return m_measPhiStrip & measPhiBit; }

◆ setMeasPhiAndSide()

void Muon::RpcCablingOfflineID::setMeasPhiAndSide ( bool  measPhi,
bool  stripSide 
)
inlineinherited

Sets the measuresPhi & stripSide fields of the cabling data object.

Definition at line 62 of file RpcCablingData.h.

62  {
64  }

◆ stripSide()

bool Muon::RpcCablingOfflineID::stripSide ( ) const
inlineinherited

: Is the strip readout on the opposite side

Definition at line 60 of file RpcCablingData.h.

60 { return m_measPhiStrip & stripSideBit; }

Member Data Documentation

◆ cache [1/2]

int16_t Muon::RpcCablingOnlineID::cache[4]
inherited

Definition at line 88 of file RpcCablingData.h.

◆ cache [2/2]

int8_t Muon::RpcCablingOfflineID::cache[8]
inherited

Definition at line 68 of file RpcCablingData.h.

◆ doubletPhi

int8_t& Muon::RpcCablingOfflineID::doubletPhi {m_cache.cache[4]}
inherited

doublet R -> 1,2

Definition at line 47 of file RpcCablingData.h.

◆ doubletR

int8_t& Muon::RpcCablingOfflineID::doubletR {m_cache.cache[3]}
inherited

Station phi of the RPC station.

Definition at line 45 of file RpcCablingData.h.

◆ doubletZ

int8_t& Muon::RpcCablingOfflineID::doubletZ {m_cache.cache[5]}
inherited

doublet Phi -> 1,2

Definition at line 48 of file RpcCablingData.h.

◆ eta

int8_t& Muon::RpcCablingOfflineID::eta {m_cache.cache[1]}
inherited

Station of the chamber (i.e, BIL,BIS,etc.)

Definition at line 43 of file RpcCablingData.h.

◆ firstStrip

uint8_t Muon::RpcCablingMap::CoolDBEntry::firstStrip {0}

Lowest strip number covered by the cable.

Definition at line 61 of file RpcCablingMap.h.

◆ flatCable

FlatCablePtr Muon::RpcCablingMap::CoolDBEntry::flatCable {}

Pointer to the flat cable card.

Definition at line 63 of file RpcCablingMap.h.

◆ gasGap

int8_t& Muon::RpcCablingOfflineID::gasGap {m_cache.cache[6]}
inherited

doublet Z -> 1,2

Definition at line 49 of file RpcCablingData.h.

◆ hash [1/2]

long int Muon::RpcCablingOfflineID::hash {0}
inherited

Definition at line 67 of file RpcCablingData.h.

◆ hash [2/2]

int64_t Muon::RpcCablingOnlineID::hash {0}
inherited

Definition at line 87 of file RpcCablingData.h.

◆ m_cache

union { ... } Muon::RpcCablingOnlineID::m_cache

◆ m_measPhiStrip

int8_t& Muon::RpcCablingOfflineID::m_measPhiStrip {m_cache.cache[7]}
privateinherited

Definition at line 70 of file RpcCablingData.h.

◆ measPhiBit

constexpr int8_t Muon::RpcCablingOfflineID::measPhiBit = 1 << 0
staticconstexprinherited

gas gap -> 1-3

The BIL-RPC chambers have two strip-layers, both oriented to measure the eta coordinate. From a readout perspective, the strips share the same channel, despite that their readout positions are on opposite sides. In order to disentangle the particular sites of the strips, the second bit of the measPhi field is set.

Definition at line 54 of file RpcCablingData.h.

◆ phi

int8_t& Muon::RpcCablingOfflineID::phi {m_cache.cache[2]}
inherited

Eta index of the RPC station.

Definition at line 44 of file RpcCablingData.h.

◆ stationIndex

int8_t& Muon::RpcCablingOfflineID::stationIndex {m_cache.cache[0]}
inherited

Definition at line 42 of file RpcCablingData.h.

◆ stripSideBit

constexpr int8_t Muon::RpcCablingOfflineID::stripSideBit = 1 << 1
staticconstexprinherited

Definition at line 55 of file RpcCablingData.h.

◆ subDetector

int16_t& Muon::RpcCablingOnlineID::subDetector {m_cache.cache[0]}
inherited

Identifier of the subdetector region in the readout BA / BC etc.

Definition at line 80 of file RpcCablingData.h.

◆ tdc

int16_t& Muon::RpcCablingOnlineID::tdc {m_cache.cache[2]}
inherited

Unique identifier of the tdc chip.

Definition at line 84 of file RpcCablingData.h.

◆ tdcSector

int16_t& Muon::RpcCablingOnlineID::tdcSector {m_cache.cache[1]}
inherited

Unique Identifier of the Rpc chamber from an online perspective

Definition at line 82 of file RpcCablingData.h.


The documentation for this struct was generated from the following file:
Muon::RpcCablingOfflineID::stripSide
bool stripSide() const
: Is the strip readout on the opposite side
Definition: RpcCablingData.h:60
Muon::RpcCablingOfflineID::measPhiBit
static constexpr int8_t measPhiBit
gas gap -> 1-3
Definition: RpcCablingData.h:54
Muon::RpcCablingOfflineID::stripSideBit
static constexpr int8_t stripSideBit
Definition: RpcCablingData.h:55
Muon::RpcCablingOfflineID::m_measPhiStrip
int8_t & m_measPhiStrip
Definition: RpcCablingData.h:70