67 #ifndef StPrimaryVertex_hh
68 #define StPrimaryVertex_hh
79 StVertexId type()
const;
80 UInt_t numberOfDaughters()
const;
81 UInt_t numberOfGoodTracks()
const;
83 const StTrack* daughter(UInt_t)
const;
84 StSPtrVecPrimaryTrack &daughters() {
return mDaughters;}
85 const StSPtrVecPrimaryTrack &daughters()
const {
return mDaughters;}
93 StVertexFinderId vertexFinderId()
const {
return mVertexFinderId;}
94 UShort_t numTracksUsedInFinder()
const {
return mNumTracksUsedInFinder;}
95 UShort_t numMatchesWithCTB()
const {
return mNumMatchesWithCTB;}
96 UShort_t numMatchesWithTOF()
const {
return mNumMatchesWithTOF;}
97 UShort_t numMatchesWithBTOF()
const {
return mNumMatchesWithTOF;}
98 UShort_t numMatchesWithBEMC()
const {
return mNumMatchesWithBEMC;}
99 UShort_t numMatchesWithEEMC()
const {
return mNumMatchesWithEEMC;}
100 UShort_t numNotMatchesWithCTB()
const {
return mNumNotMatchesWithCTB;}
101 UShort_t numNotMatchesWithTOF()
const {
return mNumNotMatchesWithTOF;}
102 UShort_t numNotMatchesWithBTOF()
const {
return mNumNotMatchesWithTOF;}
103 UShort_t numNotMatchesWithBEMC()
const {
return mNumNotMatchesWithBEMC;}
104 UShort_t numNotMatchesWithEEMC()
const {
return mNumNotMatchesWithEEMC;}
105 UShort_t numTracksCrossingCentralMembrane()
const {
return mNumTracksCrossingCentralMembrane;}
106 Float_t meanDip()
const {
return mMeanDip;}
107 Float_t sumOfTrackPt()
const {
return mSumOfTrackPt;}
108 Float_t ranking()
const {
return mRanking;}
109 UShort_t numTracksWithPromptHit()
const {
return mNumTracksWithPromptHit;}
110 UShort_t numPostXTracks()
const {
return mNumPostXTracks;}
111 UShort_t numTracksTpcWestOnly()
const {
return mNumTracksTpcWestOnly;}
112 UShort_t numTracksTpcEastOnly()
const {
return mNumTracksTpcEastOnly;}
113 void setTrackNumbers();
114 void setNumMatchesWithCTB(UShort_t val) {mNumMatchesWithCTB = val;}
115 void setNumMatchesWithTOF(UShort_t val) {mNumMatchesWithTOF = val;}
116 void setNumMatchesWithBTOF(UShort_t val) {mNumMatchesWithTOF = val;}
117 void setNumMatchesWithBEMC(UShort_t val) {mNumMatchesWithBEMC = val;}
118 void setNumMatchesWithEEMC(UShort_t val) {mNumMatchesWithEEMC = val;}
119 void setNumNotMatchesWithCTB(UShort_t val) {mNumNotMatchesWithCTB = val;}
120 void setNumNotMatchesWithTOF(UShort_t val) {mNumNotMatchesWithTOF = val;}
121 void setNumNotMatchesWithBTOF(UShort_t val) {mNumNotMatchesWithTOF = val;}
122 void setNumNotMatchesWithBEMC(UShort_t val) {mNumNotMatchesWithBEMC = val;}
123 void setNumNotMatchesWithEEMC(UShort_t val) {mNumNotMatchesWithEEMC = val;}
124 void setVertexFinderId(StVertexFinderId val) {mVertexFinderId = val;}
125 void setNumTracksUsedInFinder(UShort_t val) {mNumTracksUsedInFinder = val;}
126 void setNumTracksCrossingCentralMembrane(UShort_t val) {mNumTracksCrossingCentralMembrane = val;}
127 void setMeanDip(Float_t val) {mMeanDip = val;}
128 void setSumOfTrackPt(Float_t val) {mSumOfTrackPt = val;}
129 void setRanking(Float_t val) {mRanking = val;}
130 void setNumTracksWithPromptHit(UShort_t p) {mNumTracksWithPromptHit = p;}
131 void setNumPostXTracks(UShort_t p) {mNumPostXTracks = p;}
132 void setNumTracksTpcWestOnly(UShort_t val) {mNumTracksTpcWestOnly = val;}
133 void setNumTracksTpcEastOnly(UShort_t val) {mNumTracksTpcEastOnly = val;}
134 void Print(Option_t *option=
"")
const {cout << option << *
this << endl; }
138 StSPtrVecPrimaryTrack mDaughters;
141 StVertexFinderId mVertexFinderId;
143 UShort_t mNumTracksUsedInFinder;
144 UShort_t mNumMatchesWithCTB;
145 UShort_t mNumMatchesWithTOF;
146 UShort_t mNumMatchesWithBEMC;
147 UShort_t mNumMatchesWithEEMC;
148 UShort_t mNumNotMatchesWithCTB;
149 UShort_t mNumNotMatchesWithTOF;
150 UShort_t mNumNotMatchesWithBEMC;
151 UShort_t mNumNotMatchesWithEEMC;
152 UShort_t mNumTracksCrossingCentralMembrane;
154 Float_t mSumOfTrackPt;
156 UShort_t mNumTracksWithPromptHit;
157 UShort_t mNumPostXTracks;
158 UShort_t mNumTracksTpcWestOnly;
159 UShort_t mNumTracksTpcEastOnly;