Allow for run-dependent, detector-dependent ADC parameters
At this moment, the conddb
code supports run-dependent ADC parameters, as shown e.g. in
https://gitlab.cern.ch/P348/p348-daq/-/blob/master/p348reco/conddb.cc?ref_type=heads#L4485
However, run-dependent, detector-dependent parameters cannot be set in this way. Indeed, if one introduces a code such as
void Init_Reconstruction(const int run, const time_t time)
...
if (run>XXX && run<YYY){
WBTrig.ADC.pedestal_length=16;
}
...
the changes will be overwritten by the function Init_ADC(manager)
Edited by Andrea Celentano