CbmRoot
CbmL1MuchTrack.h
Go to the documentation of this file.
1
#ifndef CBM_L1_MuchTrack_h
2
#define CBM_L1_MuchTrack_h
3
4
#include "
CbmL1MuchHit.h
"
5
6
#include "
CbmKFTrackInterface.h
"
7
8
#include <vector>
9
10
class
CbmStsTrack
;
11
12
13
class
CbmL1MuchTrack
:
public
CbmKFTrackInterface
{
14
public
:
15
CbmL1MuchTrack
() {}
16
~CbmL1MuchTrack
() {}
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
29
double
T
[6],
C
[15],
chi2
;
30
int
NDF
;
31
std::vector<CbmL1MuchHit*>
vHits
;
32
int
NHits
,
NMissed
,
NMissedStations
;
33
bool
ok
;
34
bool
stopped
;
35
int
StsID
;
36
37
static
bool
Compare
(
const
CbmL1MuchTrack
* p1,
const
CbmL1MuchTrack
* p2) {
38
return
(p1->
NHits
> p2->
NHits
)
39
|| (p1->
NHits
== p2->
NHits
) && (p1->
chi2
< p2->
chi2
);
40
}
41
42
public
:
43
ClassDef
(
CbmL1MuchTrack
, 1);
44
};
45
46
#endif
CbmL1MuchTrack::SetStsTrack
void SetStsTrack(CbmStsTrack *track)
Definition:
CbmL1MuchTrack.cxx:8
CbmL1MuchTrack::NMissed
int NMissed
Definition:
CbmL1MuchTrack.h:32
CbmKFHit
Definition:
CbmKFHit.h:16
i
int i
Definition:
L1/vectors/P4_F32vec4.h:25
CbmL1MuchTrack::CbmL1MuchTrack
CbmL1MuchTrack()
Definition:
CbmL1MuchTrack.h:15
CbmL1MuchTrack::GetCovMatrix
double * GetCovMatrix()
array[6] of track parameters(x,y,tx,ty,qp,z)
Definition:
CbmL1MuchTrack.h:19
CbmL1MuchTrack::GetNOfHits
int GetNOfHits()
Number of Degrees of Freedom after fit.
Definition:
CbmL1MuchTrack.h:24
CbmL1MuchTrack::T
double T[6]
Definition:
CbmL1MuchTrack.h:29
CbmKFTrackInterface.h
CbmL1MuchTrack::NHits
int NHits
Definition:
CbmL1MuchTrack.h:32
CbmL1MuchTrack::vHits
std::vector< CbmL1MuchHit * > vHits
Definition:
CbmL1MuchTrack.h:31
CbmL1MuchTrack::GetMass
double GetMass()
Definition:
CbmL1MuchTrack.h:22
CbmL1MuchTrack::GetRefNDF
int & GetRefNDF()
Chi^2 after fit.
Definition:
CbmL1MuchTrack.h:21
CbmL1MuchTrack::IsElectron
bool IsElectron()
Mass hypothesis.
Definition:
CbmL1MuchTrack.h:23
CbmL1MuchTrack::ok
bool ok
Definition:
CbmL1MuchTrack.h:33
CbmL1MuchTrack::Compare
static bool Compare(const CbmL1MuchTrack *p1, const CbmL1MuchTrack *p2)
Definition:
CbmL1MuchTrack.h:37
CbmL1MuchTrack::NMissedStations
int NMissedStations
Definition:
CbmL1MuchTrack.h:32
CbmL1MuchTrack::ClassDef
ClassDef(CbmL1MuchTrack, 1)
CbmL1MuchTrack::GetTrack
double * GetTrack()
Is it electron.
Definition:
CbmL1MuchTrack.h:18
CbmKFTrackInterface
Definition:
CbmKFTrackInterface.h:26
CbmL1MuchTrack::~CbmL1MuchTrack
~CbmL1MuchTrack()
Definition:
CbmL1MuchTrack.h:16
CbmL1MuchTrack::NDF
int NDF
Definition:
CbmL1MuchTrack.h:30
CbmL1MuchTrack
Definition:
CbmL1MuchTrack.h:13
CbmL1MuchTrack::GetHit
CbmKFHit * GetHit(int i)
Definition:
CbmL1MuchTrack.h:25
CbmStsTrack
Definition:
CbmStsTrack.h:37
CbmL1MuchTrack::GetRefChi2
double & GetRefChi2()
array[15] of covariance matrix
Definition:
CbmL1MuchTrack.h:20
CbmL1MuchTrack::C
double C[15]
Definition:
CbmL1MuchTrack.h:29
CbmL1MuchHit.h
CbmL1MuchTrack::StsID
int StsID
Definition:
CbmL1MuchTrack.h:35
CbmL1MuchTrack::chi2
double chi2
Definition:
CbmL1MuchTrack.h:29
CbmL1MuchTrack::stopped
bool stopped
Definition:
CbmL1MuchTrack.h:34
reco
L1
OffLineInterface
CbmL1MuchTrack.h
Generated on Wed Oct 28 2020 15:11:38 for CbmRoot by
1.8.18