1 #ifndef __StKFTrack_h__
2 #define __StKFTrack_h__
6 #include "KFParticle.h"
7 #include "TRSymMatrix.h"
8 #include "StAnneling.h"
11 std::ostream& operator<<(std::ostream& os,
const StKFTrack& p);
16 void SetChi2(Double_t chi2=-1);
17 void Reset() {fParticle =
KFParticle(*fOrigKFParticle);}
18 Int_t K()
const {
return fK;}
19 Double_t Weight()
const {
return fWeight;}
20 Double_t W()
const {
return fW;}
21 Double_t Chi2()
const {
return fChi2;}
25 Double_t &Weight() {
return *&fWeight;}
26 Double_t &W() {
return *&fW;}
27 Double_t &Chi2() {
return *&fChi2;}
28 KFParticle *OrigParticle()
const {
return fOrigKFParticle;}
29 Bool_t IsWest() {
return fWestOrEast > 0;}
30 Bool_t IsEast() {
return fWestOrEast < 0;}
31 void Print(Option_t *option=
"")
const {
if (option) {}; std::cout << *
this << std::endl;}
32 static Int_t CorrectGePid(Int_t gePid);