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

◆ Phase2TrackerFEDChannel() [1/2]

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

◆ Phase2TrackerFEDChannel() [2/2]

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

Member Function Documentation

◆ cmMedian()

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

◆ data()

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

Definition at line 23 of file Phase2TrackerFEDChannel.h.

References data_.

◆ length()

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

◆ offset()

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

Definition at line 24 of file Phase2TrackerFEDChannel.h.

References offset_.

◆ packetCode()

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

Friends And Related Function Documentation

◆ Phase2TrackerFEDBuffer

friend class Phase2TrackerFEDBuffer
friend

Definition at line 28 of file Phase2TrackerFEDChannel.h.

Member Data Documentation

◆ data_

const uint8_t* Phase2Tracker::Phase2TrackerFEDChannel::data_
private

Definition at line 31 of file Phase2TrackerFEDChannel.h.

Referenced by data().

◆ length_

uint16_t Phase2Tracker::Phase2TrackerFEDChannel::length_
private

Definition at line 33 of file Phase2TrackerFEDChannel.h.

Referenced by length().

◆ offset_

size_t Phase2Tracker::Phase2TrackerFEDChannel::offset_
private

Definition at line 32 of file Phase2TrackerFEDChannel.h.

Referenced by offset().