]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/BASE/AliHLTExternalTrackParam.h
adding support for EventDoneData to AliHLTSystem
[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 "AliHLTDataTypes.h"
10 #include "AliHLTStdIncludes.h"
11
12 /**
13  * @struct AliHLTExternalTrackParam
14  * This in a struct for tracks which are closer to the format used by offline.
15  * The offline parametrisation we find in AliExternalTrackParam class.
16  * The covariance matrix is in Double_t since this is the format in AliExternalTrackParam.
17  * This saves time in translating from Float_t to Double_t. The other values has to be copied 
18  * anyway, so these can be Float_t for saveing space.The charge is now removed and the Pt has a sign.
19  *
20  * @ingroup alihlt_component_datatypes
21  */
22 struct AliHLTExternalTrackParam
23     {
24       Float_t fAlpha;
25       Float_t fX;
26       Float_t fY;
27       Float_t fZ;
28       Float_t fSinPsi;
29       Float_t fTgl;
30       Float_t fq1Pt;
31       Float_t fC[15];
32       Float_t fLastX;
33       Float_t fLastY;
34       Float_t fLastZ;
35       Int_t   fTrackID;
36       UInt_t  fFlags;
37       UInt_t  fNPoints;
38 #if defined(__HP_aCC) || defined(__DECCXX) || defined(__SUNPRO_CC)
39       UInt_t  fPointIDs[1];
40 #else
41       UInt_t  fPointIDs[0];
42 #endif
43      };
44
45 typedef struct AliHLTExternalTrackParam AliHLTExternalTrackParam;
46
47 struct AliHLTTracksData {
48         AliHLTUInt32_t fCount;
49 #if defined(__HP_aCC) || defined(__DECCXX) || defined(__SUNPRO_CC)
50         AliHLTExternalTrackParam fTracklets[1];
51 #else
52         AliHLTExternalTrackParam fTracklets[];
53 #endif
54 };
55
56 typedef struct AliHLTTracksData AliHLTTracksData;
57
58 #endif