1#ifndef __JDAQTIMESLICE__
2#define __JDAQTIMESLICE__
99 for (
iterator i = this->begin(); i != this->end(); ++i) {
119 for (const_iterator i = timeslice.begin(); i != timeslice.end(); ++i) {
139 for (const_iterator i = this->begin(); i != this->end(); ++i) {
143 for (JDAQTimeslice::const_iterator i = timeslice.begin(); i != timeslice.end(); ++i) {
147 if (p != buffer.end()) {
172 std::ostream&
print(std::ostream& out,
const bool lpr =
false)
const
180 for (JDAQTimeslice::const_iterator frame = this->begin(); frame != this->end(); ++frame) {
182 out <<
' ' <<
setw(10) << frame->getModuleID();
183 out <<
' ' <<
setw(6) << frame->getLength();
184 out <<
' ' <<
setw(6) << frame->getDataType();
185 out <<
' ' <<
setw(6) << frame->getTimesliceStart();
188 out <<
' ' <<
setw(2) << frame->getUDPNumberOfReceivedPackets();
189 out <<
'/' <<
setw(2) << frame->getUDPMaximalSequenceNumber();
190 out <<
' ' <<
setw(6) << frame->size();
194 if (!frame->empty()) {
196 out <<
' ' <<
setw(10) << frame-> begin()->getT();
198 out <<
' ' <<
setw(10) << frame->rbegin()->getT();
212 <<
setw(3) << (
int)
hit->getToT() << (
n%10 == 0 ?
'\n' :
' ');
252 return !(first == second);
Interface for binary input.
Interface for binary output.
Template definition of a multi-dimensional oscillation probability interpolation table.
const JDAQChronometer & getDAQChronometer() const
Get DAQ chronometer.
void setDAQChronometer(const JDAQChronometer &chronometer)
Set DAQ chronometer.
const_iterator end() const
const_iterator begin() const
Data frame of one optical module.
JDAQSuperFrame & add(const JDAQSuperFrame &super_frame)
Add data from same optical module.
JDAQTimeslice()
Default constructor.
JDAQTimeslice & add(const JDAQTimeslice ×lice)
Add another timeslice.
JDAQTimeslice(const JDAQChronometer &chronometer)
Constructor.
std::ostream & print(std::ostream &out, const bool lpr=false) const
Print DAQ Timeslice.
friend JWriter & operator<<(JWriter &, const JDAQTimeslice &)
Write DAQ time slice to output.
virtual ~JDAQTimeslice()
Virtual destructor.
friend JReader & operator>>(JReader &, JDAQTimeslice &)
Read DAQ time slice from input.
JDAQTimeslice & operator=(const JDAQTimeslice ×lice)
Assignment operator.
friend size_t getSizeof(const JDAQTimeslice &)
Get size of object.
ClassDef(JDAQTimeslice, 4)
bool operator==(const Head &first, const Head &second)
Equal operator.
std::ostream & operator<<(std::ostream &out, const morphology_type &object)
Write morphology to output stream.
bool operator!=(const JTag &first, const JTag &second)
Not equal operator for JTag.
KM3NeT DAQ data structures and auxiliaries.
bool & getDAQLongprint()
Get DAQ print option.
Timeslice data structure for L0 data.
ClassDef(JDAQTimesliceL0, 1)
Timeslice data structure for L1 data.
ClassDef(JDAQTimesliceL1, 1)
Timeslice data structure for L2 data.
ClassDef(JDAQTimesliceL2, 1)
Timeslice data structure for SN data.
ClassDef(JDAQTimesliceSN, 1)
Auxiliary class for a DAQ type holder.