|
JData::const_iterator | page |
|
Definition at line 384 of file JDQSimulator.cc.
◆ JData()
KM3NETDAQ::JDQSimulator::JData::JData |
( |
| ) |
|
|
inline |
◆ setRunNumber()
void KM3NETDAQ::JDQSimulator::JData::setRunNumber |
( |
int | run_number | ) |
|
|
inline |
Set run number.
- Parameters
-
Definition at line 401 of file JDQSimulator.cc.
402 {
404
405 for (
iterator timeslice = begin(); timeslice != end(); ++timeslice) {
406
408
410
412
413 in >> header;
414
416
418
419 *frame << header;
420 }
421 }
422 }
std::vector< value_type >::iterator iterator
void setRunNumber(const int run)
Set run number.
size_t getSizeof< JDAQSuperFrameHeader >()
Get size of type.
size_t getSizeof< JDAQPreamble >()
Get size of type.
◆ reset()
void KM3NETDAQ::JDQSimulator::JData::reset |
( |
| ) |
|
|
inline |
Reset internal iterator to begin.
Definition at line 428 of file JDQSimulator.cc.
429 {
431 }
JData::const_iterator page
◆ next()
void KM3NETDAQ::JDQSimulator::JData::next |
( |
| ) |
|
|
inline |
Increment internal iterator.
When the internal iterator reaches the end of the data, the frame indices of the data are increased and the internal iterator is reset to the begin of data.
Definition at line 440 of file JDQSimulator.cc.
441 {
442 if (
page != end() && ++
page == end()) {
443
445
446 for (
iterator timeslice = begin(); timeslice != end(); ++timeslice) {
447
449
451
453
454 in >> header;
455
458
460
461 *frame << header;
462 }
463 }
464
466 }
467 }
void setFrameIndex(const int frame_index)
Set frame index.
Data structure for UTC time.
void reset()
Reset internal iterator to begin.
double getTimeOfFrame(const int frame_index)
Get start time of frame in ns since start of run for a given frame index.
◆ operator->()
const_iterator KM3NETDAQ::JDQSimulator::JData::operator-> |
( |
| ) |
|
|
inline |
Smart pointer operator.
- Returns
- current iterator
Definition at line 475 of file JDQSimulator.cc.
◆ page
JData::const_iterator KM3NETDAQ::JDQSimulator::JData::page |
|
private |
The documentation for this class was generated from the following file: