BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
CbmL1SttTrack.h
Go to the documentation of this file.
1#ifndef CBM_L1_STTTRACK_h
2#define CBM_L1_STTTRACK_h
3
4#include "CbmKFTrackInterface.h"
5#include "CbmL1SttHit.h"
6
7#include <vector>
8
9class CbmStsTrack;
10class CbmMuchTrack;
11
13{
14 public:
17
18 double* GetTrack() { return T; }
19 double* GetCovMatrix() { return C; }
20 double& GetRefChi2() { return chi2; }
21 int& GetRefNDF() { return NDF; }
22 double GetMass() { return 0.1057; }
23 bool IsElectron() { return 0; }
24 int GetNOfHits() { return vHits.size(); }
25 CbmKFHit* GetHit(int i) { return vHits[i]; }
26
27 void SetStsTrack(CbmStsTrack* track);
28 void SetMuchTrack(CbmMuchTrack* track);
29
30 double T[6], C[15], chi2;
31 int NDF;
32 std::vector<CbmL1SttHit*> vHits;
34 bool ok;
35 bool stopped;
36 int StsID;
37
38 static bool Compare(const CbmL1SttTrack* p1, const CbmL1SttTrack* p2)
39 {
40 return (p1->NHits > p2->NHits) || (p1->NHits == p2->NHits) && (p1->chi2 < p2->chi2);
41 }
42
43 public:
45};
46
47#endif
int i
Definition P4_F32vec4.h:22
#define ClassDef(name, id)
Abstract base class for hit is being used by the CbmKF Kalman Filter.
Definition CbmKFHit.h:17
CbmKFHit * GetHit(int i)
Number of hits.
bool IsElectron()
Mass hypothesis.
void SetStsTrack(CbmStsTrack *track)
double & GetRefChi2()
array[15] of covariance matrix
int GetNOfHits()
Number of Degrees of Freedom after fit.
double C[15]
double GetMass()
Information not to be changed.
static bool Compare(const CbmL1SttTrack *p1, const CbmL1SttTrack *p2)
int & GetRefNDF()
Chi^2 after fit.
double * GetCovMatrix()
array[6] of track parameters(x,y,tx,ty,qp,z)
std::vector< CbmL1SttHit * > vHits
void SetMuchTrack(CbmMuchTrack *track)
double * GetTrack()
Is it electron.