ara-software / AraRoot

ARA data access framework
2 stars 7 forks source link

A5 calibration bug and RFChan mapping fix. #50

Closed marcomuzio closed 1 year ago

marcomuzio commented 1 year ago

Fixes A5 calibration bug on Hpols and also fixes RFChan mappings for the station.

marcomuzio commented 1 year ago

This PR makes a number of changes:

  1. Fixes the RFChan mappings for A5 inside AntennaInfo.sqlite.
  2. Reconciles the info in AntennaInfo.sqlite with the script to generate the database makeAntInfoATRI.sql (really only affects A5).
  3. Updates araAtriStation5adcToVoltsConv.txt to that the correct calibration constants/format to work with the AraRoot read-in. This fixes the bug which was calibrating Hpol waveforms to 0.
  4. Fixed an indexing bug in AraEventCalibrator.cxx which would take the sample index out of range sometimes (due to incorrect constant used for mod).