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();
116 using namespace JTOOLS;
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);
136 using namespace JTOOLS;
150 using namespace JTOOLS;
152 double dx = pos.
getX() - this->
getX();
153 double dy = pos.
getY() - this->
getY();
155 const double R = sqrt(dx*dx + dy*dy);
double getDistance(const JVector3D &pos) const
Get distance.
double getT() const
Get time.
const JDirection3D & getDirection() const
Get direction.
double getZ(const JPosition3D &pos) const
Get point of emission of Cherenkov light along muon path.
static parameter_type pT()
double getDistanceSquared(const JVector3D &pos) const
Get distance squared.
JLine1Z(const JVector3D &pos, const double t)
Constructor.
Data structure for vector in three dimensions.
double JLine1Z::* parameter_type
void move(const double step, const double velocity)
Move vertex along this line with given velocity.
double getY() const
Get y position.
const JPosition3D & getPosition() const
Get position.
static parameter_type pY()
JLine1Z()
Default constructor.
then usage $script[distance] fi case set_variable R
static parameter_type pX()
double getDot(const JAxis3D &axis) const
Get cosine angle of impact of Cherenkov light on PMT.
double getT(const JVector3D &pos) const
Get arrival time of Cherenkov light at given position.
void setZ(const double z, const double velocity)
Set z-position of vertex.
Data structure for fit of straight line paralel to z-axis.
double getX() const
Get x position.
Data structure for position in three dimensions.
JVersor3D getDirection(const JVector3D &pos) const
Get photon direction of Cherenkov light on PMT.
Data structure for normalised vector in three dimensions.
double getZ() const
Get z position.