//***************************************************** // Class : TrackConversion.hpp // // Author: M. Narain - F. Stichelbaut // // Date : 16-APR-1998 // 23-APR-1998 : Modify arguments of TrackConvertEtoI. // 12-AUG-1998 : Conversion in the constructor. //***************************************************** #ifndef TRACKCONVERSION_H #define TRACKCONVERSION_H #include "LinearAlgebra/Matrix.h" #include "trfbase/ETrack.h" /** Track conversion class. This class is used to convert the track parameters from their external format ({\bf ETrack}) to their internal format ({\bf ITrack}) which is used by the {\em valgimp} package. The new error matrix is also provided. The {\bf ETrack} object contains the track at the distance of closest approach wrt the origin, defined by the parameters: $\epsilon^d$, $\epsilon_z$, $\phi_{direction}$, $\tan\theta$ and $q/p_T$. The internal parameters are: $x_c$, $y_c$, $z_c$, $R$ and $\cot(\theta)$. @see ETrack, ITrack */ namespace vertex { class TrackConversion { public: /**@name Methods */ //@{ /** Constructor. This constructor is used to do the conversion from external to internal format. This internal parameterization is returned into the arguments {\bf itrack, eitrack} and {\bf phi\_pos}. */ TrackConversion(const ETrack& my_etrack, ColumnVector& itrack, Matrix& eitrack, double& phi_pos); /// Destructor ~TrackConversion(); //@} }; } #endif