58 #ifndef Simulation_LArVoxelData_h_ 59 #define Simulation_LArVoxelData_h_ 109 mapped_type
Energy()
const;
113 const key_type&
TrackID(
const size_type)
const;
114 const mapped_type&
Energy(
const size_type)
const;
118 void Add(
const mapped_type&
energy,
const key_type& trackID);
157 const_iterator
begin()
const;
159 const_iterator
end()
const;
160 reverse_iterator
rbegin();
161 const_reverse_iterator
rbegin()
const;
162 reverse_iterator
rend();
163 const_reverse_iterator
rend()
const;
165 size_type
size()
const;
170 iterator
find(
const key_type& key);
171 const_iterator
find(
const key_type& key)
const;
173 const_iterator
upper_bound(
const key_type& key)
const;
175 const_iterator
lower_bound(
const key_type& key)
const;
176 size_type
erase(
const key_type& key);
180 const mapped_type&
operator[](
const key_type& key)
const;
181 mapped_type&
at(
const key_type& key);
182 const mapped_type&
at(
const key_type& key)
const;
187 void insert(
const key_type& key,
const mapped_type&
value);
372 #endif // Simulation_LArVoxelData_h_ void Add(const mapped_type &energy, const key_type &trackID)
const LArVoxelData operator*(const double &value) const
size_type erase(const key_type &key)
list_type::key_compare key_compare
std::allocator< std::pair< int, double > > allocator_type
mapped_type & operator[](const key_type &key)
std::less< int > key_compare
iterator lower_bound(const key_type &key)
list_type::value_type value_type
void insert(const key_type &key, const mapped_type &value)
reverse_iterator rbegin()
mapped_type & at(const key_type &__k)
list_type::mapped_type mapped_type
list_type::const_reverse_iterator const_reverse_iterator
vector_type::iterator iterator
const LArVoxelData operator+(const LArVoxelData &other) const
void erase(iterator __position)
mapped_type UnassignedEnergy() const
LArVoxelData & operator+=(const LArVoxelData &other)
list_type::reverse_iterator reverse_iterator
vector_type::const_iterator const_iterator
std::reverse_iterator< const_iterator > const_reverse_iterator
util::VectorMap< int, double > list_type
size_type NumberParticles() const
mapped_type AssignedEnergy() const
std::reverse_iterator< iterator > reverse_iterator
LArVoxelData & operator*=(const double &value)
iterator find(const key_type &key)
iterator lower_bound(const key_type &__x)
list_type::difference_type difference_type
mapped_type Energy() const
ptrdiff_t difference_type
list_type::key_type key_type
void swap(LArVoxelData &other)
reverse_iterator rbegin()
mapped_type & at(const key_type &key)
list_type::const_iterator const_iterator
void swap(VectorMap &other)
sim::LArVoxelID VoxelID() const
iterator upper_bound(const key_type &__x)
friend std::ostream & operator<<(std::ostream &output, const LArVoxelData &)
size_type RemoveTrack(const int &track)
void SetVoxelID(sim::LArVoxelID voxID)
iterator find(const key_type &key)
list_type::size_type size_type
Unique identifier for a given LAr voxel.
std::pair< int, double > value_type
list_type::allocator_type allocator_type
const key_type & TrackID(const size_type) const
list_type::iterator iterator
iterator upper_bound(const key_type &key)