StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StTrackDefinitions.h
1 #ifndef StTrackDefinitions_hh
2 #define StTrackDefinitions_hh
3 /* Numbering scheme for StTrack::mEncodedMethod and dst_track::method
4 ** includes finder scheme + fitting method
5 **
6 ** fitting method byte 0-3 (only fit method per track)
7 ** finder scheme bits (4-14)
8 ** This is a bitmap scheme. Places are reserved for detector trackers.
9 ** Total number of bits reserved (including sign bit) is 12-bits for
10 ** finders (trackers) and first 4-bits for fitting (see below).
11 **________________________________________________________
12 ** StTrack::fittingMethod byte (0:3)
13 ** Unknown/undefined fitter 0
14 ** Helix 2 Step 1 !bending/non-bending plane fits
15 ** Helix 3D 2
16 ** Kalman (local helix) 3
17 ** Line 2 Step 4
18 ** Line 3D 5
19 ** L3 Fitter 6
20 ** ITTF Kalman Fit 7
21 ** Spare upto 15 (total of 4 bits)
22 **_______________________________________________________
23 ** StTrack::finderMethod bits
24 ** SVT Grouper 4 (LSB) on/off
25 ** SVT Stk 5
26 ** SVT Other 6
27 ** TPC Standard 7
28 ** TPC Other 8
29 ** FTPC Conformal 9
30 ** FTPC Current 10
31 ** SVT-TPC svm 11 vector-vector matcher
32 ** SVT-TPC est 12 TPCvector-SVTpoint matcher
33 ** SVT-TPC pattern 13 under development
34 ** Spare 14-15 (MSB)
35 **_______________________________________________________
36 ** StTrack::mEncodedMethod =
37 ** dst_track.method = fittig_method (4 bits word, 0:3) + 1<< finding_method [+ 1<< finding_method2 ..]
38 **
39 */
40 /* Fitting method byte[0:3] */
41 #define kUndefinedFitterIdentifier 0
42 #define kHelix2StepIdentifier 1
43 #define kHelix3DIdentifier 2
44 #define kKalmanFitIdentifier 3
45 #define kLine2StepIdentifier 4
46 #define kLine3DIdentifier 5
47 #define kL3FitIdentifier 6
48 #define kITKalmanFitIdentifier 7
49 /* numbering for track finder scheme has to be in synch. with StEnumerations.h */
50 /* Finder schema bit */
51 #define ksvtGrouperIdentifier 4
52 #define ksvtStkIdentifier 5
53 #define ksvtOtherIdentifier 6
54 #define ktpcStandardIdentifier 7
55 #define ktpcOtherIdentifier 8
56 #define kftpcConformalIdentifier 9
57 #define kftpcCurrentIdentifier 10
58 #define ksvtTpcSvmIdentifier 11
59 #define ksvtTpcEstIdentifier 12
60 #define ksvtTpcPatternIdentifier 13
61 #define kl3StandardIdentifier 14
62 
63 
64 #endif