21 #ifndef STAR_StFtpcGeantPoint
22 #define STAR_StFtpcGeantPoint
26 #include "tables/St_ffs_gepoint_Table.h"
37 Double_t mVertexMomentum[3];
38 Double_t mLocalMomentum[3];
39 Double_t mVertexPosition[3];
45 virtual Int_t ToTable(ffs_gepoint_st *geant_st);
48 Int_t GetTrackPointer() {
return mTrackPointer;}
49 Int_t GetGeantPID() {
return mGeantPID;}
50 Int_t GetPrimaryTag() {
return mPrimaryTag;}
51 Int_t GetGeantProcess() {
return mGeantProcess;}
53 Double_t GetVertexMomentum(Int_t i) {
return mVertexMomentum[i];}
54 Double_t GetLocalMomentum(Int_t i) {
return mLocalMomentum[i];}
55 Double_t GetVertexPosition(Int_t i) {
return mVertexPosition[i];}
58 void SetTrackPointer(Int_t d) {mTrackPointer =d;}
59 void SetGeantPID(Int_t d) {mGeantPID =d;}
60 void SetPrimaryTag(Int_t d) {mPrimaryTag =d;}
61 void SetGeantProcess(Int_t d) {mGeantProcess =d;}
63 void SetVertexMomentum(Int_t i, Double_t f) {
if(i>=0&&i<3) mVertexMomentum[i]=f;}
64 void SetLocalMomentum(Int_t i, Double_t f) {
if(i>=0&&i<3) mLocalMomentum[i]=f;}
65 void SetVertexPosition(Int_t i, Double_t f) {
if(i>=0&&i<3) mVertexPosition[i]=f;}
67 void SetVertexMomentum(Double_t f1,Double_t f2,Double_t f3)
68 {mVertexMomentum[0]=f1;mVertexMomentum[1]=f2;mVertexMomentum[2]=f3;}
69 void SetLocalMomentum(Double_t f1,Double_t f2,Double_t f3)
70 {mLocalMomentum[0]=f1;mLocalMomentum[1]=f2;mLocalMomentum[2]=f3;}
71 void SetVertexPosition(Double_t f1,Double_t f2,Double_t f3)
72 {mVertexPosition[0]=f1;mVertexPosition[1]=f2;mVertexPosition[2]=f3;}