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