Add parameter scan function to H2M with direct parameter scan settings
This merge request adds a new function
void H2MDevice::parameterScanWithSettings(
std::string scan_dac, int scan, int scan_end, int scan_step, unsigned int scan_n, std::string occupancyFilename);
to the H2MDevice
. Also, it modifies the existing void H2MDevice::parameterScan
function to use this.
Motivation for adding this: the trimming (pixel equalisation) scripts for H2M could be simplified if the occupancy-scan configuration does not have to be defined in a config file but can be parsed directly as arguments to the parameter scan.