Go to the documentation of this file.
8 #ifndef CBMLITTRACKPARAM_H_
9 #define CBMLITTRACKPARAM_H_
20 using std::stringstream;
87 TVector3 unit = TVector3(px, py, pz).Unit();
98 vector<litfloat> state(6, 0.);
127 ss <<
"TrackParam: pos=(" <<
fX <<
"," <<
fY <<
"," <<
fZ <<
") tx=" <<
fTx
128 <<
" ty=" <<
fTy <<
" qp=" <<
fQp
129 <<
", fTime=" <<
fTime;
friend F32vec4 sqrt(const F32vec4 &a)
Data class for track parameters.
CbmLitTrackParam()
Constructor.
litfloat GetCovariance(int index) const
string ToString() const
Return string representation of class.
vector< litfloat > GetStateVector() const
Return state vector as vector.
void GetDirCos(litfloat &nx, litfloat &ny, litfloat &nz) const
Return direction cosines.
Define floating point number type litfloat.
virtual ~CbmLitTrackParam()
Destructor.
void SetStateVector(const vector< litfloat > &x)
Set parameters from vector.
void SetCovMatrix(const vector< litfloat > &C)
const vector< litfloat > & GetCovMatrix() const
void SetCovariance(int index, litfloat cov)
static litfloat fSpeedOfLight
vector< litfloat > fCovMatrix