106 #endif // __JBLHELIX_H
double getTrajectoryZ(double s) const
Get z value along trajectory.
Definition: JBLHelix.cc:157
TwoVector getCenterPoint() const
Get center point of trajectory.
Definition: JBLHelix.cc:172
JBLHelix(double kappa, double phi0, double theta, double dca, double z0)
Constructor from (kappa, phi0, theta, dca, z0)
Definition: JBLHelix.cc:17
JBLHelix & setPar(int i, double par_)
Set value of parameter i.
Definition: JBLHelix.cc:43
double getNormalS(double s) const
Get smallest s that corresponds to same (x, y)
Definition: JBLHelix.cc:178
ThreeVector getTrajectoryPoint(double s) const
Get point along trajectory.
Definition: JBLHelix.cc:161
int getClosestApproach(const JBLHelix &h1, double &s0, double &s1, double &s02nd, double &s12nd) const
Get arc lengths for point where another helix comes closest.
Definition: JBLHelix.cc:49
void getCenterPointEx(TwoVector &p) const
Get center point of trajectory into existing 2-vector.
Definition: JBLHelix.cc:167
double getClosestS(const TwoVector &p) const
Return s of point on helix where helix comes closest in (x,y) to given point.
Definition: JBLHelix.cc:108
double getPar(int i)
Get value of parameter i.
Definition: JBLHelix.cc:38
~JBLHelix()
Destructor.
Definition: JBLHelix.cc:34
Definition: TwoVector.h:18
void getTrajectoryPointEx(double s, ThreeVector &p) const
Get point along trajectory into existing 3-vector.
Definition: JBLHelix.cc:138
A helix, parametrized by (kappa, phi0, theta, dca, z0)
Definition: JBLHelix.h:33
Definition: ThreeVector.h:18