BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
CbmGlobalTrack.h
Go to the documentation of this file.
1
// -------------------------------------------------------------------------
2
// ----- CbmGlobalTrack header file -----
3
// ----- Created 01/12/05 by V. Friese -----
4
// ----- Modified 04/06/09 by A. Lebedev -----
5
// -------------------------------------------------------------------------
6
7
/** CbmGlobalTrack.h
8
*@author V.Friese <v.friese@gsi.de>
9
**
10
** Data class for Global CBM track. Data level RECO.
11
** It consists of local tracks in STS, MUCH and TRD and a RICH ring.
12
**
13
**/
14
15
#ifndef CBMGLOBALTRACK_H_
16
#define CBMGLOBALTRACK_H_ 1
17
18
#include "BmnFitNode.h"
19
#include "FairTrackParam.h"
20
#include "
TObject.h
"
21
22
class
CbmGlobalTrack
:
public
TObject
23
{
24
25
public
:
26
/** Default constructor **/
27
CbmGlobalTrack
();
28
29
/** Destructor **/
30
virtual
~CbmGlobalTrack
();
31
32
/** Accessors **/
33
Int_t
GetStsTrackIndex
()
const
{
return
fStsTrack
; }
34
Int_t
GetTrdTrackIndex
()
const
{
return
fTrdTrack
; }
35
Int_t
GetMuchTrackIndex
()
const
{
return
fMuchTrack
; }
36
Int_t
GetRichRingIndex
()
const
{
return
fRichRing
; }
37
Int_t
GetTofHitIndex
()
const
{
return
fTofHit
; }
38
const
FairTrackParam*
GetParamFirst
()
const
{
return
&
fParamFirst
; }
39
const
FairTrackParam*
GetParamLast
()
const
{
return
&
fParamLast
; }
40
Int_t
GetPidHypo
()
const
{
return
fPidHypo
; }
41
Double_t
GetChi2
()
const
{
return
fChi2
; }
42
Int_t
GetNDF
()
const
{
return
fNDF
; }
43
Int_t
GetFlag
()
const
{
return
fFlag
; }
44
Double_t
GetLength
()
const
{
return
fLength
; }
45
46
const
BmnFitNode
*
GetFitNode
(
Int_t
index)
const
{
return
&
fFitNodes
[index]; }
47
const
vector<BmnFitNode>&
GetFitNodes
()
const
{
return
fFitNodes
; }
48
Int_t
GetNofHits
()
const
{
return
fNofHits
; }
49
50
/** Modifiers **/
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
void
SetFitNodes
(
const
vector<BmnFitNode>& nodes) {
fFitNodes
= nodes; }
65
void
SetNofHits
(
Int_t
n
) {
fNofHits
=
n
; }
66
67
/** Output to screen **/
68
void
Print
()
const
;
69
70
private
:
71
/** Indices of local StsTrack, TrdTrack, MuchTrack, RichRing and TofHit **/
72
Int_t
fStsTrack
;
73
Int_t
fTrdTrack
;
74
Int_t
fMuchTrack
;
75
Int_t
fRichRing
;
76
Int_t
fTofHit
;
77
78
Int_t
fNofHits
;
// number of all hits
79
80
/** Global track parameters at first and last plane **/
81
FairTrackParam
fParamFirst
;
82
FairTrackParam
fParamLast
;
83
vector<BmnFitNode>
fFitNodes
;
// Array of fit nodes
84
85
/** PID hypothesis used for global track fit **/
86
Int_t
fPidHypo
;
87
88
/** Chi2 of global track fit **/
89
Double32_t
fChi2
;
90
91
/** NDF of global track fit **/
92
Int_t
fNDF
;
93
94
/** Quality flag **/
95
Int_t
fFlag
;
96
97
/** Track length **/
98
Double32_t
fLength
;
99
100
ClassDef
(
CbmGlobalTrack
, 2);
101
};
102
103
#endif
Int_t
int Int_t
Double32_t
double Double32_t
Double_t
double Double_t
ClassDef
#define ClassDef(name, id)
TObject.h
BmnFitNode
Definition
BmnFitNode.h:24
CbmGlobalTrack::SetStsTrackIndex
void SetStsTrackIndex(Int_t iSts)
Modifiers.
Definition
CbmGlobalTrack.h:51
CbmGlobalTrack::GetParamLast
const FairTrackParam * GetParamLast() const
Definition
CbmGlobalTrack.h:39
CbmGlobalTrack::SetParamLast
void SetParamLast(const FairTrackParam *parLast)
Definition
CbmGlobalTrack.h:57
CbmGlobalTrack::fParamFirst
FairTrackParam fParamFirst
Global track parameters at first and last plane.
Definition
CbmGlobalTrack.h:81
CbmGlobalTrack::GetFitNode
const BmnFitNode * GetFitNode(Int_t index) const
Definition
CbmGlobalTrack.h:46
CbmGlobalTrack::~CbmGlobalTrack
virtual ~CbmGlobalTrack()
Destructor.
Definition
CbmGlobalTrack.cxx:34
CbmGlobalTrack::fPidHypo
Int_t fPidHypo
PID hypothesis used for global track fit.
Definition
CbmGlobalTrack.h:86
CbmGlobalTrack::GetFlag
Int_t GetFlag() const
Definition
CbmGlobalTrack.h:43
CbmGlobalTrack::GetLength
Double_t GetLength() const
Definition
CbmGlobalTrack.h:44
CbmGlobalTrack::fChi2
Double32_t fChi2
Chi2 of global track fit.
Definition
CbmGlobalTrack.h:89
CbmGlobalTrack::fStsTrack
Int_t fStsTrack
Indices of local StsTrack, TrdTrack, MuchTrack, RichRing and TofHit.
Definition
CbmGlobalTrack.h:72
CbmGlobalTrack::fLength
Double32_t fLength
Track length.
Definition
CbmGlobalTrack.h:98
CbmGlobalTrack::SetChi2
void SetChi2(Double_t chi2)
Definition
CbmGlobalTrack.h:59
CbmGlobalTrack::SetRichRingIndex
void SetRichRingIndex(Int_t iRing)
Definition
CbmGlobalTrack.h:54
CbmGlobalTrack::SetNDF
void SetNDF(Int_t ndf)
Definition
CbmGlobalTrack.h:60
CbmGlobalTrack::SetPidHypo
void SetPidHypo(Int_t iPid)
Definition
CbmGlobalTrack.h:58
CbmGlobalTrack::SetTrdTrackIndex
void SetTrdTrackIndex(Int_t iTrd)
Definition
CbmGlobalTrack.h:52
CbmGlobalTrack::fRichRing
Int_t fRichRing
Definition
CbmGlobalTrack.h:75
CbmGlobalTrack::SetNofHits
void SetNofHits(Int_t n)
Definition
CbmGlobalTrack.h:65
CbmGlobalTrack::GetPidHypo
Int_t GetPidHypo() const
Definition
CbmGlobalTrack.h:40
CbmGlobalTrack::GetNofHits
Int_t GetNofHits() const
Definition
CbmGlobalTrack.h:48
CbmGlobalTrack::fParamLast
FairTrackParam fParamLast
Definition
CbmGlobalTrack.h:82
CbmGlobalTrack::GetNDF
Int_t GetNDF() const
Definition
CbmGlobalTrack.h:42
CbmGlobalTrack::SetParamFirst
void SetParamFirst(const FairTrackParam *parFirst)
Definition
CbmGlobalTrack.h:56
CbmGlobalTrack::fMuchTrack
Int_t fMuchTrack
Definition
CbmGlobalTrack.h:74
CbmGlobalTrack::GetTrdTrackIndex
Int_t GetTrdTrackIndex() const
Definition
CbmGlobalTrack.h:34
CbmGlobalTrack::SetLength
void SetLength(Double_t length)
Definition
CbmGlobalTrack.h:62
CbmGlobalTrack::fNofHits
Int_t fNofHits
Definition
CbmGlobalTrack.h:78
CbmGlobalTrack::fTofHit
Int_t fTofHit
Definition
CbmGlobalTrack.h:76
CbmGlobalTrack::fNDF
Int_t fNDF
NDF of global track fit.
Definition
CbmGlobalTrack.h:92
CbmGlobalTrack::Print
void Print() const
Output to screen.
Definition
CbmGlobalTrack.cxx:38
CbmGlobalTrack::fFlag
Int_t fFlag
Quality flag.
Definition
CbmGlobalTrack.h:95
CbmGlobalTrack::fTrdTrack
Int_t fTrdTrack
Definition
CbmGlobalTrack.h:73
CbmGlobalTrack::GetTofHitIndex
Int_t GetTofHitIndex() const
Definition
CbmGlobalTrack.h:37
CbmGlobalTrack::SetFlag
void SetFlag(Int_t iFlag)
Definition
CbmGlobalTrack.h:61
CbmGlobalTrack::GetChi2
Double_t GetChi2() const
Definition
CbmGlobalTrack.h:41
CbmGlobalTrack::GetFitNodes
const vector< BmnFitNode > & GetFitNodes() const
Definition
CbmGlobalTrack.h:47
CbmGlobalTrack::SetTofHitIndex
void SetTofHitIndex(Int_t iTofHit)
Definition
CbmGlobalTrack.h:55
CbmGlobalTrack::GetParamFirst
const FairTrackParam * GetParamFirst() const
Definition
CbmGlobalTrack.h:38
CbmGlobalTrack::GetMuchTrackIndex
Int_t GetMuchTrackIndex() const
Definition
CbmGlobalTrack.h:35
CbmGlobalTrack::SetMuchTrackIndex
void SetMuchTrackIndex(Int_t iMuch)
Definition
CbmGlobalTrack.h:53
CbmGlobalTrack::fFitNodes
vector< BmnFitNode > fFitNodes
Definition
CbmGlobalTrack.h:83
CbmGlobalTrack::CbmGlobalTrack
CbmGlobalTrack()
Default constructor.
Definition
CbmGlobalTrack.cxx:14
CbmGlobalTrack::GetStsTrackIndex
Int_t GetStsTrackIndex() const
Accessors.
Definition
CbmGlobalTrack.h:33
CbmGlobalTrack::SetFitNodes
void SetFitNodes(const vector< BmnFitNode > &nodes)
Definition
CbmGlobalTrack.h:64
CbmGlobalTrack::GetRichRingIndex
Int_t GetRichRingIndex() const
Definition
CbmGlobalTrack.h:36
TObject::TObject
TObject()
n
*brief user defined string literal for JSON values *sa std::size_t n
Definition
json.hpp:20362
base
cbm
CbmGlobalTrack.h
Generated on
for BmnRoot by
1.17.0