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)
 
 Phase2TrackerFEDChannel (const uint8_t *const data, const size_t offset, const uint16_t length)
 

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

Definition at line 17 of file Phase2TrackerFEDChannel.h.

◆ 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.

23 { return data_; }

References data_.

◆ length()

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

Definition at line 22 of file Phase2TrackerFEDChannel.h.

22 { return length_; }

References length_.

Referenced by Phase2Tracker::Phase2TrackerDigiProducer::produce().

◆ offset()

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

Definition at line 24 of file Phase2TrackerFEDChannel.h.

24 { return offset_; }

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().

Phase2Tracker::Phase2TrackerFEDChannel::data
const uint8_t * data() const
Definition: Phase2TrackerFEDChannel.h:23
Phase2Tracker::Phase2TrackerFEDChannel::offset
size_t offset() const
Definition: Phase2TrackerFEDChannel.h:24
Phase2Tracker::Phase2TrackerFEDChannel::length_
uint16_t length_
Definition: Phase2TrackerFEDChannel.h:33
Phase2Tracker::Phase2TrackerFEDChannel::length
uint16_t length() const
Definition: Phase2TrackerFEDChannel.h:22
Phase2Tracker::Phase2TrackerFEDChannel::offset_
size_t offset_
Definition: Phase2TrackerFEDChannel.h:32
Phase2Tracker::Phase2TrackerFEDChannel::data_
const uint8_t * data_
Definition: Phase2TrackerFEDChannel.h:31