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)
235 using namespace JTOOLS;
256 using namespace JTOOLS;
257 using namespace JGEOMETRY3D;
293 in >>
static_cast<JLine1Z&
> (object);
309 out << static_cast<const JLine1Z&> (object);
311 out << static_cast<const JVersor3Z&>(object);
double getDot(const JAngle3D &angle) const
Get dot product.
Auxiliary base class for aritmetic operations of derived class types.
double getT() const
Get time.
Data structure for direction in three dimensions.
JVersor3Z & negate()
Prefix unary minus.
double getDistance(const JVector3D &pos) const
Get distance.
friend std::istream & operator>>(std::istream &in, JLine3Z &object)
Read object from input.
double getT(const JVector3D &pos) const
Get arrival time of Cherenkov light at given position.
const JDirection3D & getDirection() const
Get direction.
JVersor3Z & sub(const JVersor3Z &value)
Subtraction operator.
Data structure for fit of straight line in positive z-direction.
JVertex3D & add(const JVertex3D &value)
Addition operator.
JVertex3D & negate()
Prefix unary minus.
double JLine3Z::* parameter_type
JVertex3D & div(const double value)
Division operator.
JVersor3Z & add(const JVersor3Z &value)
Addition operator.
JVertex3D & sub(const JVertex3D &value)
Subtraction operator.
double getDot(const JAxis3D &axis) const
Get cosine angle of impact of Cherenkov light on PMT.
double getDY() const
Get y direction.
JVersor3Z & mul(const double value)
Multiplication operator.
double getDistanceSquared(const JVector3D &pos) const
Get distance squared.
JVersor3D getDirection(const JVector3D &pos) const
Get photon direction of Cherenkov light on PMT.
JVector3D & sub(const JVector3D &vector)
Subtract vector.
static parameter_type pDX()
JLine3Z & div(const double value)
Division operator.
Data structure for vector in three dimensions.
JVertex3D & mul(const double value)
Multiplication operator.
double JLine1Z::* parameter_type
JVersor3Z & div(const double value)
Division operator.
JLine3Z & add(const JLine3Z &value)
Addition operator.
const JPosition3D & getPosition() const
Get position.
double getLengthSquared() const
Get length squared.
static parameter_type pDY()
void move(const double step, const double velocity)
Move vertex along this line with given velocity.
JLine3Z & mul(const double value)
Multiplication operator.
const JVersor3Z & getDirection() const
Get direction.
JLine3Z()
Default constructor.
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.
JLine3Z(const JLine1Z &line)
Constructor.
JPosition3D()
Default constructor.
double getDX() const
Get x direction.
Data structure for fit of straight line paralel to z-axis.
Base class for data structures with artithmetic capabilities.
JLine3Z & sub(const JLine3Z &value)
Subtraction operator.
Data structure for position in three dimensions.
double getDZ() const
Get z direction.
Data structure for normalised vector in three dimensions.
Data structure for normalised vector in positive z-direction.
JLine3Z(const JLine1Z &line, const JVersor3Z &dir)
Constructor.
double getZ() const
Get z position.
JLine3Z & negate()
Prefix unary minus.