JeffersonLab / hcana

Hall C++ Analyzer
7 stars 118 forks source link

Per-block AdcTdcOffset for NPS calorimeter #498

Closed mmathiso closed 1 year ago

mmathiso commented 1 year ago

Changed the fAdcTdcOffset variable into an array that allows the offset to be set for each calorimeter block.

Currently the offset is set to 0 for all blocks and is set up for the 32x28 block configuration.

The nps_cuts_eel108.param file in nps_replay/PARAM/NPS/CAL also needs to be updated with per-block information for the script to work.

Other scripts that use fAdcTdcOffset may also need to be adjusted; I haven't checked those.