GtReceiver + GEBSort: Difference between revisions

From HELIOS Digital DAQ
Jump to navigation Jump to search
No edit summary
Line 16: Line 16:


There is server port 9001. should be working fine.
There is server port 9001. should be working fine.
= GEBMerge =


= EventBuilder (old name : GEBSort) =
= EventBuilder (old name : GEBSort) =

Revision as of 18:58, January 21, 2021

Introduction

To get the data from the digitizer, we need the program "gtReceiver".

To decode the raw data, we need GEBSort.

The version of the firmware of the digitizer, the gtReceiver, and the GEBSort have to be matched to properly extract the data.

gtReceiver

gtReceiver is a C program that connect the IOC and retrieving the data from VME.

in HELIOS DAQ, the folder ~/gtReceiver_digios stored the source code.

The source code should be working fine. (tested for music daq 2020-11-19).

There is server port 9001. should be working fine.

GEBMerge

EventBuilder (old name : GEBSort)

The GEBSort is used for gammasphere, it build events and analysis data, and it split out histogram only.

The EventBuilder is a simplified code from GEBSort. It only build events, and split out root tree.

There are two versions: EventBuilder and EventBuilder_trace

The control parameters for them is the working/GEBSort.chat

$cat GEBSort.chat 
# NOTE: both the input (geb or file) and
# the output (rootfile or mapfile)
# are now specified on the command line of GEBSort
# all other parameters are specified in this chat file

;DumpEvery 5

#-------------------------------------------
# basic sort parameters  

# number of event in a block
nevents           1000000000

# number of event in a block to be printed out
printevents       1

# number of event to be written in Log
modwrite          100000 

# timestamp to be written in Log
tsnumwrites       100000

# event build windows
timewin           1000

#-------------------------------------------
exit


The most important parameter is the timewin. It defines the time-window for an event: whenever data is clustered in the length of the time-window, it is an event.