26 std::advance(i,index);
34 std::advance(i,index);
77 output <<
"Voxel: " << data.
VoxelID() << std::endl;
82 output << data.
Energy() <<
" = <ID,E>=";
84 if ( i != data.
begin() )
87 output <<
"<" << (*i).first <<
"," << (*i).second <<
">";
90 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)
std::string value(boost::any const &)
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