Collection of photons which recorded on one channel. More...
#include <SimPhotons.h>
Public Types | |
Vector types | |
typedef std::vector< OnePhoton > | list_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 |
Public Member Functions | |
SimPhotons ()=default | |
Default constructor (do not use! it's for ROOT only). More... | |
SimPhotons (int chan) | |
Constructor: associated to optical detector channel chan , and empty. More... | |
int | OpChannel () const |
Returns the optical channel number this object is associated to. More... | |
void | SetChannel (int ch) |
Sets the optical detector channel number this object is associated to. More... | |
SimPhotons & | operator+= (const SimPhotons &rhs) |
Add all photons from rhs to this ones; no sorting is applied. More... | |
SimPhotons | operator+ (const SimPhotons &rhs) const |
bool | operator== (const SimPhotons &other) const |
Returns whether other is on the same channel (OpChannel ) as this. More... | |
Public Attributes | |
int | fOpChannel |
Optical detector channel associated to this data. More... | |
Public Attributes inherited from std::vector< T > | |
T | elements |
STL member. More... | |
Collection of photons which recorded on one channel.
Definition at line 136 of file SimPhotons.h.
typedef list_type::const_iterator sim::SimPhotons::const_iterator |
Definition at line 150 of file SimPhotons.h.
typedef list_type::const_reverse_iterator sim::SimPhotons::const_reverse_iterator |
Definition at line 152 of file SimPhotons.h.
typedef list_type::difference_type sim::SimPhotons::difference_type |
Definition at line 154 of file SimPhotons.h.
typedef list_type::iterator sim::SimPhotons::iterator |
Definition at line 149 of file SimPhotons.h.
typedef std::vector<OnePhoton> sim::SimPhotons::list_type |
Definition at line 147 of file SimPhotons.h.
typedef list_type::reverse_iterator sim::SimPhotons::reverse_iterator |
Definition at line 151 of file SimPhotons.h.
typedef list_type::size_type sim::SimPhotons::size_type |
Definition at line 153 of file SimPhotons.h.
typedef list_type::value_type sim::SimPhotons::value_type |
Definition at line 148 of file SimPhotons.h.
|
default |
Default constructor (do not use! it's for ROOT only).
|
inline |
Constructor: associated to optical detector channel chan
, and empty.
Definition at line 163 of file SimPhotons.h.
|
inline |
Returns the optical channel number this object is associated to.
Definition at line 254 of file SimPhotons.h.
sim::SimPhotons sim::SimPhotons::operator+ | ( | const SimPhotons & | rhs | ) | const |
Creates a new sim::SimPhotons
with all photons from rhs
and this object.
Definition at line 25 of file SimPhotons.cxx.
sim::SimPhotons & sim::SimPhotons::operator+= | ( | const SimPhotons & | rhs | ) |
Add all photons from rhs
to this ones; no sorting is applied.
Definition at line 16 of file SimPhotons.cxx.
|
inline |
Returns whether other
is on the same channel (OpChannel
) as this.
Definition at line 258 of file SimPhotons.h.
|
inline |
Sets the optical detector channel number this object is associated to.
Definition at line 256 of file SimPhotons.h.
int sim::SimPhotons::fOpChannel |
Optical detector channel associated to this data.
Definition at line 140 of file SimPhotons.h.