CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
Phase2Tracker::Phase2TrackerFEDRawChannelUnpacker Class Reference

#include <Phase2TrackerFEDRawChannelUnpacker.h>

Public Member Functions

bool hasData () const
 
Phase2TrackerFEDRawChannelUnpackeroperator++ ()
 
Phase2TrackerFEDRawChannelUnpackeroperator++ (int)
 
 Phase2TrackerFEDRawChannelUnpacker (const Phase2TrackerFEDChannel &channel)
 
uint8_t stripIndex () const
 
bool stripOn () const
 

Private Attributes

uint8_t bitInWord_
 
uint8_t currentOffset_
 
uint8_t currentStrip_
 
uint8_t currentWord_
 
const uint8_t * data_
 
uint16_t valuesLeft_
 

Detailed Description

Definition at line 13 of file Phase2TrackerFEDRawChannelUnpacker.h.

Constructor & Destructor Documentation

◆ Phase2TrackerFEDRawChannelUnpacker()

Phase2Tracker::Phase2TrackerFEDRawChannelUnpacker::Phase2TrackerFEDRawChannelUnpacker ( const Phase2TrackerFEDChannel channel)
inline

Member Function Documentation

◆ hasData()

bool Phase2Tracker::Phase2TrackerFEDRawChannelUnpacker::hasData ( ) const
inline

◆ operator++() [1/2]

Phase2TrackerFEDRawChannelUnpacker & Phase2Tracker::Phase2TrackerFEDRawChannelUnpacker::operator++ ( void  )
inline

◆ operator++() [2/2]

Phase2TrackerFEDRawChannelUnpacker & Phase2Tracker::Phase2TrackerFEDRawChannelUnpacker::operator++ ( int  )
inline

Definition at line 51 of file Phase2TrackerFEDRawChannelUnpacker.h.

51  {
52  ++(*this);
53  return *this;
54  }

◆ stripIndex()

uint8_t Phase2Tracker::Phase2TrackerFEDRawChannelUnpacker::stripIndex ( ) const
inline

◆ stripOn()

bool Phase2Tracker::Phase2TrackerFEDRawChannelUnpacker::stripOn ( ) const
inline

Member Data Documentation

◆ bitInWord_

uint8_t Phase2Tracker::Phase2TrackerFEDRawChannelUnpacker::bitInWord_
private

Definition at line 28 of file Phase2TrackerFEDRawChannelUnpacker.h.

Referenced by operator++(), and stripOn().

◆ currentOffset_

uint8_t Phase2Tracker::Phase2TrackerFEDRawChannelUnpacker::currentOffset_
private

Definition at line 24 of file Phase2TrackerFEDRawChannelUnpacker.h.

Referenced by operator++().

◆ currentStrip_

uint8_t Phase2Tracker::Phase2TrackerFEDRawChannelUnpacker::currentStrip_
private

Definition at line 25 of file Phase2TrackerFEDRawChannelUnpacker.h.

Referenced by operator++(), and stripIndex().

◆ currentWord_

uint8_t Phase2Tracker::Phase2TrackerFEDRawChannelUnpacker::currentWord_
private

Definition at line 27 of file Phase2TrackerFEDRawChannelUnpacker.h.

Referenced by operator++(), and stripOn().

◆ data_

const uint8_t* Phase2Tracker::Phase2TrackerFEDRawChannelUnpacker::data_
private

Definition at line 23 of file Phase2TrackerFEDRawChannelUnpacker.h.

Referenced by operator++().

◆ valuesLeft_

uint16_t Phase2Tracker::Phase2TrackerFEDRawChannelUnpacker::valuesLeft_
private

Definition at line 26 of file Phase2TrackerFEDRawChannelUnpacker.h.

Referenced by hasData(), and operator++().