Project
Loading...
Searching...
No Matches
o2::mch::raw::DsElecId Class Reference

#include <DsElecId.h>

Public Member Functions

 DsElecId (uint16_t solarId, uint8_t elinkGroupId, uint8_t elinkIndex)
 
constexpr uint8_t elinkIndexInGroup () const
 
constexpr uint8_t elinkGroupId () const
 
constexpr uint8_t elinkId () const
 
constexpr uint16_t solarId () const
 solarId is an identifier that uniquely identify a solar board
 
bool operator< (const DsElecId &rhs) const
 
bool operator== (const DsElecId &rhs) const
 
bool operator!= (const DsElecId &rhs) const
 

Detailed Description

A DsElecId is a tuple (solar,group,index) that identifies a dual sampa from the electronic point of view.

Definition at line 23 of file DsElecId.h.

Constructor & Destructor Documentation

◆ DsElecId()

o2::mch::raw::DsElecId::DsElecId ( uint16_t  solarId,
uint8_t  elinkGroupId,
uint8_t  elinkIndex 
)
explicit

Definition at line 22 of file DsElecId.cxx.

Member Function Documentation

◆ elinkGroupId()

constexpr uint8_t o2::mch::raw::DsElecId::elinkGroupId ( ) const
inlineconstexpr

The elinkGroupId is a number between 0 and 7 Note that on the detector cable J = elinkGroupId+1

Definition at line 37 of file DsElecId.h.

◆ elinkId()

constexpr uint8_t o2::mch::raw::DsElecId::elinkId ( ) const
inlineconstexpr

elinkId is between 0 and 39 and represents one of the 40 dual sampas connected to a Solar (aka GBT)

Definition at line 44 of file DsElecId.h.

◆ elinkIndexInGroup()

constexpr uint8_t o2::mch::raw::DsElecId::elinkIndexInGroup ( ) const
inlineconstexpr

The eLinkIndexInGroup is a number between 0 and 4 and represents the index of a dual sampa within a given flex (aka group)

Definition at line 30 of file DsElecId.h.

◆ operator!=()

bool o2::mch::raw::DsElecId::operator!= ( const DsElecId rhs) const
inline

Definition at line 73 of file DsElecId.h.

◆ operator<()

bool o2::mch::raw::DsElecId::operator< ( const DsElecId rhs) const
inline

Definition at line 55 of file DsElecId.h.

◆ operator==()

bool o2::mch::raw::DsElecId::operator== ( const DsElecId rhs) const
inline

Definition at line 67 of file DsElecId.h.

◆ solarId()

constexpr uint16_t o2::mch::raw::DsElecId::solarId ( ) const
inlineconstexpr

solarId is an identifier that uniquely identify a solar board

Definition at line 50 of file DsElecId.h.


The documentation for this class was generated from the following files: