58 #ifndef Simulation_LArVoxelData_h_ 59 #define Simulation_LArVoxelData_h_ 110 mapped_type
Energy()
const;
114 const key_type&
TrackID(
const size_type )
const;
115 const mapped_type&
Energy (
const size_type )
const;
119 void Add(
const mapped_type&
energy,
const key_type& trackID );
158 const_iterator
begin()
const;
160 const_iterator
end()
const;
161 reverse_iterator
rbegin();
162 const_reverse_iterator
rbegin()
const;
163 reverse_iterator
rend();
164 const_reverse_iterator
rend()
const;
166 size_type
size()
const;
171 iterator
find(
const key_type&
key);
172 const_iterator
find(
const key_type&
key)
const;
177 size_type
erase(
const key_type&
key );
182 mapped_type&
at(
const key_type&
key);
183 const mapped_type&
at(
const key_type&
key)
const;
287 #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
Code to link reconstructed objects back to the MC truth information.
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)