9 const size_t& firstChannelWithSignal,
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];
virtual void add(uint32_t detID, const std::vector< float > &locAmpl, const size_t &firstChannelWithSignal, const size_t &lastChannelWithSignal)
std::map< int, Amplitude > SignalMapType