]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TPCLib/AliHLTTPCTrackSegmentData.h
Fixing trigg.class issue
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCTrackSegmentData.h
CommitLineData
7f85a87e 1// $Id$
297174de 2
8c203935 3#ifndef ALIHLTTPCTRACKSEGMENTDATA_H
4#define ALIHLTTPCTRACKSEGMENTDATA_H
5
297174de 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
7f85a87e 10#include "Rtypes.h"
a6c02c85 11
297174de 12/**
13 * @struct AliHLTTPCTrackSegmentData
14 * Primitive data exchange structure for TPC tracks.
15 *
16 * @ingroup alihlt_tpc_datastructs
17 */
a6c02c85 18struct AliHLTTPCTrackSegmentData
19 {
8c203935 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; ///
a6c02c85 50#ifdef INCLUDE_TPC_HOUGH
51#ifdef ROWHOUGHPARAMS
52 /* needed for PDC */
8c203935 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
a6c02c85 63#endif
64#endif // INCLUDE_TPC_HOUGH
8c203935 65 /** number of points attached in the following array */
66 UInt_t fNPoints; ///
a6c02c85 67#if defined(__HP_aCC) || defined(__DECCXX) || defined(__SUNPRO_CC)
8c203935 68 /** array of assigned points */
69 UInt_t fPointIDs[1]; ///
a6c02c85 70#else
8c203935 71 /** array of assigned points */
72 UInt_t fPointIDs[0]; ///
a6c02c85 73#endif
74 };
75
76typedef struct AliHLTTPCTrackSegmentData AliHLTTPCTrackSegmentData;
77
febeb705 78/**
79 * @struct AliHLTTPCTrackSegmentDataV1
80 * Former structure track segments, valid until July 2008
81 * revision 27415
82 *
83 * @ingroup alihlt_tpc_datastructs
84 */
85struct AliHLTTPCTrackSegmentDataV1
86 {
8c203935 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; ///
febeb705 115#if defined(__HP_aCC) || defined(__DECCXX) || defined(__SUNPRO_CC)
8c203935 116 /** array of assigned points */
117 UInt_t fPointIDs[1]; ///
febeb705 118#else
8c203935 119 /** array of assigned points */
120 UInt_t fPointIDs[0]; ///
febeb705 121#endif
122 };
123
8c203935 124typedef struct AliHLTTPCTrackSegmentDataV1 AliHLTTPCTrackSegmentDataV1;
febeb705 125
a6c02c85 126#endif /* _ALIHLTTPCTRACKSEGMENTDATA_H_ */