112 void move(
const double step,
const double velocity)
116 __t += step / velocity;
137 return this->
getT() + (dz + rt * getKappaC()) * getInverseSpeedOfLight();
197 in >>
static_cast<JAxis3D&
>(track);
198 in >>
static_cast<JTime&
> (track);
213 out << static_cast<const JAxis3D&>(track);
215 out << static_cast<const JTime&> (track);
230 in >>
static_cast<JAxis3D&
>(track);
231 in >>
static_cast<JTime&
> (track);
246 out << static_cast<const JAxis3D&>(track);
247 out << static_cast<const JTime&> (track);
void move(const double step)
Move vertex along this axis.
JDirection3D()
Default constructor.
const JDirection3D & getDirection() const
Get direction.
double getDot(const JAngle3D &angle) const
Get dot product.
Data structure for position in three dimensions.
double getDot(const JAngle3D &angle) const
Get dot product.
JPosition3D()
Default constructor.
const JPosition3D & getPosition() const
Get position.
JTime & add(const JTime &value)
Addition operator.
double getT() const
Get time.
JTime & sub(const JTime &value)
Subtraction operator.
friend std::ostream & operator<<(std::ostream &out, const JTrack3D &track)
Write track to output.
JTrack3D(const JVector3D &pos, const JVersor3D &dir, const JTime &t0)
Constructor.
double getDot(const JAxis3D &axis) const
Get cosine angle of impact of Cherenkov light on PMT.
JTrack3D()
Default constructor.
double getDot(const JVector3D &pos) const
Get cosine angle of emission of Cherenkov light on PMT.
double getT(const JVector3D &pos) const
Get arrival time of Cherenkov light at given position.
void move(const double step, const double velocity)
Move vertex along this track with given velocity.
JVersor3D getDirection(const JVector3D &pos) const
Get photon direction of Cherenkov light on PMT.
friend std::istream & operator>>(std::istream &in, JTrack3D &track)
Read track from input.
JTrack3D(const JAxis3D &axis, const JTime &t0)
Constructor.
friend JWriter & operator<<(JWriter &out, const JTrack3D &track)
Write track to output.
double getT() const
Get time.
friend JReader & operator>>(JReader &in, JTrack3D &track)
Read track from input.
JTrack3D(const JVertex3D &vertex, const JVersor3D &dir)
Constructor.
JVertex3D getVertex() const
Get vertex of this track.
Data structure for vector in three dimensions.
JVector3D & add(const JVector3D &vector)
Add vector.
double getLengthSquared() const
Get length squared.
JVector3D & sub(const JVector3D &vector)
Subtract vector.
Data structure for normalised vector in three dimensions.
Interface for binary input.
Interface for binary output.
Auxiliary classes and methods for 3D geometrical objects and operations.
Auxiliary methods for light properties of deep-sea water.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).