EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
CbmGlobalTrack.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file CbmGlobalTrack.h
1
// -------------------------------------------------------------------------
2
// ----- CbmGlobalTrack header file -----
3
// ----- Created 01/12/05 by V. Friese -----
4
// ----- Modified 04/06/09 by A. Lebedev -----
5
// -------------------------------------------------------------------------
6
15
#ifndef CBMGLOBALTRACK_H_
16
#define CBMGLOBALTRACK_H_ 1
17
18
#include "
FairTrackParam.h
"
19
20
#include "TObject.h"
21
22
class
CbmGlobalTrack
:
public
TObject
23
{
24
25
public
:
26
28
CbmGlobalTrack
();
29
30
32
virtual
~CbmGlobalTrack
();
33
34
36
Int_t
GetStsTrackIndex
()
const
{
return
fStsTrack
; }
37
Int_t
GetTrdTrackIndex
()
const
{
return
fTrdTrack
; }
38
Int_t
GetMuchTrackIndex
()
const
{
return
fMuchTrack
; }
39
Int_t
GetRichRingIndex
()
const
{
return
fRichRing
; }
40
Int_t
GetTofHitIndex
()
const
{
return
fTofHit
; }
41
const
FairTrackParam
*
GetParamFirst
()
const
{
return
&
fParamFirst
; }
42
const
FairTrackParam
*
GetParamLast
()
const
{
return
&
fParamLast
; }
43
Int_t
GetPidHypo
()
const
{
return
fPidHypo
; }
44
Double_t
GetChi2
()
const
{
return
fChi2
; }
45
Int_t
GetNDF
()
const
{
return
fNDF
; }
46
Int_t
GetFlag
()
const
{
return
fFlag
; }
47
Double_t
GetLength
()
const
{
return
fLength
; }
48
49
51
void
SetStsTrackIndex
(Int_t iSts) {
fStsTrack
= iSts; }
52
void
SetTrdTrackIndex
(Int_t iTrd) {
fTrdTrack
= iTrd; }
53
void
SetMuchTrackIndex
(Int_t iMuch) {
fMuchTrack
= iMuch; }
54
void
SetRichRingIndex
(Int_t iRing) {
fRichRing
= iRing; }
55
void
SetTofHitIndex
(Int_t iTofHit) {
fTofHit
= iTofHit; }
56
void
SetParamFirst
(
const
FairTrackParam
* parFirst) {
fParamFirst
= *parFirst;}
57
void
SetParamLast
(
const
FairTrackParam
* parLast) {
fParamLast
= *parLast;}
58
void
SetPidHypo
(Int_t iPid) {
fPidHypo
= iPid; }
59
void
SetChi2
(Double_t chi2) {
fChi2
= chi2; }
60
void
SetNDF
(Int_t ndf) {
fNDF
= ndf; }
61
void
SetFlag
(Int_t iFlag) {
fFlag
= iFlag; }
62
void
SetLength
(Double_t
length
) {
fLength
=
length
;}
63
64
66
void
Print
()
const
;
67
68
69
private
:
70
72
Int_t
fStsTrack
;
73
Int_t
fTrdTrack
;
74
Int_t
fMuchTrack
;
75
Int_t
fRichRing
;
76
Int_t
fTofHit
;
77
79
FairTrackParam
fParamFirst
;
80
FairTrackParam
fParamLast
;
81
83
Int_t
fPidHypo
;
84
86
Double32_t
fChi2
;
87
89
Int_t
fNDF
;
90
92
Int_t
fFlag
;
93
95
Double32_t
fLength
;
96
97
98
ClassDef
(
CbmGlobalTrack
, 2);
99
100
};
101
102
103
#endif
EicRoot
blob
master
cbmdata
global
CbmGlobalTrack.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:33
using
1.8.2 with
EIC GitHub integration