Add sorting of old Marabou .med files containing DGF and Mesytec ADC data#19
Merged
lpgaff merged 21 commits intoMiniball:mainfrom Mar 29, 2024
Merged
Add sorting of old Marabou .med files containing DGF and Mesytec ADC data#19lpgaff merged 21 commits intoMiniball:mainfrom
lpgaff merged 21 commits intoMiniball:mainfrom
Conversation
…'s more to do, but this so far tries to grab all the sub-event data, next I need to unpack it!
… still going. I will return next week :-)
…b-event data and adding the settings and calibrations required for DGFs and ADCs. However, the Marabou module numbers and the VME module numbers are still not correct.
…g only a few things in the settings file. The event builder now looks for DGF and ADC data, but I guess it doesn't work yet.
… fix default number of ADC channels
…ngths are all correct now, unpacking of the headers is working properly. However, the data format for each individual modele type still doesn't work
…to check calibrations and create histograms in first step of the sorting.
…tion at conversion stage
…t in nano seconds
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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