5 #include <netinet/in.h> 
  182       return first.
getT()   < second.
getT();
 
  214     return !(first == second);
 
bool operator==(const JDAQChronometer &first, const JDAQChronometer &second)
Equal operator for DAQ chronometers. 
 
Interface for binary output. 
 
JDAQHit()
Default constructor. 
 
JTDC_t getT() const 
Get time. 
 
JPMT_t getPMT() const 
Get PMT. 
 
unsigned int JTDC_t
leading edge [ns] 
 
JTOT_t tot
time over threshold [ns] 
 
JTOT_t getToT() const 
Get time-over-threshold. 
 
unsigned char JTOT_t
time over threshold [ns] 
 
JDAQHit(const JPMT_t pmt_id, const JTDC_t tdc_ns, const JTOT_t tot_ns)
Constructor. 
 
Interface for binary input. 
 
static int sizeOf()
Get size of object. 
 
JTDC_t tdc
leading edge [ns] 
 
friend JWriter & operator<<(JWriter &out, const JDAQHit &hit)
Write DAQ hit to output. 
 
KM3NeT DAQ constants, bit handling, etc. 
 
bool operator!=(const JDAQChronometer &first, const JDAQChronometer &second)
Not-equal operator for DAQ chronometers. 
 
JPMT_t pmt
PMT readout channel in FPGA. 
 
bool operator<(const JDAQHit &first, const JDAQHit &second)
Less than operator for DAQ hits. 
 
unsigned char JPMT_t
PMT channel in FPGA. 
 
static JTOT_t getMaximalToT()
Get maximal time-over-threshold. 
 
friend JReader & operator>>(JReader &in, JDAQHit &hit)
Read DAQ hit from input.