1 / 7

Basic Data Processing Chain

Basic Data Processing Chain. Test. ChipProgramNew.C. Root Output File. decoderNew.c. Data Ntuple. Histograms. LiveTime.C (macro). Guassian Fits. Root Output File. ChipProgramNew.C. Inputs (defaults underlined): Signal File Name Baseline File Name Output File Name

carpenters
Download Presentation

Basic Data Processing Chain

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Basic Data Processing Chain Test ChipProgramNew.C Root Output File decoderNew.c Data Ntuple Histograms LiveTime.C (macro) Guassian Fits Root Output File

  2. ChipProgramNew.C • Inputs (defaults underlined): • Signal File Name • Baseline File Name • Output File Name • Data Format: “old” or “new” • Fitting Option: “yes” or “no” • Number of Channels to Process (up to 64) • Dac value (Plot all)

  3. ChipProgramNew.C • Outputs: • Baseline Ntuple • Signal Ntuple • Up to 64 baseline histograms in root format • Up to 64 signal histograms in root format • Up to 64 shifted signal histograms fit to 2 gaussian curves • Distributions of Mean, Sigma, Gain, and Rate as histograms in root format

  4. decoderNew.c • Function called by ChipProgramNew.C • Reads and parses a (csv) data file and builds an Ntuple • Correctly processes two different file formats • Does not currently support trigger packet processing

  5. Data Formats • “Old” data format (decimal) • “New” data format (hexidecimal) 3,1,1202489710,1470920763,1555,1558,1551,1564,1566,1545,…1557,600,5 3,1,1202489710,1472170763,1552,1564,1552,1562,1568,1547,…,1558,600,5 3,1,1202489710,1473420763,1552,1560,1549,1563,1565,1541,…,1557,600,5 3,1,1202489710,1474670764,1554,1559,1549,1562,1566,1542,…,1556,600,5 … 8308,5a35,88c6,612,1,8a3,2,1202942930,1 8308,5a36,7d22,616,1,89b,2,1202942930,1 8308,5a37,7171,617,1,89e,2,1202942930,1 8308,5a38,65af,616,1,89d,2,1202942930,1 ….

  6. New DAQ • We’ve moved to a new DAQ that can handle multiple boards and multiple PMTs • New directory structure accounts for multiple usb boards and PMTs attached • This DAQ handles data transfer with the usb board more intelligently than previous version • Already up and running at Nevis and Barnard

  7. Future work • Move from the limited NTuple data structure to a more versatile TTree data structure • Include event header information in each data file to be read in and stored with the event in the TTree • Begin Maroc2 chip cross talk measurements at Barnard

More Related