Miniball / MiniballSort

Sort code for Miniball data using the new FEBEX/MIDAS DAQ
2 stars 9 forks source link

Add sorting of old Marabou .med files containing DGF and Mesytec ADC data #19

Closed lpgaff closed 6 months ago

lpgaff commented 6 months ago

This pull request combines a whole bunch of changes to allow for conversion of the old .med files written by the Marabou DAQ. The DGF data and Mesytec ADC data are both correctly unpacked and can be calibrated and assigned to detectors in the settings file. Example settings and calibration files are added here that allowed me to successfully sort the 142Ba data from July 2018.

A future set of commits will follow that unpack CAEN ADC data in case that is relevant for anyone, but currently scalers and pattern units are done and data is available in the mbs_info tree if it's needed. If anybody has an interest to extend the capability of this code for older data, please let me know, otherwise it will probably not get done.

calibration_is553_2017.txt settings_is553_2018.txt