CMS 3D CMS Logo

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

#include <Phase2TrackerFEDChannel.h>

Public Member Functions

uint16_t cmMedian (const uint8_t apvIndex) const
 
const uint8_t * data () const
 
uint16_t length () const
 
size_t offset () const
 
 Phase2TrackerFEDChannel (const uint8_t *const data, const size_t offset, const uint16_t length)
 
 Phase2TrackerFEDChannel (const uint8_t *const data, const size_t offset)
 

Private Member Functions

uint8_t packetCode () const
 

Private Attributes

const uint8_t * data_
 
uint16_t length_
 
size_t offset_
 

Friends

class Phase2TrackerFEDBuffer
 

Detailed Description

Definition at line 12 of file Phase2TrackerFEDChannel.h.

Constructor & Destructor Documentation

Phase2Tracker::Phase2TrackerFEDChannel::Phase2TrackerFEDChannel ( const uint8_t *const  data,
const size_t  offset,
const uint16_t  length 
)
inline
Phase2Tracker::Phase2TrackerFEDChannel::Phase2TrackerFEDChannel ( const uint8_t *const  data,
const size_t  offset 
)

Member Function Documentation

uint16_t Phase2Tracker::Phase2TrackerFEDChannel::cmMedian ( const uint8_t  apvIndex) const

Referenced by offset().

const uint8_t* Phase2Tracker::Phase2TrackerFEDChannel::data ( ) const
inline

Definition at line 23 of file Phase2TrackerFEDChannel.h.

References data_.

Referenced by Phase2TrackerFEDChannel().

uint16_t Phase2Tracker::Phase2TrackerFEDChannel::length ( ) const
inline
size_t Phase2Tracker::Phase2TrackerFEDChannel::offset ( ) const
inline

Definition at line 24 of file Phase2TrackerFEDChannel.h.

References cmMedian(), and offset_.

Referenced by Phase2TrackerFEDChannel().

uint8_t Phase2Tracker::Phase2TrackerFEDChannel::packetCode ( ) const
private

Friends And Related Function Documentation

friend class Phase2TrackerFEDBuffer
friend

Definition at line 27 of file Phase2TrackerFEDChannel.h.

Member Data Documentation

const uint8_t* Phase2Tracker::Phase2TrackerFEDChannel::data_
private

Definition at line 30 of file Phase2TrackerFEDChannel.h.

Referenced by data().

uint16_t Phase2Tracker::Phase2TrackerFEDChannel::length_
private

Definition at line 32 of file Phase2TrackerFEDChannel.h.

Referenced by length().

size_t Phase2Tracker::Phase2TrackerFEDChannel::offset_
private

Definition at line 31 of file Phase2TrackerFEDChannel.h.

Referenced by offset().