146      out << setw(2) << (int) hit.
getPMT() << 
' ' 
  147          << setw(8) << (int) hit.
getT()   << 
' ' 
  148          << setw(3) << (int) hit.
getToT();
 
 
 
  178      return first.
getT()   < second.
getT();
 
 
  210    return !(first == second);
 
 
KM3NeT DAQ constants, bit handling, etc.
 
Interface for binary input.
 
Interface for binary output.
 
friend std::ostream & operator<<(std::ostream &out, const JDAQHit &hit)
Write DAQ hit to output.
 
JPMT_t pmt
PMT readout channel in FPGA.
 
JDAQHit()
Default constructor.
 
friend JWriter & operator<<(JWriter &, const JDAQHit &)
Write DAQ hit to output.
 
unsigned int JTDC_t
leading edge [ns]
 
JPMT_t getPMT() const
Get PMT.
 
JTDC_t tdc
leading edge [ns]
 
unsigned char JTOT_t
time over threshold [ns]
 
static JTOT_t getMaximalToT()
Get maximal time-over-threshold.
 
JTDC_t getT() const
Get time.
 
friend std::istream & operator>>(std::istream &in, JDAQHit &hit)
Read DAQ hit from input.
 
JTOT_t tot
time over threshold [ns]
 
JTOT_t getToT() const
Get time-over-threshold.
 
JDAQHit(const JPMT_t pmt_id, const JTDC_t tdc_ns, const JTOT_t tot_ns)
Constructor.
 
unsigned char JPMT_t
PMT channel in FPGA.
 
friend JReader & operator>>(JReader &, JDAQHit &)
Read DAQ hit from input.
 
bool operator==(const Head &first, const Head &second)
Equal operator.
 
bool operator<(const Head &first, const Head &second)
Less than operator.
 
bool operator!=(const JTag &first, const JTag &second)
Not equal operator for JTag.
 
KM3NeT DAQ data structures and auxiliaries.
 
size_t getSizeof< JDAQHit >()
Get size of type.