We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 97aa579 + 6438dcd commit ac0dda7Copy full SHA for ac0dda7
1 file changed
sbncode/HitFinder/ChannelROIToWire_module.cc
@@ -141,7 +141,7 @@ void ChannelROIToWire::produce(art::Event& evt)
141
142
std::vector<float> dataVec(range.data().size());
143
144
- for(size_t binIdx = 0; binIdx < range.data().size(); binIdx++) dataVec[binIdx] = std::round(range.data()[binIdx] * ADCScaleFactor);
+ for(size_t binIdx = 0; binIdx < range.data().size(); binIdx++) dataVec[binIdx] = std::round(range.data()[binIdx] / ADCScaleFactor);
145
146
ROIVec.add_range(startTick, std::move(dataVec));
147
}
0 commit comments