]>
Commit | Line | Data |
---|---|---|
55739e9e | 1 | // $Id$ |
2 | //* This file is property of and copyright by the ALICE HLT Project * | |
3 | //* ALICE Experiment at CERN, All rights reserved. * | |
4 | //* See cxx source for full Copyright notice * | |
5 | ||
6 | #ifndef _ALIHLTEXTERNALTRACKPARAM_H_ | |
7 | #define _ALIHLTEXTERNALTRACKPARAM_H_ | |
8 | ||
9 | #include "AliHLTStdIncludes.h" | |
10 | ||
11 | /** | |
12 | * @struct AliHLTExternalTrackParam | |
13 | * This in a struct for tracks which are closer to the format used by offline. | |
14 | * The offline parametrisation we find in AliExternalTrackParam class. | |
15 | * The covariance matrix is in Double_t since this is the format in AliExternalTrackParam. | |
16 | * This saves time in translating from Float_t to Double_t. The other values has to be copied | |
17 | * anyway, so these can be Float_t for saveing space.The charge is now removed and the Pt has a sign. | |
18 | * | |
19 | * @ingroup alihlt_component_datatypes | |
20 | */ | |
21 | struct AliHLTExternalTrackParam | |
22 | { | |
b965039d | 23 | Float_t fAlpha; |
55739e9e | 24 | Float_t fX; |
25 | Float_t fY; | |
26 | Float_t fZ; | |
27 | Float_t fLastX; | |
28 | Float_t fLastY; | |
29 | Float_t fLastZ; | |
30 | Float_t fq1Pt; | |
31 | Float_t fSinPsi; | |
32 | Float_t fTgl; | |
b965039d | 33 | Float_t fC[15]; |
7e20baf5 | 34 | Int_t fTrackID; |
35 | UInt_t fFlags; | |
55739e9e | 36 | UInt_t fNPoints; |
37 | #if defined(__HP_aCC) || defined(__DECCXX) || defined(__SUNPRO_CC) | |
38 | UInt_t fPointIDs[1]; | |
39 | #else | |
40 | UInt_t fPointIDs[0]; | |
41 | #endif | |
42 | }; | |
43 | ||
44 | typedef struct AliHLTExternalTrackParam AliHLTExternalTrackParam; | |
45 | ||
46 | struct AliHLTTracksData { | |
47 | AliHLTUInt32_t fCount; | |
48 | #if defined(__HP_aCC) || defined(__DECCXX) || defined(__SUNPRO_CC) | |
49 | AliHLTExternalTrackParam fTracklets[1]; | |
50 | #else | |
51 | AliHLTExternalTrackParam fTracklets[]; | |
52 | #endif | |
53 | }; | |
54 | ||
55 | typedef struct AliHLTTracksData AliHLTTracksData; | |
56 | ||
57 | #endif |