1#ifndef __JACOUSTICS__JHIT__
2#define __JACOUSTICS__JHIT__
6#include "JDetector/JLocation.hh"
7#include "JLang/JManip.hh"
25 using JDETECTOR::JLocation;
26 using JGEOMETRY3D::JVector3D;
55 const JLocation& location,
124 out << setw(3) << hit.getID() <<
' '
126 << getLabel(hit.getLocation())
127 << FIXED(20,5) << hit.
getValue() <<
' '
128 << FIXED(9,6) << hit.
getSigma() <<
' '
Auxiliary classes and methods for acoustic position calibration.
int getCounter() const
Get counter.
friend std::ostream & operator<<(std::ostream &out, const JHit &hit)
Write hit to output stream.
JHit()
Default constructor.
double getSigma() const
Get resolution of time-of-arrival.
JHit(const JEmitter &emitter, const JCounter &counter, const JLocation &location, const double toa_s, const double sigma_s, const double weight)
Constructor.
double getValue() const
Get expectation value of time-of-arrival.
double getWeight() const
Get weight.
JEKey getEKey() const
Get emitter hash key of this hit.