LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "LArVoxelData.h"
Public Types | |
typedef util::VectorMap< int, double > | list_type |
typedef list_type::key_type | key_type |
typedef list_type::mapped_type | mapped_type |
typedef list_type::value_type | value_type |
typedef list_type::iterator | iterator |
typedef list_type::const_iterator | const_iterator |
typedef list_type::reverse_iterator | reverse_iterator |
typedef list_type::const_reverse_iterator | const_reverse_iterator |
typedef list_type::size_type | size_type |
typedef list_type::difference_type | difference_type |
typedef list_type::key_compare | key_compare |
typedef list_type::allocator_type | allocator_type |
Private Attributes | |
mapped_type | fenergy |
list_type | ftrackEnergy |
sim::LArVoxelID | fVoxelID |
Friends | |
const LArVoxelData | operator* (const double &value, const LArVoxelData &list) |
std::ostream & | operator<< (std::ostream &output, const LArVoxelData &) |
Definition at line 70 of file LArVoxelData.h.
Definition at line 86 of file LArVoxelData.h.
Definition at line 80 of file LArVoxelData.h.
Definition at line 82 of file LArVoxelData.h.
Definition at line 84 of file LArVoxelData.h.
Definition at line 79 of file LArVoxelData.h.
Definition at line 85 of file LArVoxelData.h.
Definition at line 76 of file LArVoxelData.h.
typedef util::VectorMap<int, double> sim::LArVoxelData::list_type |
Definition at line 75 of file LArVoxelData.h.
Definition at line 77 of file LArVoxelData.h.
Definition at line 81 of file LArVoxelData.h.
Definition at line 83 of file LArVoxelData.h.
Definition at line 78 of file LArVoxelData.h.
sim::LArVoxelData::LArVoxelData | ( | ) |
Definition at line 16 of file LArVoxelData.cxx.
Referenced by sim::operator*(), operator*(), and operator+().
|
virtual |
Definition at line 20 of file LArVoxelData.cxx.
|
inline |
Definition at line 238 of file LArVoxelData.h.
References energy, and ftrackEnergy.
Referenced by operator+=().
|
inline |
void sim::LArVoxelData::Add | ( | const LArVoxelData & | other | ) |
Definition at line 39 of file LArVoxelData.cxx.
References Energy(), fenergy, and RemoveAllTracks().
|
inline |
Definition at line 208 of file LArVoxelData.h.
References util::VectorMap< _Key, _Tp, _Compare >::begin(), util::VectorMap< _Key, _Tp, _Compare >::end(), and ftrackEnergy.
|
inline |
Definition at line 357 of file LArVoxelData.h.
References util::VectorMap< _Key, _Tp, _Compare >::at(), and ftrackEnergy.
|
inline |
Definition at line 361 of file LArVoxelData.h.
References util::VectorMap< _Key, _Tp, _Compare >::at(), and ftrackEnergy.
|
inline |
Definition at line 260 of file LArVoxelData.h.
References util::VectorMap< _Key, _Tp, _Compare >::begin(), and ftrackEnergy.
Referenced by sim::operator<<().
|
inline |
Definition at line 264 of file LArVoxelData.h.
References util::VectorMap< _Key, _Tp, _Compare >::begin(), and ftrackEnergy.
|
inline |
Definition at line 308 of file LArVoxelData.h.
References util::VectorMap< _Key, _Tp, _Compare >::clear(), fenergy, and ftrackEnergy.
|
inline |
Definition at line 297 of file LArVoxelData.h.
References util::VectorMap< _Key, _Tp, _Compare >::empty(), and ftrackEnergy.
|
inline |
Definition at line 268 of file LArVoxelData.h.
References util::VectorMap< _Key, _Tp, _Compare >::end(), and ftrackEnergy.
Referenced by operator*=(), and sim::operator<<().
|
inline |
Definition at line 272 of file LArVoxelData.h.
References util::VectorMap< _Key, _Tp, _Compare >::end(), and ftrackEnergy.
|
inline |
Definition at line 215 of file LArVoxelData.h.
References util::VectorMap< _Key, _Tp, _Compare >::begin(), util::VectorMap< _Key, _Tp, _Compare >::end(), fenergy, and ftrackEnergy.
Referenced by Add(), evdb_tool::DrawLArVoxel3D::Draw(), evd::SimulationDrawer::MCTruth3D(), evd::SimulationDrawer::MCTruthOrtho(), sim::operator<<(), and RemoveAllTracks().
const LArVoxelData::mapped_type & sim::LArVoxelData::Energy | ( | const size_type | index | ) | const |
Definition at line 31 of file LArVoxelData.cxx.
References util::VectorMap< _Key, _Tp, _Compare >::begin(), and ftrackEnergy.
|
inline |
|
inline |
Definition at line 313 of file LArVoxelData.h.
References util::VectorMap< _Key, _Tp, _Compare >::find(), and ftrackEnergy.
|
inline |
Definition at line 317 of file LArVoxelData.h.
References util::VectorMap< _Key, _Tp, _Compare >::find(), and ftrackEnergy.
|
inline |
|
inline |
Definition at line 332 of file LArVoxelData.h.
References ftrackEnergy, and util::VectorMap< _Key, _Tp, _Compare >::lower_bound().
|
inline |
Definition at line 337 of file LArVoxelData.h.
References ftrackEnergy, and util::VectorMap< _Key, _Tp, _Compare >::lower_bound().
|
inline |
Definition at line 200 of file LArVoxelData.h.
References size().
Referenced by evdb_tool::DrawLArVoxel3D::Draw(), evd::SimulationDrawer::MCTruth3D(), and evd::SimulationDrawer::MCTruthOrtho().
|
inline |
LArVoxelData & sim::LArVoxelData::operator*= | ( | const double & | value | ) |
Definition at line 54 of file LArVoxelData.cxx.
References util::VectorMap< _Key, _Tp, _Compare >::begin(), end(), util::VectorMap< _Key, _Tp, _Compare >::end(), fenergy, ftrackEnergy, and value.
|
inline |
Definition at line 252 of file LArVoxelData.h.
References LArVoxelData(), and fhicl::other.
|
inline |
Definition at line 247 of file LArVoxelData.h.
References Add().
|
inline |
|
inline |
Definition at line 352 of file LArVoxelData.h.
References util::VectorMap< _Key, _Tp, _Compare >::at(), and ftrackEnergy.
|
inline |
Definition at line 276 of file LArVoxelData.h.
References ftrackEnergy, and util::VectorMap< _Key, _Tp, _Compare >::rbegin().
|
inline |
Definition at line 280 of file LArVoxelData.h.
References ftrackEnergy, and util::VectorMap< _Key, _Tp, _Compare >::rbegin().
|
inline |
Definition at line 233 of file LArVoxelData.h.
References util::VectorMap< _Key, _Tp, _Compare >::clear(), Energy(), fenergy, and ftrackEnergy.
Referenced by Add().
|
inline |
Definition at line 222 of file LArVoxelData.h.
References util::VectorMap< _Key, _Tp, _Compare >::end(), util::VectorMap< _Key, _Tp, _Compare >::erase(), fenergy, util::VectorMap< _Key, _Tp, _Compare >::find(), and ftrackEnergy.
Referenced by erase().
|
inline |
Definition at line 284 of file LArVoxelData.h.
References ftrackEnergy, and util::VectorMap< _Key, _Tp, _Compare >::rend().
|
inline |
Definition at line 288 of file LArVoxelData.h.
References ftrackEnergy, and util::VectorMap< _Key, _Tp, _Compare >::rend().
|
inline |
|
inline |
Definition at line 293 of file LArVoxelData.h.
References ftrackEnergy, and util::VectorMap< _Key, _Tp, _Compare >::size().
Referenced by NumberParticles().
|
inline |
Definition at line 301 of file LArVoxelData.h.
References fenergy, ftrackEnergy, and util::VectorMap< _Key, _Tp, _Compare >::swap().
const LArVoxelData::key_type & sim::LArVoxelData::TrackID | ( | const size_type | index | ) | const |
Definition at line 23 of file LArVoxelData.cxx.
References util::VectorMap< _Key, _Tp, _Compare >::begin(), and ftrackEnergy.
Referenced by evdb_tool::DrawLArVoxel3D::Draw(), evd::SimulationDrawer::MCTruth3D(), and evd::SimulationDrawer::MCTruthOrtho().
|
inline |
|
inline |
Definition at line 322 of file LArVoxelData.h.
References ftrackEnergy, and util::VectorMap< _Key, _Tp, _Compare >::upper_bound().
|
inline |
Definition at line 327 of file LArVoxelData.h.
References ftrackEnergy, and util::VectorMap< _Key, _Tp, _Compare >::upper_bound().
|
inline |
Definition at line 196 of file LArVoxelData.h.
References fVoxelID.
Referenced by evdb_tool::DrawLArVoxel3D::Draw(), evd::SimulationDrawer::MCTruth3D(), evd::SimulationDrawer::MCTruthOrtho(), and sim::operator<<().
|
friend |
Just in case: define the result of "scalar * LArVoxelData" to be the same as "LArVoxelData * scalar".
Definition at line 68 of file LArVoxelData.cxx.
|
friend |
Definition at line 74 of file LArVoxelData.cxx.
|
private |
Definition at line 95 of file LArVoxelData.h.
Referenced by Add(), clear(), Energy(), operator*=(), RemoveAllTracks(), RemoveTrack(), swap(), and UnassignedEnergy().
|
private |
Definition at line 100 of file LArVoxelData.h.
Referenced by Add(), AssignedEnergy(), at(), begin(), clear(), empty(), end(), Energy(), find(), insert(), lower_bound(), operator*=(), operator[](), rbegin(), RemoveAllTracks(), RemoveTrack(), rend(), size(), swap(), TrackID(), and upper_bound().
|
private |
Definition at line 102 of file LArVoxelData.h.
Referenced by SetVoxelID(), and VoxelID().