1#ifndef __JACOUSTICS__JTRIGGERPARAMETERS__
2#define __JACOUSTICS__JTRIGGERPARAMETERS__
88 return out << parameters.
id <<
' ' << parameters.
Q <<
' ' << parameters.
TMax_s <<
' ' << parameters.
numberOfHits;
132 for (
const auto& i :
emitter) {
std::ostream & operator<<(std::ostream &out, const JACOUSTICS::JTriggerParameters ¶meters)
Write parameters to output stream.
std::istream & operator>>(std::istream &in, JACOUSTICS::JTriggerParameters ¶meters)
Read parameters from input stream.
Auxiliary classes and methods for acoustic position calibration.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
double Q
minimal quality if larger than one; else minimal normalised quality
friend std::istream & operator>>(std::istream &in, JEmitterParameters ¶meters)
Read emitter parameters from input stream.
virtual ~JEmitterParameters()
Virtual destructor.
ClassDef(JEmitterParameters, 1)
friend std::ostream & operator<<(std::ostream &out, const JEmitterParameters ¶meters)
Write emitter parameters to output stream.
double TMax_s
maximal difference between times of emission [s]
JEmitterParameters(const int id, const double Q, const double TMax_s, const int numberOfHits)
Constructor.
int numberOfHits
minimal number of hits to trigger event
JEmitterParameters()
Default constructor.
JTriggerParameters()
Default constructor.
std::vector< JEmitterParameters > emitter
emitter parameters
virtual ~JTriggerParameters()
Virtual destructor.
double Q
minimal quality if larger than one; else minimal normalised quality
JEmitterParameters operator[](const int id) const
Get emitter parameters.
double TMax_s
maximal difference between times of emission [s]
ClassDef(JTriggerParameters, 4)
int numberOfHits
minimal number of hits to trigger event