1#ifndef __JACOUSTICS__JEVT__
2#define __JACOUSTICS__JEVT__
93 out << setw(4) << fit.
id <<
' '
223 in >>
object.UNIXTimeStart;
224 in >>
object.UNIXTimeStop;
230 in >>
object.numberOfIterations;
246 out <<
object.UNIXTimeStart;
247 out <<
object.UNIXTimeStop;
253 out <<
object.numberOfIterations;
337 return event.UNIXTimeStart;
378 out <<
event.detid << endl
379 <<
FIXED(20,5) <<
event.UNIXTimeStart << endl
380 <<
FIXED(20,5) <<
event.UNIXTimeStop << endl
381 << setw(5) <<
event.nhit <<
' '
382 << setw(5) <<
event.nfit <<
' '
383 << setw(4) <<
event.npar << endl
384 <<
FIXED(12,3) <<
event.chi2 <<
'/'
385 <<
FIXED(7,1) <<
event.ndf << endl;
387 for (JEvt::const_iterator fit = event.begin(); fit != event.end(); ++fit) {
403 in >>
static_cast<JHead&
> (*this);
418 out << static_cast<const JHead&> (*
this);
419 out << static_cast<const std::vector<JFit>&>(*this);
STD extensions for binary I/O.
Interface for binary input.
Forward declaration of binary output.
Interface for binary output.
Auxiliary classes and methods for acoustic position calibration.
static bool operator<(const JCounter &first, const JCounter &second)
Less-than operator for two counters.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary data structure for floating point format specification.
Auxiliary class to determine value of acoustic events.
value_type operator()(const JEvt &event) const
Get value of object.
JEvaluator()
Default constructor.
double value_type
Type definition of time value.
JEvt(const JHead &header)
Constructor.
friend std::ostream & operator<<(std::ostream &out, const JEvt &event)
Write event to output.
virtual JReader & read(JReader &in) override
Read from input.
virtual ~JEvt()
Virtual destructor.
JEvt()
Default constructor.
ClassDefOverride(JEvt, 9)
virtual JWriter & write(JWriter &out) const override
Write to output.
double vs
stretching factor
friend JWriter & operator<<(JWriter &out, const JFit &object)
Write fit to output.
friend std::ostream & operator<<(std::ostream &out, const JFit &fit)
Write fit to output.
ClassDefOverride(JFit, 2)
virtual ~JFit()
Virtual destructor.
double ty2
2nd order correction of slope dy/dz
friend JReader & operator>>(JReader &in, JFit &object)
Read fit from input.
double tx2
2nd order correction of slope dx/dz
JFit()
Default constructor.
JFit(const int id, const double tx, const double ty, const double tx2, const double ty2, const double vs)
Constructor.
virtual ~JHead()
Virtual destructor.
JHead(const int detid, const JTimeRange &range, const int nhit, const int nfit, const int npar, const double ndf, const double chi2, const int ns)
Constructor.
double UNIXTimeStop
stop time
double ndf
weighed number of degrees of freedom
int detid
detector identifier
friend JReader & operator>>(JReader &in, JHead &object)
Read head from input.
int nfit
number of hits used in fit (after outlier removal)
friend JWriter & operator<<(JWriter &out, const JHead &object)
Write head to output.
int npar
number of fit parameters
JHead()
Default constructor.
double UNIXTimeStart
start time
int numberOfIterations
number of iterations
Auxiliary data structure for floating point format specification.