15 namespace 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();
118 const double dx = pos.
getX() - this->
getX();
119 const double dy = pos.
getY() - this->
getY();
120 const double dz = pos.
getZ() - this->
getZ();
122 const double R = sqrt(dx*dx + dy*dy);
152 double dx = pos.
getX() - this->
getX();
153 double dy = pos.
getY() - this->
getY();
155 const double R = sqrt(dx*dx + dy*dy);
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 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.
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.
double getCosThetaC()
Get average cosine of Cherenkov angle of water corresponding to group velocity.
const double getInverseSpeedOfLight()
Get inverse speed of light.
double getTanThetaC()
Get average tangent of Cherenkov angle of water corresponding to group velocity.
double getSinThetaC()
Get average sine of Cherenkov angle of water corresponding to group velocity.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).