]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TPCLib/AliHLTTPCModels.h
Bugfix, comparison of string -sorted was not correct.
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCModels.h
CommitLineData
a6c02c85 1// @(#) $Id$
4aa41877 2// Original: AliHLTModels.h,v 1.11 2004/05/17 16:37:19 hristov
a6c02c85 3
4#ifndef AliHLTTPCModels_H
5#define AliHLTTPCModels_H
6
7#include "AliHLTTPCRootTypes.h"
8
9const Int_t MaxNClusters = 32;
10
11struct AliHLTTPCClusterModel {
12 Byte_t fPresent;
13 Float_t fDTime;
14 Float_t fDPad;
15 Float_t fDCharge;
16 Float_t fDSigmaY;
17 Float_t fDSigmaZ;
18 UInt_t fNPads;
19 Short_t fSlice;
20#ifdef do_mc
21 Int_t fTrackID[3];
22#endif
23};
24typedef struct AliHLTTPCClusterModel AliHLTTPCClusterModel;
25
26struct AliHLTTPCRemainingCluster {
27 Float_t fPad;
28 Float_t fTime;
29 Float_t fSigmaY2;
30 Float_t fSigmaZ2;
31 UShort_t fCharge;
32};
33typedef struct AliHLTTPCRemainingCluster AliHLTTPCRemainingCluster;
34
35struct AliHLTTPCRemainingRow {
36 Byte_t fPadRow; //1 byte
37 UShort_t fNClusters; //2 bytes
38#if defined(__HP_aCC) || defined(__DECCXX) || defined(__SUNPRO_CC)
39 AliHLTTPCRemainingCluster fClusters[1];
40#else
41 AliHLTTPCRemainingCluster fClusters[0];
42#endif
43};
44typedef struct AliHLTTPCRemainingRow AliHLTTPCRemainingRow;
45
46struct AliHLTTPCTrackModel {//5 independent parameters is needed to encode the helix:
47 Float_t fKappa; //Curvature
48 Float_t fPhi; //Azimuthal angle of DCAO (distance of closest approach to origo)
49 Float_t fD; //radius of DCA0
50 Float_t fZ0; //z-coordinate of DCA0
51 Float_t fTgl; //tan of dipangle
52};
53typedef struct AliHLTTPCTrackModel AliHLTTPCTrackModel;
54
55#endif