DABC (Data Acquisition Backbone Core)  2.9.9
Public Member Functions | Data Fields
hadaq::CombinerModule::InputCfg Struct Reference

#include <hadaq/CombinerModule.h>

Public Member Functions

void Close ()
 
 InputCfg ()
 
void Reset (bool complete=false)
 
std::string TriggerRingAsStr (int RingSize)
 

Data Fields

uint32_t data_size
 padded size of current subevent, required in output buffer More...
 
hadaq::RawEventevnt
 actual event More...
 
std::string fCalibr
 name of calibration module, used only in terminal More...
 
int fCalibrProgr
 calibration progress More...
 
double fCalibrQuality
 calibration quality More...
 
bool fCalibrReq
 when true, request was send More...
 
std::string fCalibrState
 calibration state More...
 
bool fDataError
 indicates if subevent has data error bit set in header id More...
 
unsigned fDroppedTrig
 number of dropped triggers (received but dropped by the combiner) More...
 
bool fEmpty
 indicates if input has empty data More...
 
unsigned fErrorBitsCnt {0}
 number of subevents with non-zero error bits More...
 
unsigned fHubId {0}
 subevent id from given input More...
 
uint64_t fHubLastSize
 last size More...
 
uint64_t fHubPrevSize
 last size More...
 
int fHubSizeTmCnt
 count how many time data was the same More...
 
void * fInfo
 Direct pointer on transport info, used only for debugging. More...
 
ReadIterator fIter
 main iterator More...
 
uint32_t fLastEvtBuildTrigId
 remember id of last build event More...
 
uint32_t fLastTrigNr
 keeps previous trigger sequence number - used to control data lost More...
 
unsigned fLostTrig
 number of lost triggers (never received by the combiner) More...
 
int fNumCanRecv
 Number buffers can be received. More...
 
int fQueueCapacity
 capacity of input queue More...
 
float fQueueLevel
 current input queue fill level More...
 
unsigned fResort
 enables resorting of events More...
 
int fResortIndx
 index of buffer in the queue used for resort iterator (-1 - off) More...
 
ReadIterator fResortIter
 additional iterator to check resort More...
 
unsigned fRingCnt
 where next value will be written More...
 
uint32_t fTrigNr
 keeps current trigger sequence number More...
 
uint32_t fTrigNumRing [HADAQ_RINGSIZE]
 values of last seen TU ID More...
 
uint32_t fTrigTag
 keeps current trigger tag More...
 
uint32_t fTrigType
 current subevent trigger type More...
 
unsigned fUdpPort {0}
 if configured, port id More...
 
bool has_data
 when true, input has data (subevent or bunch of sub events) More...
 
hadaq::RawSubeventsubevnt
 actual subevent More...
 

Detailed Description

Definition at line 55 of file CombinerModule.h.

Constructor & Destructor Documentation

◆ InputCfg()

hadaq::CombinerModule::InputCfg::InputCfg ( )
inline

Definition at line 92 of file CombinerModule.h.

Member Function Documentation

◆ Reset()

void hadaq::CombinerModule::InputCfg::Reset ( bool  complete = false)
inline

Definition at line 128 of file CombinerModule.h.

◆ Close()

void hadaq::CombinerModule::InputCfg::Close ( )
inline

Definition at line 148 of file CombinerModule.h.

◆ TriggerRingAsStr()

std::string hadaq::CombinerModule::InputCfg::TriggerRingAsStr ( int  RingSize)
inline

Definition at line 156 of file CombinerModule.h.

Field Documentation

◆ subevnt

hadaq::RawSubevent* hadaq::CombinerModule::InputCfg::subevnt

actual subevent

Definition at line 56 of file CombinerModule.h.

◆ evnt

hadaq::RawEvent* hadaq::CombinerModule::InputCfg::evnt

actual event

Definition at line 57 of file CombinerModule.h.

◆ has_data

bool hadaq::CombinerModule::InputCfg::has_data

when true, input has data (subevent or bunch of sub events)

Definition at line 58 of file CombinerModule.h.

◆ data_size

uint32_t hadaq::CombinerModule::InputCfg::data_size

padded size of current subevent, required in output buffer

Definition at line 59 of file CombinerModule.h.

◆ fTrigNr

uint32_t hadaq::CombinerModule::InputCfg::fTrigNr

keeps current trigger sequence number

Definition at line 60 of file CombinerModule.h.

◆ fLastTrigNr

uint32_t hadaq::CombinerModule::InputCfg::fLastTrigNr

keeps previous trigger sequence number - used to control data lost

Definition at line 61 of file CombinerModule.h.

◆ fTrigTag

uint32_t hadaq::CombinerModule::InputCfg::fTrigTag

keeps current trigger tag

Definition at line 62 of file CombinerModule.h.

◆ fTrigType

uint32_t hadaq::CombinerModule::InputCfg::fTrigType

current subevent trigger type

Definition at line 63 of file CombinerModule.h.

◆ fErrorBitsCnt

unsigned hadaq::CombinerModule::InputCfg::fErrorBitsCnt {0}

number of subevents with non-zero error bits

Definition at line 64 of file CombinerModule.h.

◆ fHubId

unsigned hadaq::CombinerModule::InputCfg::fHubId {0}

subevent id from given input

Definition at line 65 of file CombinerModule.h.

◆ fUdpPort

unsigned hadaq::CombinerModule::InputCfg::fUdpPort {0}

if configured, port id

Definition at line 66 of file CombinerModule.h.

◆ fQueueLevel

float hadaq::CombinerModule::InputCfg::fQueueLevel

current input queue fill level

Definition at line 67 of file CombinerModule.h.

◆ fLastEvtBuildTrigId

uint32_t hadaq::CombinerModule::InputCfg::fLastEvtBuildTrigId

remember id of last build event

Definition at line 68 of file CombinerModule.h.

◆ fDataError

bool hadaq::CombinerModule::InputCfg::fDataError

indicates if subevent has data error bit set in header id

Definition at line 69 of file CombinerModule.h.

◆ fEmpty

bool hadaq::CombinerModule::InputCfg::fEmpty

indicates if input has empty data

Definition at line 70 of file CombinerModule.h.

◆ fInfo

void* hadaq::CombinerModule::InputCfg::fInfo

Direct pointer on transport info, used only for debugging.

Definition at line 71 of file CombinerModule.h.

◆ fQueueCapacity

int hadaq::CombinerModule::InputCfg::fQueueCapacity

capacity of input queue

Definition at line 72 of file CombinerModule.h.

◆ fNumCanRecv

int hadaq::CombinerModule::InputCfg::fNumCanRecv

Number buffers can be received.

Definition at line 73 of file CombinerModule.h.

◆ fLostTrig

unsigned hadaq::CombinerModule::InputCfg::fLostTrig

number of lost triggers (never received by the combiner)

Definition at line 74 of file CombinerModule.h.

◆ fDroppedTrig

unsigned hadaq::CombinerModule::InputCfg::fDroppedTrig

number of dropped triggers (received but dropped by the combiner)

Definition at line 75 of file CombinerModule.h.

◆ fTrigNumRing

uint32_t hadaq::CombinerModule::InputCfg::fTrigNumRing[HADAQ_RINGSIZE]

values of last seen TU ID

Definition at line 76 of file CombinerModule.h.

◆ fRingCnt

unsigned hadaq::CombinerModule::InputCfg::fRingCnt

where next value will be written

Definition at line 77 of file CombinerModule.h.

◆ fResort

unsigned hadaq::CombinerModule::InputCfg::fResort

enables resorting of events

Definition at line 78 of file CombinerModule.h.

◆ fIter

ReadIterator hadaq::CombinerModule::InputCfg::fIter

main iterator

Definition at line 79 of file CombinerModule.h.

◆ fResortIter

ReadIterator hadaq::CombinerModule::InputCfg::fResortIter

additional iterator to check resort

Definition at line 80 of file CombinerModule.h.

◆ fResortIndx

int hadaq::CombinerModule::InputCfg::fResortIndx

index of buffer in the queue used for resort iterator (-1 - off)

Definition at line 81 of file CombinerModule.h.

◆ fCalibr

std::string hadaq::CombinerModule::InputCfg::fCalibr

name of calibration module, used only in terminal

Definition at line 82 of file CombinerModule.h.

◆ fCalibrReq

bool hadaq::CombinerModule::InputCfg::fCalibrReq

when true, request was send

Definition at line 83 of file CombinerModule.h.

◆ fCalibrProgr

int hadaq::CombinerModule::InputCfg::fCalibrProgr

calibration progress

Definition at line 84 of file CombinerModule.h.

◆ fCalibrState

std::string hadaq::CombinerModule::InputCfg::fCalibrState

calibration state

Definition at line 85 of file CombinerModule.h.

◆ fCalibrQuality

double hadaq::CombinerModule::InputCfg::fCalibrQuality

calibration quality

Definition at line 86 of file CombinerModule.h.

◆ fHubLastSize

uint64_t hadaq::CombinerModule::InputCfg::fHubLastSize

last size

Definition at line 87 of file CombinerModule.h.

◆ fHubPrevSize

uint64_t hadaq::CombinerModule::InputCfg::fHubPrevSize

last size

Definition at line 88 of file CombinerModule.h.

◆ fHubSizeTmCnt

int hadaq::CombinerModule::InputCfg::fHubSizeTmCnt

count how many time data was the same

Definition at line 89 of file CombinerModule.h.


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