]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/comp/AliHLTModels.h
New version of SPD raw-data reconstruction. The format now correponds to the actual...
[u/mrichter/AliRoot.git] / HLT / comp / AliHLTModels.h
1 // @(#) $Id$
2
3 #ifndef AliHLTModels_H
4 #define AliHLTModels_H
5
6 #include "AliHLTRootTypes.h"
7
8 const Int_t MaxNClusters = 32;
9
10 struct AliHLTClusterModel {
11   Byte_t fPresent;
12   Float_t fDTime;
13   Float_t fDPad;
14   Float_t fDCharge;
15   Float_t fDSigmaY;
16   Float_t fDSigmaZ;
17   UInt_t fNPads;
18   Short_t fSlice;
19 #ifdef do_mc
20   Int_t fTrackID[3];
21 #endif
22 };
23 typedef struct AliHLTClusterModel AliHLTClusterModel;
24 typedef AliHLTClusterModel AliL3ClusterModel;
25
26 struct AliHLTRemainingCluster {
27   Float_t fPad;   
28   Float_t fTime;  
29   Float_t fSigmaY2;  
30   Float_t fSigmaZ2;  
31   UShort_t fCharge;
32 };
33 typedef struct AliHLTRemainingCluster AliHLTRemainingCluster;
34 typedef AliHLTRemainingCluster AliL3RemainingCluster;
35
36 struct AliHLTRemainingRow {
37   Byte_t fPadRow;       //1 byte
38   UShort_t fNClusters;  //2 bytes
39 #if defined(__HP_aCC) || defined(__DECCXX) || defined(__SUNPRO_CC)
40   AliHLTRemainingCluster fClusters[1];
41 #else
42   AliHLTRemainingCluster fClusters[0];
43 #endif
44 };
45 typedef struct AliHLTRemainingRow AliHLTRemainingRow;
46 typedef AliHLTRemainingRow AliL3RemainingRow;
47
48 struct AliHLTTrackModel {//5 independent parameters is needed to encode the helix:
49   Float_t fKappa; //Curvature
50   Float_t fPhi;   //Azimuthal angle of DCAO (distance of closest approach to origo)
51   Float_t fD;     //radius of DCA0
52   Float_t fZ0;    //z-coordinate of DCA0
53   Float_t fTgl;   //tan of dipangle
54 };
55 typedef struct AliHLTTrackModel AliHLTTrackModel;
56 typedef AliHLTTrackModel AliL3TrackModel;
57
58 #endif