CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Static Private Member Functions | Private Attributes
sistrip::FEDRawChannelUnpacker Class Reference

#include <SiStripFEDBuffer.h>

Public Member Functions

uint16_t adc () const
 
 FEDRawChannelUnpacker (const FEDChannel &channel)
 
bool hasData () const
 
FEDRawChannelUnpackeroperator++ ()
 
FEDRawChannelUnpackeroperator++ (int)
 
uint8_t sampleNumber () const
 

Static Public Member Functions

static FEDRawChannelUnpacker procRawModeUnpacker (const FEDChannel &channel)
 
static FEDRawChannelUnpacker scopeModeUnpacker (const FEDChannel &channel)
 
static FEDRawChannelUnpacker virginRawModeUnpacker (const FEDChannel &channel)
 

Static Private Member Functions

static void throwBadChannelLength (const uint16_t length)
 

Private Attributes

uint16_t currentOffset_
 
uint8_t currentStrip_
 
const uint8_t * data_
 
uint16_t valuesLeft_
 

Detailed Description

Definition at line 116 of file SiStripFEDBuffer.h.

Constructor & Destructor Documentation

sistrip::FEDRawChannelUnpacker::FEDRawChannelUnpacker ( const FEDChannel channel)
inlineexplicit

Definition at line 310 of file SiStripFEDBuffer.h.

Member Function Documentation

uint16_t sistrip::FEDRawChannelUnpacker::adc ( ) const
inline

Definition at line 324 of file SiStripFEDBuffer.h.

bool sistrip::FEDRawChannelUnpacker::hasData ( ) const
inline

Definition at line 329 of file SiStripFEDBuffer.h.

FEDRawChannelUnpacker & sistrip::FEDRawChannelUnpacker::operator++ ( void  )
inline

Definition at line 334 of file SiStripFEDBuffer.h.

FEDRawChannelUnpacker & sistrip::FEDRawChannelUnpacker::operator++ ( int  )
inline

Definition at line 342 of file SiStripFEDBuffer.h.

static FEDRawChannelUnpacker sistrip::FEDRawChannelUnpacker::procRawModeUnpacker ( const FEDChannel channel)
inlinestatic

Definition at line 121 of file SiStripFEDBuffer.h.

uint8_t sistrip::FEDRawChannelUnpacker::sampleNumber ( ) const
inline

Definition at line 319 of file SiStripFEDBuffer.h.

static FEDRawChannelUnpacker sistrip::FEDRawChannelUnpacker::scopeModeUnpacker ( const FEDChannel channel)
inlinestatic

Definition at line 119 of file SiStripFEDBuffer.h.

void sistrip::FEDRawChannelUnpacker::throwBadChannelLength ( const uint16_t  length)
staticprivate

Definition at line 415 of file SiStripFEDBuffer.cc.

static FEDRawChannelUnpacker sistrip::FEDRawChannelUnpacker::virginRawModeUnpacker ( const FEDChannel channel)
inlinestatic

Definition at line 120 of file SiStripFEDBuffer.h.

Member Data Documentation

uint16_t sistrip::FEDRawChannelUnpacker::currentOffset_
private

Definition at line 131 of file SiStripFEDBuffer.h.

uint8_t sistrip::FEDRawChannelUnpacker::currentStrip_
private

Definition at line 132 of file SiStripFEDBuffer.h.

const uint8_t* sistrip::FEDRawChannelUnpacker::data_
private

Definition at line 130 of file SiStripFEDBuffer.h.

uint16_t sistrip::FEDRawChannelUnpacker::valuesLeft_
private

Definition at line 133 of file SiStripFEDBuffer.h.