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.cxx
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file CbmGlobalTrack.cxx
1
// -------------------------------------------------------------------------
2
// ----- CbmGlobalTrack source file -----
3
// ----- Created 01/12/05 by V. Friese -----
4
// ----- Modified 04/06/09 by A. Lebedev -----
5
// -------------------------------------------------------------------------
6
#include "
CbmGlobalTrack.h
"
7
8
#include <iostream>
9
10
using
std::cout;
11
using
std::endl;
12
13
14
15
// ----- Default constructor -------------------------------------------
16
CbmGlobalTrack::CbmGlobalTrack
()
17
:
TObject
(),
18
fStsTrack(-1),
19
fTrdTrack(-1),
20
fMuchTrack(-1),
21
fRichRing(-1),
22
fTofHit(-1),
23
fParamFirst(),
24
fParamLast(),
25
fPidHypo(0),
26
fChi2(0.),
27
fNDF(0),
28
fFlag(0),
29
fLength(0.)
30
{
31
}
32
// -------------------------------------------------------------------------
33
34
35
36
// ----- Destructor ----------------------------------------------------
37
CbmGlobalTrack::~CbmGlobalTrack
() { }
38
// -------------------------------------------------------------------------
39
40
41
42
// ----- Public method Print -------------------------------------------
43
void
CbmGlobalTrack::Print
()
const
{
44
cout << endl <<
"StsTrack "
<<
fStsTrack
<<
", TrdTrack "
<<
fTrdTrack
<<
", MuchTrack "
<<
fMuchTrack
45
<<
", RichRing "
<<
fRichRing
<<
", TofHit "
<<
fTofHit
<< endl;
46
// cout << "Parameters at first plane: " << endl;
47
// fParamFirst.Print();
48
// cout << "Parameters at last plane: " << endl;
49
// fParamLast.Print();
50
cout <<
"chi2 = "
<<
fChi2
<<
", NDF = "
<<
fNDF
51
<<
", Quality flag "
<<
fFlag
<< endl;
52
cout <<
"length = "
<<
fLength
<< endl;
53
}
54
// -------------------------------------------------------------------------
55
56
57
ClassImp
(
CbmGlobalTrack
)
EicRoot
blob
master
cbmdata
global
CbmGlobalTrack.cxx
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:33
using
1.8.2 with
EIC GitHub integration