stream  0.10.0
stream analysis framework
Public Member Functions | Data Fields | Protected Attributes
hadaq::AdcMessage Struct Reference

AdcMessage is wrapper for data, produced by FPGA struct is used to avoid any potential overhead. More...

#include <hadaq/AdcMessage.h>

Public Member Functions

 AdcMessage ()
 constructor
 
 AdcMessage (uint32_t d)
 constructor
 
uint32_t getKind () const
 Returns kind of the message.
 
bool operator< (const AdcMessage &rhs) const
 dummy compare to keep sorting in subevent
 
uint32_t getAdcId () const
 ADC index, 0..11.
 
uint32_t getAdcCh () const
 ADC channel, 0..3.
 
uint32_t getCh () const
 logical ADC channel, 0..47
 
short int getValue () const
 the value of the ADC channel handle the sign bit correctly for debug signals from CFD firmware 10bit unsigned words should not be affected by this
 

Data Fields

double fFineTiming
 fine timing
 
double fIntegral
 integral
 

Protected Attributes

uint32_t fData
 data
 

Detailed Description

AdcMessage is wrapper for data, produced by FPGA struct is used to avoid any potential overhead.


The documentation for this struct was generated from the following file: