When we ask the calib DB for the timing parameters, we specify both the channel and the fraction used for CFT. The fraction is contained within the generator's config string and used to look up the column name we want to have.
There are two problems with this:
- If the fraction is written differently ( 0.5 as opposed to 0.50 ) then the column in the DB table won't be found.
- We assume currently that the fraction is contained in the first option of the config string and then strip away all other options so we can match the config to the column heading.
Two possible solutions are:
- Assume the fraction won't change and so allow for just a single column per channel
- Improve the generator IDs so they have fields to define the algorithms they use and the parameters they're run with (maybe do something with the algorithms themselves).
Clearly the first option is simpler; the second is more work, probably the 'correct' approach. I'm personally indifferent as to what we do and open to other suggestions.
This is also true for all the other calibration constants we pull out of the DB but the timing is currently more affected.
When we ask the calib DB for the timing parameters, we specify both the channel and the fraction used for CFT. The fraction is contained within the generator's config string and used to look up the column name we want to have.
There are two problems with this:
Two possible solutions are:
Clearly the first option is simpler; the second is more work, probably the 'correct' approach. I'm personally indifferent as to what we do and open to other suggestions.
This is also true for all the other calibration constants we pull out of the DB but the timing is currently more affected.