8 template <
class T,
class V>
11 for (
int i = 0;
i < digi.size(); ++
i) {
12 if (digi.sample(
i).adc() >=
level) {
24 SaturationLevel_ = 127;
28 SaturationLevel_ =
level;
34 checkADCSaturation<HBHERecHit, HBHEDataFrame>(rechit, digi, SaturationLevel_);
39 checkADCSaturation<HORecHit, HODataFrame>(rechit, digi, SaturationLevel_);
44 checkADCSaturation<HFRecHit, HFDataFrame>(rechit, digi, SaturationLevel_);
49 checkADCSaturation<ZDCRecHit, ZDCDataFrame>(rechit, digi, SaturationLevel_);
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t V
void setSaturationFlag(HBHERecHit &rechit, const HBHEDataFrame &digi)
void checkADCSaturation(T &rechit, const V &digi, int level)