26 std::advance(i, index);
34 std::advance(i, index);
76 output <<
"Voxel: " << data.
VoxelID() << std::endl;
81 output << data.
Energy() <<
" = <ID,E>=";
83 if (i != data.
begin()) output <<
",";
85 output <<
"<" << (*i).first <<
"," << (*i).second <<
">";
87 if (unassigned > 0) output <<
",<*," << unassigned <<
">";
void Add(const mapped_type &energy, const key_type &trackID)
const LArVoxelData operator*(const double &value) const
list_type::mapped_type mapped_type
mapped_type UnassignedEnergy() const
Encapsulates the information we want store for a voxel.
LArVoxelData & operator*=(const double &value)
mapped_type Energy() const
list_type::key_type key_type
list_type::const_iterator const_iterator
sim::LArVoxelID VoxelID() const
friend std::ostream & operator<<(std::ostream &output, const LArVoxelData &)
list_type::size_type size_type
const key_type & TrackID(const size_type) const
list_type::iterator iterator