Go to the documentation of this file.
9 #include <netinet/in.h>
149 out << setw(2) << (int) hit.
getPMT() <<
' '
150 << setw(8) << (int) hit.
getT() <<
' '
151 << setw(3) << (int) hit.
getToT();
226 return first.
getT() < second.
getT();
258 return !(first == second);
JPMT_t pmt
PMT readout channel in FPGA.
Interface for binary input.
bool operator<(const JDAQHit &first, const JDAQHit &second)
Less than operator for DAQ hits.
JPMT_t getPMT() const
Get PMT.
JTOT_t tot
time over threshold [ns]
JDAQHit()
Default constructor.
static int sizeOf()
Get size of object.
friend JWriter & operator<<(JWriter &out, const JDAQHit &hit)
Write DAQ hit to output.
JTDC_t getT() const
Get time.
JDAQHit(const JPMT_t pmt_id, const JTDC_t tdc_ns, const JTOT_t tot_ns)
Constructor.
bool operator!=(const JDAQChronometer &first, const JDAQChronometer &second)
Not-equal operator for DAQ chronometers.
friend std::istream & operator>>(std::istream &in, JDAQHit &hit)
Read DAQ hit from input.
Interface for binary output.
unsigned char JPMT_t
PMT channel in FPGA.
JTOT_t getToT() const
Get time-over-threshold.
friend JReader & operator>>(JReader &in, JDAQHit &hit)
Read DAQ hit from input.
friend std::ostream & operator<<(std::ostream &out, const JDAQHit &hit)
Write DAQ hit to output.
bool operator==(const JDAQChronometer &first, const JDAQChronometer &second)
Equal operator for DAQ chronometers.
static JTOT_t getMaximalToT()
Get maximal time-over-threshold.
unsigned int JTDC_t
leading edge [ns]
KM3NeT DAQ data structures and auxiliaries.
unsigned char JTOT_t
time over threshold [ns]
JTDC_t tdc
leading edge [ns]