CbmRoot
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 <FairLogger.h> // for Logger, LOG
9 
10 #include <TObject.h> // for TObject
11 
12 // ----- Default constructor -------------------------------------------
14  : TObject()
15  , fStsTrack(-1)
16  , fTrdTrack(-1)
17  , fMuchTrack(-1)
18  , fRichRing(-1)
19  , fTofHit(-1)
20  , fParamFirst()
21  , fParamLast()
22  , fParamPrimaryVertex()
23  , fPidHypo(0)
24  , fChi2(0.)
25  , fNDF(0)
26  , fFlag(0)
27  , fLength(0.) {}
28 // -------------------------------------------------------------------------
29 
30 
31 // ----- Destructor ----------------------------------------------------
33 // -------------------------------------------------------------------------
34 
35 
36 // ----- Public method Print -------------------------------------------
37 void CbmGlobalTrack::Print(Option_t*) const {
38  LOG(info) << "StsTrack " << fStsTrack << ", TrdTrack " << fTrdTrack
39  << ", MuchTrack " << fMuchTrack << ", RichRing " << fRichRing
40  << ", TofHit " << fTofHit;
41  // LOG(info) << "Parameters at first plane: ";
42  // fParamFirst.Print();
43  // LOG(info) << "Parameters at last plane: ";
44  // fParamLast.Print();
45  LOG(info) << "chi2 = " << fChi2 << ", NDF = " << fNDF << ", Quality flag "
46  << fFlag;
47  LOG(info) << "length = " << fLength;
48 }
49 // -------------------------------------------------------------------------
50 
51 
CbmGlobalTrack::fChi2
Double32_t fChi2
Definition: CbmGlobalTrack.h:94
CbmGlobalTrack::fTofHit
Int_t fTofHit
Definition: CbmGlobalTrack.h:83
CbmGlobalTrack::fStsTrack
Int_t fStsTrack
Definition: CbmGlobalTrack.h:79
CbmGlobalTrack::~CbmGlobalTrack
virtual ~CbmGlobalTrack()
Definition: CbmGlobalTrack.cxx:32
CbmGlobalTrack.h
CbmGlobalTrack::CbmGlobalTrack
CbmGlobalTrack()
Definition: CbmGlobalTrack.cxx:13
CbmGlobalTrack::fFlag
Int_t fFlag
Definition: CbmGlobalTrack.h:100
CbmGlobalTrack::fRichRing
Int_t fRichRing
Definition: CbmGlobalTrack.h:82
CbmGlobalTrack::fNDF
Int_t fNDF
Definition: CbmGlobalTrack.h:97
ClassImp
ClassImp(CbmConverterManager) InitStatus CbmConverterManager
Definition: CbmConverterManager.cxx:12
CbmGlobalTrack
Definition: CbmGlobalTrack.h:26
CbmGlobalTrack::Print
virtual void Print(Option_t *opt="") const
Definition: CbmGlobalTrack.cxx:37
CbmGlobalTrack::fTrdTrack
Int_t fTrdTrack
Definition: CbmGlobalTrack.h:80
CbmGlobalTrack::fLength
Double32_t fLength
Definition: CbmGlobalTrack.h:103
CbmGlobalTrack::fMuchTrack
Int_t fMuchTrack
Definition: CbmGlobalTrack.h:81