Skip to content

JPETTomography/Unpacker2

Repository files navigation

UNPACKER2:

About:

Tool to unpack the .hld binary data into ROOT tree structure. This README is probably outdated, so be watchful

Prerequisite:

  • ROOT at least 6.0
  • BOOST at least 1.50 to run tests

Installation:

Please see the file called INSTALL.

Usage:

  • use as library to another program

Setup description file:

All fields are required

  • main module
    • inside one can specify the board which act as hubs of readout modules as <DATA_SOURCE>
      • possible: TRB2_S, HUB2, TRB3, SHOWER
      • <TRBNET_ADDRESS>, in case of standalone board put 0000
      • <HUB_ADDRESS>
      • <REFERENCE_CHANNEL>
      • collection of modules connected to the hub
        • possible: TRB2, HPTDC_HR, HPTDC_VHR, ECAL_ADC, LATTICE_TDC
        • <TRBNET_ADDRESS>
        • <NUMBER_OF_CHANNELS>
        • <CHANNEL_OFFSET>
        • <MEASUREMENT_TYPE> possible TDC, ADC

eg for standalone TRB2 with 4 TDCs running in high resolution:

OFF TRB2_S 0000 0372 31 HPTDC_HR 0000 32 0 100 TDC HPTDC_HR 0001 32 32 100 TDC HPTDC_HR 0002 32 64 100 TDC HPTDC_HR 0003 32 96 100 TDC