|
Jpp
pmt_effective_area_update_2
the software that should make you happy
|
Data frame. More...
#include <JDAQFrame.hh>
Public Types | |
| typedef const JDAQHit * | const_iterator |
| typedef JDAQHit * | iterator |
| typedef std::reverse_iterator < const_iterator > | const_reverse_iterator |
| typedef std::reverse_iterator < iterator > | reverse_iterator |
Public Member Functions | |
| JDAQFrame () | |
| Default constructor. More... | |
| JDAQFrame (const JDAQFrame &frame) | |
| Copy constructor. More... | |
| JDAQFrame (const int number_of_hits, const JDAQHit *data) | |
| Constructor. More... | |
| virtual | ~JDAQFrame () |
| Destructor. More... | |
| void | clear () |
| Clear data. More... | |
| const_iterator | begin () const |
| const_iterator | end () const |
| iterator | begin () |
| iterator | end () |
| const_reverse_iterator | rbegin () const |
| const_reverse_iterator | rend () const |
| reverse_iterator | rbegin () |
| reverse_iterator | rend () |
| bool | empty () const |
| int | size () const |
| const JDAQHit * | data () const |
| JDAQHit * | data () |
| const JDAQHit & | operator[] (int index) const |
| Get hit at given index. More... | |
| JDAQFrameSubset | subset (const int i1, const int i2) const |
| Get subset of data. More... | |
| JDAQFrame & | add (const JDAQFrame &frame) |
| Add data. More... | |
| JDAQFrame & | add (const int number_of_hits, const JDAQHit *data) |
| Add data. More... | |
| void | swap (JDAQFrame &frame) |
| Swap data. More... | |
| ClassDef (JDAQFrame, 1) | |
Public Attributes | |
| int | numberOfHits |
| JDAQHit * | buffer |
Protected Member Functions | |
| void | resize (const int number_of_hits) |
| Resize internal buffer. More... | |
Friends | |
| size_t | getSizeof (const JDAQFrame &) |
| Get size of object. More... | |
| JReader & | operator>> (JReader &, JDAQFrame &) |
| Read DAQ frame from input. More... | |
| JWriter & | operator<< (JWriter &, const JDAQFrame &) |
| Write DAQ frame to output. More... | |
Data frame.
Definition at line 64 of file JDAQFrame.hh.
| typedef const JDAQHit* KM3NETDAQ::JDAQFrame::const_iterator |
Definition at line 68 of file JDAQFrame.hh.
| typedef JDAQHit* KM3NETDAQ::JDAQFrame::iterator |
Definition at line 69 of file JDAQFrame.hh.
| typedef std::reverse_iterator<const_iterator> KM3NETDAQ::JDAQFrame::const_reverse_iterator |
Definition at line 70 of file JDAQFrame.hh.
| typedef std::reverse_iterator<iterator> KM3NETDAQ::JDAQFrame::reverse_iterator |
Definition at line 71 of file JDAQFrame.hh.
|
inline |
|
inline |
Copy constructor.
| frame | JDAQ frame |
Definition at line 91 of file JDAQFrame.hh.
|
inline |
Constructor.
| number_of_hits | number of hits |
| data | pointer to data |
Definition at line 105 of file JDAQFrame.hh.
|
inlinevirtual |
|
inline |
|
inline |
Definition at line 136 of file JDAQFrame.hh.
|
inline |
Definition at line 137 of file JDAQFrame.hh.
|
inline |
Definition at line 140 of file JDAQFrame.hh.
|
inline |
Definition at line 141 of file JDAQFrame.hh.
|
inline |
Definition at line 144 of file JDAQFrame.hh.
|
inline |
Definition at line 145 of file JDAQFrame.hh.
|
inline |
Definition at line 148 of file JDAQFrame.hh.
|
inline |
Definition at line 149 of file JDAQFrame.hh.
|
inline |
Definition at line 152 of file JDAQFrame.hh.
|
inline |
Definition at line 154 of file JDAQFrame.hh.
|
inline |
Definition at line 156 of file JDAQFrame.hh.
|
inline |
Definition at line 157 of file JDAQFrame.hh.
|
inline |
Get hit at given index.
| index | index |
Definition at line 166 of file JDAQFrame.hh.
|
inline |
Get subset of data.
| i1 | first index of hit (included) |
| i2 | last index of hit (excluded) |
Definition at line 178 of file JDAQFrame.hh.
Add data.
| frame | JDAQ frame |
Definition at line 190 of file JDAQFrame.hh.
Add data.
| number_of_hits | number of hits |
| data | pointer to data |
Definition at line 203 of file JDAQFrame.hh.
|
inline |
| KM3NETDAQ::JDAQFrame::ClassDef | ( | JDAQFrame | , |
| 1 | |||
| ) |
|
inlineprotected |
Resize internal buffer.
This method increases the size of the buffer if necessary. Otherwise, the current size is maintained.
| number_of_hits | total number of hits to allocate |
Definition at line 244 of file JDAQFrame.hh.
|
friend |
Get size of object.
| object | DAQ frame |
Definition at line 21 of file JDAQFrameIO.hh.
Read DAQ frame from input.
| in | reader |
| frame | DAQ frame |
Definition at line 34 of file JDAQFrameIO.hh.
Write DAQ frame to output.
| out | writer |
| frame | DAQ frame |
Definition at line 57 of file JDAQFrameIO.hh.
| int KM3NETDAQ::JDAQFrame::numberOfHits |
Definition at line 228 of file JDAQFrame.hh.
| JDAQHit* KM3NETDAQ::JDAQFrame::buffer |
Definition at line 229 of file JDAQFrame.hh.
1.8.5