CMS 3D CMS Logo

Functions
totem::nt2::vfat Namespace Reference

Functions

uint8_t channelId (const VFATFrame &frame)
 retrieve this channel identifier More...
 
uint8_t channelMarker (const VFATFrame &frame)
 retrieve this channel marker More...
 
uint8_t geoId (const VFATFrame &frame)
 retrieve the GEO information for this channel More...
 
uint16_t leadingEdgeTime (const VFATFrame &frame)
 get timing information for single leading edge More...
 
uint16_t trailingEdgeTime (const VFATFrame &frame)
 get timing information for single trailing edge More...
 

Detailed Description

Utilitary namespace to retrieve timing/status information from nT2 VFAT frame

Function Documentation

◆ channelId()

uint8_t totem::nt2::vfat::channelId ( const VFATFrame frame)
inline

◆ channelMarker()

uint8_t totem::nt2::vfat::channelMarker ( const VFATFrame frame)
inline

retrieve this channel marker

Definition at line 26 of file TotemT2VFATFrame.h.

Referenced by RawToDigiConverter::run().

26 { return frame.getData()[1] & 0x1f; }

◆ geoId()

uint8_t totem::nt2::vfat::geoId ( const VFATFrame frame)
inline

◆ leadingEdgeTime()

uint16_t totem::nt2::vfat::leadingEdgeTime ( const VFATFrame frame)
inline

get timing information for single leading edge

Definition at line 22 of file TotemT2VFATFrame.h.

Referenced by RawToDigiConverter::run().

22 { return frame.getData()[2] & 0xffff; }

◆ trailingEdgeTime()

uint16_t totem::nt2::vfat::trailingEdgeTime ( const VFATFrame frame)
inline

get timing information for single trailing edge

Definition at line 24 of file TotemT2VFATFrame.h.

Referenced by RawToDigiConverter::run().

24 { return frame.getData()[3] & 0xffff; }