Create a data structure to create, handle and perform gain and noise calibration for each pixel of the detector. The class should be able to read Digi files, create the calibration matrices and save the data in a hdf5 file for each calibrated quantity. Then it should also be able to open Calibration files and load all the necessary data for event reconstruction.
Create a data structure to create, handle and perform gain and noise calibration for each pixel of the detector. The class should be able to read Digi files, create the calibration matrices and save the data in a hdf5 file for each calibrated quantity. Then it should also be able to open Calibration files and load all the necessary data for event reconstruction.