CMS 3D CMS Logo

List of all members | Static Public Member Functions
sistrip::FEDAddressConversion Class Reference

#include <PipeAddrToTimeLookupTable.h>

Static Public Member Functions

static const uint8_t pipelineAddress (const uint8_t aTimeLocation)
 
static const uint8_t timeLocation (const uint8_t aPipelineAddress)
 

Detailed Description

Definition at line 49 of file PipeAddrToTimeLookupTable.h.

Member Function Documentation

◆ pipelineAddress()

const uint8_t sistrip::FEDAddressConversion::pipelineAddress ( const uint8_t  aTimeLocation)
inlinestatic

Definition at line 59 of file PipeAddrToTimeLookupTable.h.

References sistrip::APV_MAX_ADDRESS, and sistrip::PIPEADDR.

59  {
60  if (aTimeLocation < APV_MAX_ADDRESS)
61  return PIPEADDR[aTimeLocation];
62  else
63  return 0;
64  }
static const uint8_t PIPEADDR[APV_MAX_ADDRESS]
static const uint8_t APV_MAX_ADDRESS

◆ timeLocation()

const uint8_t sistrip::FEDAddressConversion::timeLocation ( const uint8_t  aPipelineAddress)
inlinestatic

Definition at line 66 of file PipeAddrToTimeLookupTable.h.

References sistrip::TIMELOC.

66  {
67  return TIMELOC[aPipelineAddress];
68  }
static const uint8_t TIMELOC[256]