15namespace JPP {
using namespace JFIT; }
62 void move(
const double step,
const double velocity)
65 __t += step / velocity;
75 void setZ(
const double z,
const double velocity)
89 const double dx = pos.
getX() - this->
getX();
90 const double dy = pos.
getY() - this->
getY();
122 const double R = sqrt(
dx*
dx +
dy*
dy);
124 return this->
getT() + (dz + R * getKappaC()) * getInverseSpeedOfLight();
155 const double R = sqrt(
dx*
dx +
dy*
dy);
157 dx *= getSinThetaC() / R;
158 dy *= getSinThetaC() / R;
160 const double dz = getCosThetaC();
Data structure for fit of straight line paralel to z-axis.
static parameter_type pY()
double getDot(const JAxis3D &axis) const
Get cosine angle of impact of Cherenkov light on PMT.
JLine1Z()
Default constructor.
double getT(const JVector3D &pos) const
Get arrival time of Cherenkov light at given position.
double getZ(const JPosition3D &pos) const
Get point of emission of Cherenkov light along muon path.
double getDistanceSquared(const JVector3D &pos) const
Get distance squared.
static parameter_type pX()
double getDistance(const JVector3D &pos) const
Get distance.
JLine1Z(const JVector3D &pos, const double t)
Constructor.
double JLine1Z::* parameter_type
static parameter_type pT()
void setZ(const double z, const double velocity)
Set z-position of vertex.
void move(const double step, const double velocity)
Move vertex along this line with given velocity.
JVersor3D getDirection(const JVector3D &pos) const
Get photon direction of Cherenkov light on PMT.
const JDirection3D & getDirection() const
Get direction.
Data structure for position in three dimensions.
const JPosition3D & getPosition() const
Get position.
Data structure for vector in three dimensions.
double getY() const
Get y position.
double getZ() const
Get z position.
double getX() const
Get x position.
Data structure for normalised vector in three dimensions.
double getDot(const JVersor3D &versor) const
Get dot product.
double getT() const
Get time.
Template definition of a multi-dimensional oscillation probability interpolation table.
Auxiliary classes and methods for linear and iterative data regression.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).