17 #ifndef _StFlowCutTrack_INCLUDED_
18 #define _StFlowCutTrack_INCLUDED_
33 static Int_t CheckTrack(
StTrack* pTrack);
35 static Int_t CheckTrack(
StMuTrack* pMuTrack);
36 static void PrintCutList();
37 static UInt_t EtaSymPosTpc();
38 static UInt_t EtaSymNegTpc();
39 static UInt_t EtaSymPosFtpc();
40 static UInt_t EtaSymNegFtpc();
41 static void EtaSymClear();
42 static void SetFitPtsTpc(Int_t lo, Int_t hi);
43 static void SetFitPtsFtpc(Int_t lo, Int_t hi);
44 static void SetFitOverMaxPts(Float_t lo, Float_t hi);
45 static void SetChiSqTpc(Float_t lo, Float_t hi);
46 static void SetChiSqFtpc(Float_t lo, Float_t hi);
47 static void SetDcaFtpc(Float_t lo, Float_t hi);
48 static void SetDcaGlobalFtpc(Float_t lo, Float_t hi);
49 static void SetPtTpc(Float_t lo, Float_t hi);
50 static void SetPtFtpc(Float_t lo, Float_t hi);
51 static void SetEtaTpc(Float_t lo, Float_t hi);
52 static void SetEtaFtpc(Float_t lo_neg, Float_t hi_neg, Float_t lo_pos, Float_t hi_pos);
53 static void SetChgTpc(Int_t lo, Int_t hi);
54 static void SetChgFtpc(Int_t lo, Int_t hi);
55 static void IncludeTpcTracks(Bool_t tpc_include);
56 static void IncludeFtpcTracks(Bool_t ftpc_include);
60 static UInt_t mTrackN;
61 static UInt_t mTpcTrackN;
62 static UInt_t mFtpcTrackN;
63 static UInt_t mFtpcEastTrackN;
64 static UInt_t mFtpcWestTrackN;
66 static UInt_t mGoodTrackN;
67 static UInt_t mGoodTpcTrackN;
68 static UInt_t mGoodFtpcTrackN;
70 static UInt_t mEtaSymPosTpcN;
71 static UInt_t mEtaSymNegTpcN;
72 static UInt_t mEtaSymPosFtpcN;
73 static UInt_t mEtaSymNegFtpcN;
75 static UInt_t mFitPtsTpcCutN;
76 static Int_t mFitPtsTpcCuts[2];
78 static UInt_t mFitPtsFtpcCutN;
79 static Int_t mFitPtsFtpcCuts[2];
81 static UInt_t mFitOverMaxCutN;
82 static UInt_t mFitOverMaxTpcCutN;
83 static UInt_t mFitOverMaxFtpcCutN;
84 static Float_t mFitOverMaxCuts[2];
86 static UInt_t mChiSqTpcCutN;
87 static Float_t mChiSqTpcCuts[2];
89 static UInt_t mChiSqFtpcCutN;
90 static Float_t mChiSqFtpcCuts[2];
92 static UInt_t mDcaFtpcCutN;
93 static Float_t mDcaFtpcCuts[2];
95 static UInt_t mDcaGlobalFtpcCutN;
96 static Float_t mDcaGlobalFtpcCuts[2];
98 static UInt_t mPtTpcCutN;
99 static Float_t mPtTpcCuts[2];
101 static UInt_t mPtFtpcCutN;
102 static Float_t mPtFtpcCuts[2];
104 static UInt_t mEtaTpcCutN;
105 static Float_t mEtaTpcCuts[2];
107 static UInt_t mEtaFtpcCutN;
108 static Float_t mEtaFtpcCuts[4];
110 static UInt_t mChgTpcCutN;
111 static Int_t mChgTpcCuts[2];
113 static UInt_t mChgFtpcCutN;
114 static Int_t mChgFtpcCuts[2];
116 static UInt_t mTpcTrackCutN;
117 static Bool_t mTpcTrackCut;
119 static UInt_t mFtpcTrackCutN;
120 static Bool_t mFtpcTrackCut;
125 inline UInt_t StFlowCutTrack::EtaSymPosTpc() {
return mEtaSymPosTpcN; }
127 inline UInt_t StFlowCutTrack::EtaSymNegTpc() {
return mEtaSymNegTpcN; }
129 inline UInt_t StFlowCutTrack::EtaSymPosFtpc() {
return mEtaSymPosFtpcN; }
131 inline UInt_t StFlowCutTrack::EtaSymNegFtpc() {
return mEtaSymNegFtpcN; }
133 inline void StFlowCutTrack::EtaSymClear() { mEtaSymPosTpcN = 0; mEtaSymNegTpcN = 0;
134 mEtaSymPosFtpcN = 0; mEtaSymNegFtpcN = 0; }
136 inline void StFlowCutTrack::SetFitPtsTpc(Int_t lo, Int_t hi) {
137 mFitPtsTpcCuts[0] = lo; mFitPtsTpcCuts[1] = hi; }
139 inline void StFlowCutTrack::SetFitPtsFtpc(Int_t lo, Int_t hi) {
140 mFitPtsFtpcCuts[0] = lo; mFitPtsFtpcCuts[1] = hi; }
142 inline void StFlowCutTrack::SetFitOverMaxPts(Float_t lo, Float_t hi) {
143 mFitOverMaxCuts[0] = lo; mFitOverMaxCuts[1] = hi; }
145 inline void StFlowCutTrack::SetChiSqTpc(Float_t lo, Float_t hi) {
146 mChiSqTpcCuts[0] = lo; mChiSqTpcCuts[1] = hi; }
148 inline void StFlowCutTrack::SetChiSqFtpc(Float_t lo, Float_t hi) {
149 mChiSqFtpcCuts[0] = lo; mChiSqFtpcCuts[1] = hi; }
151 inline void StFlowCutTrack::SetDcaFtpc(Float_t lo, Float_t hi) {
152 mDcaFtpcCuts[0] = lo; mDcaFtpcCuts[1] = hi; }
154 inline void StFlowCutTrack::SetDcaGlobalFtpc(Float_t lo, Float_t hi) {
155 mDcaGlobalFtpcCuts[0] = lo; mDcaGlobalFtpcCuts[1] = hi; }
157 inline void StFlowCutTrack::SetPtTpc(Float_t lo, Float_t hi) {
158 mPtTpcCuts[0] = lo; mPtTpcCuts[1] = hi; }
160 inline void StFlowCutTrack::SetPtFtpc(Float_t lo, Float_t hi) {
161 mPtFtpcCuts[0] = lo; mPtFtpcCuts[1] = hi; }
163 inline void StFlowCutTrack::SetEtaTpc(Float_t lo, Float_t hi) {
164 mEtaTpcCuts[0] = lo; mEtaTpcCuts[1] = hi; }
166 inline void StFlowCutTrack::SetEtaFtpc(Float_t lo_neg, Float_t hi_neg,
167 Float_t lo_pos, Float_t hi_pos) {
168 mEtaFtpcCuts[0] = lo_neg; mEtaFtpcCuts[1] = hi_neg;
169 mEtaFtpcCuts[2] = lo_pos; mEtaFtpcCuts[3] = hi_pos; }
171 inline void StFlowCutTrack::SetChgTpc(Int_t lo, Int_t hi) {
172 mChgTpcCuts[0] = lo; mChgTpcCuts[1] = hi; }
174 inline void StFlowCutTrack::SetChgFtpc(Int_t lo, Int_t hi) {
175 mChgFtpcCuts[0] = lo; mChgFtpcCuts[1] = hi; }
177 inline void StFlowCutTrack::IncludeTpcTracks(Bool_t tpc_include) {
178 mTpcTrackCut = !tpc_include; }
180 inline void StFlowCutTrack::IncludeFtpcTracks(Bool_t ftpc_include) {
181 mFtpcTrackCut = !ftpc_include; }