22 namespace JPP {
using namespace JFIT; }
90 void move(
const double step,
const double velocity)
95 __t += step / velocity;
105 void setZ(
const double z,
const double velocity)
293 in >>
static_cast<JLine1Z&
> (object);
309 out << static_cast<const JLine1Z&> (
object);
311 out << static_cast<const JVersor3Z&>(
object);
Base class for data structures with artithmetic capabilities.
Data structure for fit of straight line paralel to z-axis.
double getT(const JVector3D &pos) const
Get arrival time of Cherenkov light at given position.
double JLine1Z::* parameter_type
Data structure for fit of straight line in positive z-direction.
JVersor3D getDirection(const JVector3D &pos) const
Get photon direction of Cherenkov light on PMT.
JLine3Z(const JLine1Z &line, const JVersor3Z &dir)
Constructor.
void setZ(const double z, const double velocity)
Set z-position.
double getDot(const JAxis3D &axis) const
Get cosine angle of impact of Cherenkov light on PMT.
double getDistanceSquared(const JVector3D &pos) const
Get distance squared.
JLine3Z()
Default constructor.
JLine3Z & mul(const double value)
Multiplication operator.
JLine3Z & div(const double value)
Division operator.
JLine3Z & sub(const JLine3Z &value)
Subtraction operator.
double getT(const JVector3D &pos) const
Get arrival time of Cherenkov light at given position.
JLine3Z & negate()
Prefix unary minus.
friend std::ostream & operator<<(std::ostream &out, const JLine3Z &object)
Write object to output.
JLine3Z(const JLine1Z &line)
Constructor.
double getDistance(const JVector3D &pos) const
Get distance.
void move(const double step, const double velocity)
Move vertex along this line with given velocity.
static parameter_type pDY()
JLine3Z & add(const JLine3Z &value)
Addition operator.
friend std::istream & operator>>(std::istream &in, JLine3Z &object)
Read object from input.
static parameter_type pDX()
double getT(const JVector3D &pos) const
Get arrival time of Cherenkov light at given position.
const JVersor3Z & getDirection() const
Get direction.
double JLine3Z::* parameter_type
Data structure for direction in three dimensions.
const JDirection3D & getDirection() const
Get direction.
Data structure for position in three dimensions.
const JPosition3D & getPosition() const
Get position.
double getDot(const JAngle3D &angle) const
Get dot product.
JPosition3D()
Default constructor.
Data structure for vector in three dimensions.
double getLengthSquared() const
Get length squared.
double getZ() const
Get z position.
JVector3D & sub(const JVector3D &vector)
Subtract vector.
Data structure for normalised vector in three dimensions.
Data structure for normalised vector in positive z-direction.
JVersor3Z & div(const double value)
Division operator.
double getDot(const JVersor3Z &dir) const
Get dot product.
JVersor3Z & add(const JVersor3Z &value)
Addition operator.
JVersor3Z & negate()
Prefix unary minus.
JVersor3Z & mul(const double value)
Multiplication operator.
JVersor3Z & sub(const JVersor3Z &value)
Subtraction operator.
double getDZ() const
Get z direction.
const JVersor3Z & getDirection() const
Get direction.
double getDY() const
Get y direction.
double getDX() const
Get x direction.
JVertex3D & mul(const double value)
Multiplication operator.
JTime & add(const JTime &value)
Addition operator.
JVertex3D & div(const double value)
Division operator.
JTime & sub(const JTime &value)
Subtraction operator.
JVertex3D & negate()
Prefix unary minus.
Auxiliary classes and methods for linear and iterative data regression.
double getKappaC()
Get average R-dependence of arrival time of Cherenkov light (a.k.a.
const double getInverseSpeedOfLight()
Get inverse speed of light.
double getTanThetaC()
Get average tangent of Cherenkov angle of water corresponding to group velocity.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary base class for aritmetic operations of derived class types.