22namespace 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)
133 JLine1Z ::add(value);
148 JLine1Z ::sub(value);
163 JLine1Z ::mul(value);
178 JLine1Z ::div(value);
245 return this->
getT() + (dz + R * getKappaC()) * getInverseSpeedOfLight();
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.
Data structure for fit of straight line in positive z-direction.
friend std::istream & operator>>(std::istream &in, JLine3Z &object)
Read object from input.
JVersor3D getDirection(const JVector3D &pos) const
Get photon direction of Cherenkov light on PMT.
JLine3Z(const JLine1Z &line, const JVersor3Z &dir)
Constructor.
JLine3Z & sub(const JLine3Z &value)
Subtraction operator.
friend std::ostream & operator<<(std::ostream &out, const JLine3Z &object)
Write object to output.
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 & negate()
Prefix unary minus.
JLine3Z & div(const double value)
Division operator.
double JLine3Z::* parameter_type
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.
const JVersor3Z & getDirection() const
Get direction.
static parameter_type pDY()
static parameter_type pDX()
double getT(const JVector3D &pos) const
Get arrival time of Cherenkov light at given position.
JLine3Z & add(const JLine3Z &value)
Addition operator.
JLine3Z & mul(const double value)
Multiplication operator.
Data structure for direction in three dimensions.
const JDirection3D & getDirection() const
Get direction.
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.
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.
double getDot(const JVersor3Z &dir) const
Get dot product.
JVersor3Z & add(const JVersor3Z &value)
Addition operator.
JVersor3Z & sub(const JVersor3Z &value)
Subtraction operator.
JVersor3Z & mul(const double value)
Multiplication operator.
JVersor3Z & negate()
Prefix unary minus.
double getDZ() const
Get z direction.
const JVersor3Z & getDirection() const
Get direction.
JVersor3Z & div(const double value)
Division operator.
double getDY() const
Get y direction.
double getDX() const
Get x direction.
double getT() const
Get time.
Auxiliary classes and methods for linear and iterative data regression.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary base class for aritmetic operations of derived class types.