]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/BASE/AliHLTExternalTrackParam.h
adding fAlpha and making covariance array of type float
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTExternalTrackParam.h
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     {
23       Float_t fAlpha;
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;
33       Float_t fC[15];
34       UInt_t  fNPoints;
35 #if defined(__HP_aCC) || defined(__DECCXX) || defined(__SUNPRO_CC)
36       UInt_t  fPointIDs[1];
37 #else
38       UInt_t  fPointIDs[0];
39 #endif
40      };
41
42 typedef struct AliHLTExternalTrackParam AliHLTExternalTrackParam;
43
44 struct AliHLTTracksData {
45         AliHLTUInt32_t fCount;
46 #if defined(__HP_aCC) || defined(__DECCXX) || defined(__SUNPRO_CC)
47         AliHLTExternalTrackParam fTracklets[1];
48 #else
49         AliHLTExternalTrackParam fTracklets[];
50 #endif
51 };
52
53 typedef struct AliHLTTracksData AliHLTTracksData;
54
55 #endif