Bug fix of TGC_Digitization
fixed two bugs in the TGC Digitization - The output will be changed.
- The starting number of TGC channel is 1, but the calculation in
TgcDigitMaker::getDistanceToAsdFromSensor(...)
assumed to be starting from 0. The last channels per ASD (i.e. 16, 32, ...) used the wrong distance of next ASDs. - The time_offset has not been propagated to the calculation of the channel-crosstalk in
TgcDigitMaker::randomCrossTalk(...)
. The member variablem_timeWindowOffsetSensor[TgcSensor]
keeps the timing offset per chamber. Although the timing offset for the main channel hit have been calculated bym_timeWindowOffsetSensor[sensor] + getASDpropTimeOffset(...)
, the corresponding cross-talk had been calculated usingm_timeWindowOffsetSensor[sensor]
only, i.e. the random cross-talks were generated in the different time.
The bug fix and the reference update for the CI test are needed for the coming implementation (!52022 (merged)), since the bug fix could not be isolated in the update of !52022 (merged).