JeffersonLab / analyzer

HallA C++ Analyzer
BSD 3-Clause "New" or "Revised" License
7 stars 54 forks source link

Fadc decoder debug #143

Closed pooser closed 6 years ago

pooser commented 6 years ago

Current version (0x0C0D, 9/28/17) of the FADC firmware only reports the pedestal once for up to four identifiable pulses in the readout window. For now, it is best to tell THaEvData that there are n pedestals associated with n identified pulses and point the GetData method to the first entry in the pedestal data vector. This is now the non firmware specific behavior. Functionality for multiple reported pedestals still exists, although it fFirmwareVers == 2 specific.

hansenjo commented 6 years ago

Tweaked, rebased, collapsed and merged with commit da31470...92bea3f