#include <LArVoxelList.h>
Definition at line 68 of file LArVoxelList.h.
Some type definitions to make life easier, and to help "hide" the implementation details. (If you're not familiar with STL, you can ignore these definitions.)
Definition at line 74 of file LArVoxelList.h.
sim::LArVoxelList::LArVoxelList |
( |
| ) |
|
sim::LArVoxelList::~LArVoxelList |
( |
| ) |
|
|
virtual |
void sim::LArVoxelList::Add |
( |
const key_type & |
key, |
|
|
const double & |
energy |
|
) |
| |
|
inline |
Definition at line 94 of file LArVoxelList.h.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
void sim::LArVoxelList::Add |
( |
const key_type & |
key, |
|
|
const double & |
energy, |
|
|
const int & |
id |
|
) |
| |
|
inline |
Definition at line 95 of file LArVoxelList.h.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
Definition at line 24 of file LArVoxelList.cxx.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
list_type::const_iterator const_iterator
Definition at line 155 of file LArVoxelList.h.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
Definition at line 156 of file LArVoxelList.h.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
Definition at line 131 of file LArVoxelList.h.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
Definition at line 132 of file LArVoxelList.h.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
void sim::LArVoxelList::clear |
( |
| ) |
|
|
inline |
Definition at line 143 of file LArVoxelList.h.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
void sim::LArVoxelList::Cut |
( |
const double & |
cut | ) |
|
Apply an energy cut to the voxels.
Definition at line 52 of file LArVoxelList.cxx.
58 typedef std::vector< key_type > keyList_type;
63 if ( (*i).second.Energy() < cut ) {
64 keyList.push_back( (*i).first );
69 for ( keyList_type::const_iterator i = keyList.begin(); i != keyList.end(); ++i ){
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
list_type::const_iterator const_iterator
bool sim::LArVoxelList::empty |
( |
| ) |
const |
|
inline |
Definition at line 141 of file LArVoxelList.h.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
iterator sim::LArVoxelList::end |
( |
void |
| ) |
|
|
inline |
Definition at line 133 of file LArVoxelList.h.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
Definition at line 134 of file LArVoxelList.h.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
double sim::LArVoxelList::Energy |
( |
const size_type |
index | ) |
const |
Definition at line 83 of file LArVoxelList.cxx.
86 std::advance(i,index);
87 return (*i).second.Energy();
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
list_type::const_iterator const_iterator
Definition at line 164 of file LArVoxelList.h.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
Definition at line 145 of file LArVoxelList.h.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
Definition at line 146 of file LArVoxelList.h.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
Definition at line 75 of file LArVoxelList.cxx.
78 std::advance(i,index);
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
list_type::const_iterator const_iterator
Definition at line 162 of file LArVoxelList.h.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
Definition at line 149 of file LArVoxelList.h.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
Definition at line 150 of file LArVoxelList.h.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
const LArVoxelList sim::LArVoxelList::operator* |
( |
const double & |
value | ) |
const |
|
inline |
LArVoxelList & sim::LArVoxelList::operator*= |
( |
const double & |
value | ) |
|
Definition at line 33 of file LArVoxelList.cxx.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
list_type::iterator iterator
Definition at line 100 of file LArVoxelList.h.
void Add(const key_type &key, const double &energy)
Definition at line 152 of file LArVoxelList.h.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
Definition at line 154 of file LArVoxelList.h.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
Definition at line 135 of file LArVoxelList.h.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
Definition at line 136 of file LArVoxelList.h.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
Definition at line 137 of file LArVoxelList.h.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
Definition at line 138 of file LArVoxelList.h.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
size_type sim::LArVoxelList::size |
( |
void |
| ) |
const |
|
inline |
Definition at line 140 of file LArVoxelList.h.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
Definition at line 142 of file LArVoxelList.h.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
Definition at line 147 of file LArVoxelList.h.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
Definition at line 148 of file LArVoxelList.h.
list_type m_voxelList
A sorted list of <LArVoxelID,double> pairs = (voxel ID, energy)
Just in case: define the result of "scalar * LArVoxelList" to be the same as "LArVoxelList * scalar".
Definition at line 45 of file LArVoxelList.cxx.
std::ostream& operator<< |
( |
std::ostream & |
output, |
|
|
const LArVoxelList & |
list |
|
) |
| |
|
friend |
Definition at line 91 of file LArVoxelList.cxx.
95 int numberOfDigits = (int) std::log10( (
double) numberOfVoxels ) + 1;
98 output.width( numberOfDigits );
99 output <<
"#" <<
": < ID, energy >" << std::endl;
104 output.width( numberOfDigits );
106 <<
"< " << (*voxel).first
107 <<
", " << (*voxel).second
list_type::const_iterator const_iterator
list_type::size_type size_type
BEGIN_PROLOG sequence::SlidingWindowTriggerPatternsOppositeWindows END_PROLOG simSlidingORM6O6 effSlidingORW output
The documentation for this class was generated from the following files: