Receivers/GEBMerge/GEBsort: Difference between revisions

From GammaSphere DAQ
Jump to navigation Jump to search
Line 29: Line 29:
==GEBSort==
==GEBSort==


GEBSort is a general purpose ROOT sorter, atht in addition to being able to read GRETINA data alos can read DGS data acquired by gtReceiver4.
GEBSort is a general purpose ROOT sorter, that, in addition to being able to read GRETINA data, also can read DGS data acquired by gtReceiver4. This sorter is documented under the GRETINA wiki pages
 
  [https://wiki.anl.gov/gretina_at_anl/Operations#off-line_sorting_with_GEBSort.2C_to_a_root_file]

Revision as of 20:15, November 7, 2013

gtReceiver4

To take data with the DGS DAQ, you must start a gtReceiver4 for each of the IOC that are collecting data. This is usually done from a script which starts all the necessary receivers and controls the run number.

To get the gtReceiver4 receiver do the following

  • cd to where you want to compile the gtReceiver42000000000
  • tar -zxvf tar.tgz
  • make clean
  • make

That should generate the gtReceiver4 program. Here is an example how to run the program:

 gtReceiver4 ioc1 data_run_001.gtd 2000000000

Here we are asking gtReceiver4 to acquire data from ioc1 and put the data in the file data_run_001.gtd. That will not actually be one file as gtReceiver4 splits the data stream into a file for each of the digitizers the IOC serves. That makes it easier to merge and time order the DGS data later. 2000000000 specifies the max size of the files, here keeping them under 2GBytes, so they can be read on all machines.

The gtReceiver4 program writes data out in the GRETINA GEBheader/Payload form, with a data ID of GEB_TYPE_DGS=14. This means that the GT GEBMerge and GEBSort programs can be used for DGS data as well as GT data

GEBMerge

GEBSort

GEBSort is a general purpose ROOT sorter, that, in addition to being able to read GRETINA data, also can read DGS data acquired by gtReceiver4. This sorter is documented under the GRETINA wiki pages

 [1]