18 this->insert(this->
begin(), rhs.cbegin(), rhs.cend());
36 for(
auto const& phot: rhs.DetectedPhotons)
37 DetectedPhotons[phot.first] += phot.second;
SimPhotons & operator+=(const SimPhotons &rhs)
Add all photons from rhs to this ones; no sorting is applied.
Simulation objects for optical detectors.
auto begin(FixedBins< T, C > const &) noexcept
Collection of photons which recorded on one channel.
Compact representation of photons on a channel.
SimPhotons operator+(const SimPhotons &rhs) const