84 #ifndef STAR_StFtpcTrackingParams
85 #define STAR_StFtpcTrackingParams
92 #include "SystemOfUnits.h"
93 #include "StThreeVectorD.hh"
94 #include "StMatrixD.hh"
97 #ifndef ST_NO_NAMESPACES
98 using namespace units;
101 #include "tables/St_ftpcTrackingPars_Table.h"
102 #include "tables/St_ftpcDimensions_Table.h"
103 #include "tables/St_ftpcPadrowZ_Table.h"
104 #include "tables/St_ftpcdEdxPars_Table.h"
105 #include "tables/St_ftpcCoordTrans_Table.h"
107 #include "StTpcDb/StTpcDb.h"
109 #include "StarMagField.h"
111 class St_ftpcDimensions;
112 class St_ftpcPadrowZ;
113 class St_ftpcdEdxPars;
129 Double_t mInnerRadius;
130 Double_t mOuterRadius;
131 Int_t mNumberOfPadRows;
132 Int_t mNumberOfPadRowsPerSide;
133 Double_t *mPadRowPosZ;
136 Double_t mMaxVertexPosZWarning;
137 Double_t mMaxVertexPosZError;
143 Double_t mMaxDcaVertex;
153 Bool_t mVertexConstraint[4];
154 Int_t mMaxTrackletLength[4];
155 Int_t mMinTrackLength[4];
156 Int_t mRowScopeTracklet[4];
157 Int_t mRowScopeTrack[4];
163 Double_t mMaxAngleTracklet[4];
166 Double_t mMaxAngleTrack[4];
167 Double_t mMaxCircleDist[4];
168 Double_t mMaxLengthDist[4];
172 Double_t mMinPointRatio;
173 Double_t mMaxPointRatio;
186 Double_t mALargeNumber;
195 Double_t mInstallationPointY[2];
196 Double_t mInstallationPointX[2];
197 Double_t mInstallationPointZ[2];
198 Double_t mObservedVertexOffsetY[2];
199 Double_t mObservedVertexOffsetX[2];
211 St_ftpcdEdxPars *dEdxPars = 0,
212 St_ftpcDimensions *dimensions = 0,
213 St_ftpcPadrowZ *padrow_z = 0);
216 Int_t InitTrackingParams(ftpcTrackingPars_st *trackParsTable);
217 Int_t InitdEdx(ftpcdEdxPars_st *dEdxParsTable);
218 Int_t InitDimensions(ftpcDimensions_st* dimensionsTable);
219 Int_t InitPadRows(ftpcPadrowZ_st* padrowzTable);
220 Int_t InitCoordTransformation();
221 Int_t InitCoordTransformation(ftpcCoordTrans_st* ftpcCoordTrans);
222 Int_t InitSpaceTransformation();
227 St_ftpcTrackingPars *trackPars,
228 St_ftpcdEdxPars *dEdxPars,
229 St_ftpcDimensions *dimensions,
230 St_ftpcPadrowZ *padrow_z);
232 St_ftpcCoordTrans *ftpcCoordTrans);
239 Int_t GetReturnCode() {
return mReturnCode; }
243 Double_t InnerRadius();
244 Double_t OuterRadius();
245 Int_t NumberOfPadRows();
246 Int_t NumberOfPadRowsPerSide();
247 Double_t PadRowPosZ(Int_t row);
253 Double_t MaxVertexPosZWarning();
254 Double_t MaxVertexPosZError();
263 Double_t MaxDcaVertex();
264 Int_t MinNumTracks();
277 Bool_t Laser(Int_t tracking_method);
278 Bool_t VertexConstraint(Int_t tracking_method);
279 Int_t MaxTrackletLength(Int_t tracking_method);
280 Int_t MinTrackLength(Int_t tracking_method);
281 Int_t RowScopeTracklet(Int_t tracking_method);
282 Int_t RowScopeTrack(Int_t tracking_method);
283 Int_t PhiScope(Int_t tracking_method);
284 Int_t EtaScope(Int_t tracking_method);
285 Double_t MaxDca(Int_t tracking_method);
289 Double_t MaxAngleTracklet(Int_t tracking_method);
294 Double_t MaxAngleTrack(Int_t tracking_method);
295 Double_t MaxCircleDist(Int_t tracking_method);
296 Double_t MaxLengthDist(Int_t tracking_method);
303 Double_t MinPointRatio();
304 Double_t MaxPointRatio();
317 Double_t PadLength();
318 Double_t FracTrunc();
320 Double_t ALargeNumber();
338 Double_t InstallationPointX(Int_t i);
339 Double_t InstallationPointY(Int_t i);
340 Double_t InstallationPointZ(Int_t i);
341 Double_t ObservedVertexOffsetY(Int_t i);
342 Double_t ObservedVertexOffsetX(Int_t i);
346 StarMagField *MagField() {
return StarMagField::Instance();}
347 Double_t MagFieldFactor(){
return StarMagField::Instance()->GetFactor();}