]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TPCLib/AliHLTTPCTrackSegmentData.h
code cleanup, removing unused functionality; fully implemented in the AliHLTTPCDataCo...
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCTrackSegmentData.h
1 // $Id$
2
3 #ifndef ALIHLTTPCTRACKSEGMENTDATA_H
4 #define ALIHLTTPCTRACKSEGMENTDATA_H
5
6 //* This file is property of and copyright by the ALICE HLT Project        * 
7 //* ALICE Experiment at CERN, All rights reserved.                         *
8 //* See cxx source for full Copyright notice                               *
9
10 #include "Rtypes.h"
11
12 /**
13  * @struct AliHLTTPCTrackSegmentData
14  * Primitive data exchange structure for TPC tracks.
15  *
16  * @ingroup alihlt_tpc_datastructs
17  */
18 struct AliHLTTPCTrackSegmentData
19     {
20       /** x coordinate of the first point assigned to track segment */
21       Float_t fX;                                                          ///
22       /** y coordinate of the first point assigned to track segment */
23       Float_t fY;                                                          ///
24       /** z coordinate of the first point assigned to track segment */
25       Float_t fZ;                                                          ///
26       /** x coordinate of the last point assigned to track segment */
27       Float_t fLastX;                                                      ///
28       /** y coordinate of the last point assigned to track segment */
29       Float_t fLastY;                                                      ///
30       /** z coordinate of the last point assigned to track segment */
31       Float_t fLastZ;                                                      ///
32       /** transvers momentum at first point */
33       Double_t fPt;                                                        ///
34       /** local sine of the track momentum azimuthal angle at first point */
35       Double_t fPsi;                                                       ///
36       /** tangent of the track momentum dip angle at first point */
37       Double_t fTgl;                                                       ///
38       /** error at first point */
39       Double_t fY0err;                                                     ///
40       /** error at first point */
41       Double_t fZ0err;                                                     ///
42       /** error at first point */
43       Double_t fPterr;                                                     ///
44       /** error at first point */
45       Double_t fPsierr;                                                    ///
46       /** error at first point */
47       Double_t fTglerr;                                                    ///
48       /** total charge */
49       Int_t fCharge;                                                       ///
50 #ifdef INCLUDE_TPC_HOUGH
51 #ifdef ROWHOUGHPARAMS
52       /* needed for PDC */
53       UInt_t  fWeight;                // hough tracking parameters, deprecated
54       Int_t  fTrackID;                // hough tracking parameters, deprecated
55       Int_t  fRowRange1;              // hough tracking parameters, deprecated
56       Int_t  fRowRange2;              // hough tracking parameters, deprecated
57       Int_t  fSector;                 // hough tracking parameters, deprecated
58       Float_t  fPID;                  // hough tracking parameters, deprecated
59       Float_t  fBinX;                 // hough tracking parameters, deprecated
60       Float_t  fBinY;                 // hough tracking parameters, deprecated
61       Float_t  fBinXSize;             // hough tracking parameters, deprecated
62       Float_t  fBinYSize;             // hough tracking parameters, deprecated
63 #endif
64 #endif // INCLUDE_TPC_HOUGH
65       /** number of points attached in the following array */
66       UInt_t  fNPoints;                                                    ///
67 #if defined(__HP_aCC) || defined(__DECCXX) || defined(__SUNPRO_CC)
68       /** array of assigned points */
69       UInt_t  fPointIDs[1];                                                ///
70 #else
71       /** array of assigned points */
72       UInt_t  fPointIDs[0];                                                ///
73 #endif
74     };
75
76 typedef struct AliHLTTPCTrackSegmentData AliHLTTPCTrackSegmentData;
77
78 /**
79  * @struct AliHLTTPCTrackSegmentDataV1
80  * Former structure track segments, valid until July 2008
81  * revision 27415
82  *
83  * @ingroup alihlt_tpc_datastructs
84  */
85 struct AliHLTTPCTrackSegmentDataV1
86     {
87       /** x coordinate of the first point assigned to track segment */
88       Float_t fX;                                                          ///
89       /** y coordinate of the first point assigned to track segment */
90       Float_t fY;                                                          ///
91       /** z coordinate of the first point assigned to track segment */
92       Float_t fZ;                                                          ///
93       /** x coordinate of the last point assigned to track segment */
94       Float_t fLastX;                                                      ///
95       /** y coordinate of the last point assigned to track segment */
96       Float_t fLastY;                                                      ///
97       /** z coordinate of the last point assigned to track segment */
98       Float_t fLastZ;                                                      ///
99       /** transvers momentum at first point */
100       Double_t fPt;                                                        ///
101       /** local sine of the track momentum azimuthal angle at first point */
102       Double_t fPsi;                                                       ///
103       /** tangent of the track momentum dip angle at first point */
104       Double_t fTgl;                                                       ///
105       /** error at first point */
106       Double_t fPterr;                                                     ///
107       /** error at first point */
108       Double_t fPsierr;                                                    ///
109       /** error at first point */
110       Double_t fTglerr;                                                    ///
111       /** total charge */
112       Int_t fCharge;                                                       ///
113       /** number of points attached in the following array */
114       UInt_t  fNPoints;                                                    ///
115 #if defined(__HP_aCC) || defined(__DECCXX) || defined(__SUNPRO_CC)
116       /** array of assigned points */
117       UInt_t  fPointIDs[1];                                                ///
118 #else
119       /** array of assigned points */
120       UInt_t  fPointIDs[0];                                                ///
121 #endif
122     };
123
124 typedef struct AliHLTTPCTrackSegmentDataV1 AliHLTTPCTrackSegmentDataV1;
125
126 #endif /* _ALIHLTTPCTRACKSEGMENTDATA_H_ */