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.
General LArSoft Utilities.
Collection of photons which recorded on one channel.
Compact representation of photons on a channel.
SimPhotons operator+(const SimPhotons &rhs) const
decltype(auto) constexpr begin(T &&obj)
ADL-aware version of std::begin.