58 #ifndef Simulation_LArVoxelData_h_ 59 #define Simulation_LArVoxelData_h_ 112 mapped_type
Energy()
const;
116 const key_type&
TrackID(
const size_type )
const;
117 const mapped_type&
Energy (
const size_type )
const;
121 void Add(
const mapped_type&
energy,
const key_type& trackID );
160 const_iterator
begin()
const;
162 const_iterator
end()
const;
163 reverse_iterator
rbegin();
164 const_reverse_iterator
rbegin()
const;
165 reverse_iterator
rend();
166 const_reverse_iterator
rend()
const;
168 size_type
size()
const;
173 iterator
find(
const key_type& key);
174 const_iterator
find(
const key_type& key)
const;
176 const_iterator
upper_bound(
const key_type& key)
const;
178 const_iterator
lower_bound(
const key_type& key)
const;
179 size_type
erase(
const key_type& key );
183 const mapped_type&
operator[](
const key_type& key)
const;
184 mapped_type&
at(
const key_type& key);
185 const mapped_type&
at(
const key_type& key)
const;
190 void insert(
const key_type& key,
const mapped_type&
value );
295 #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
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)
std::allocator< std::pair< int, double > > allocator_type
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)
std::string value(boost::any const &)
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)