7 const std::vector<float>& locAmpl,
8 const size_t& firstChannelWithSignal,
9 const size_t& lastChannelWithSignal) {
11 for (
size_t iChannel = firstChannelWithSignal; iChannel < lastChannelWithSignal; ++iChannel) {
12 if (locAmpl[iChannel] != 0.0) {
13 if (theSignal.find(iChannel) == theSignal.end()) {
14 theSignal.insert(std::make_pair(iChannel, locAmpl[iChannel]));
16 theSignal[iChannel] += locAmpl[iChannel];