1#ifndef __JACOUSTICS__JTOA__
2#define __JACOUSTICS__JTOA__
76 friend inline std::ostream&
operator<<(std::ostream& out,
const JToA&
object)
80 return out << setw(6) <<
object.DETID <<
' '
81 << setw(8) <<
object.RUN <<
' '
82 << setw(8) <<
object.DOMID <<
' '
83 << setw(4) <<
object.WAVEFORMID <<
' '
84 << setw(16) <<
object.TOA_NS <<
' '
85 << setw(8) <<
object.SECONDS <<
' '
86 << setw(8) <<
object.TICKS <<
' '
87 << setw(8) <<
object.QUALITYFACTOR <<
' '
88 << setw(8) <<
object.QUALITYNORMALISATION << endl;
Auxiliary classes and methods for acoustic position calibration.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Time-of-arrival data from acoustic piezo sensor or hydrophone.
double daqFrameTimeStart_s() const
Time stamp of the DAQ frame start, in seconds since the Unix epoch (1 January 1970 00:00:00 UTC)
int64_t daqFrameTimeStart_ns() const
Normalization for the quality factor.
uint32_t SECONDS
Time of Arrival, in ns (relative to Unix epoch, 1 January 1970 00:00:00 UTC)
uint32_t DOMID
DAQ run number.
int64_t TOA_NS
Unique ID of the waveform that best described the signal around TOA_NS.
uint32_t QUALITYFACTOR
The ticks (16ns) part of the DAQ frame timestamp.
friend std::ostream & operator<<(std::ostream &out, const JToA &object)
Write time-of-arrival data to output stream.
uint32_t QUALITYNORMALISATION
A measure of how good the waveform match was to the signal.
int32_t WAVEFORMID
DOM unique identifeir.
int64_t relativeToA_ns() const
Time of Arrival, expressed in nanoseconds relative to the DAQ frame start.
double relativeToA_s() const
Time of Arrival, expressed in seconds relative to the DAQ frame start.
int32_t RUN
detector identifier
double TOA_S() const
Time of Arrival, expressed in seconds relative to Unix epoch (1 January 1970 00:00:00 UTC)
uint32_t TICKS
The seconds part of the DAQ frame timestamp.