Re-factoring local calibrations to prepare for scans
@lurda I have started merging the functionality of filling histograms based on the charge injection script to the LocalCalibration package To do it I had to augment the capabilities of the HGCalCalibration base class and ended up re-inforcing 4 methods which the upper classes should always implement. Then the HGCalCalibration calls these methods in a specific order and using a multithreaded execution.
@olbessid @camendol @ineuteli @wangj Once we start having charge injection scans, and other type of scans we can start using the functionality: one thing we may need to discuss when the time comes is how the parameters of a scan should be accessed. There are essentially two options:
- directly from the yamls or jsons built from the yamls: it will require that they are copied to the directory where the NANOs will be stored
- directly in the NANO: this would be my preferred way of doing it, another table could be added in the Runs tree based on what the ESConfiguration produces for a new run