BmnRoot
Loading...
Searching...
No Matches
CbmGlobalTrack.cxx
Go to the documentation of this file.
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
10using std::cout;
11using std::endl;
12
13
14
15// ----- Default constructor -------------------------------------------
17 : TObject(),
18 fStsTrack(-1),
19 fTrdTrack(-1),
20 fMuchTrack(-1),
21 fRichRing(-1),
22 fTofHit(-1),
23 fNofHits(0),
24 fParamFirst(),
25 fParamLast(),
26 fFitNodes(),
27 fPidHypo(0),
28 fChi2(0.),
29 fNDF(0),
30 fFlag(0),
31 fLength(0.)
32{
33}
34// -------------------------------------------------------------------------
35
36
37
38// ----- Destructor ----------------------------------------------------
40// -------------------------------------------------------------------------
41
42
43
44// ----- Public method Print -------------------------------------------
46 cout << endl << "StsTrack " << fStsTrack << ", TrdTrack " << fTrdTrack << ", MuchTrack " << fMuchTrack
47 << ", RichRing " << fRichRing << ", TofHit " << fTofHit << endl;
48// cout << "Parameters at first plane: " << endl;
49// fParamFirst.Print();
50// cout << "Parameters at last plane: " << endl;
51// fParamLast.Print();
52 cout << "chi2 = " << fChi2 << ", NDF = " << fNDF
53 << ", Quality flag " << fFlag << endl;
54 cout << "length = " << fLength << endl;
55}
56// -------------------------------------------------------------------------
virtual ~CbmGlobalTrack()
void Print() const