]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TPCLib/AliHLTTPCModels.h
Alignment fixes
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCModels.h
CommitLineData
a6c02c85 1// @(#) $Id$
2
3#ifndef AliHLTTPCModels_H
4#define AliHLTTPCModels_H
5
6#include "AliHLTTPCRootTypes.h"
7
8const Int_t MaxNClusters = 32;
9
10struct AliHLTTPCClusterModel {
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};
23typedef struct AliHLTTPCClusterModel AliHLTTPCClusterModel;
24
25struct AliHLTTPCRemainingCluster {
26 Float_t fPad;
27 Float_t fTime;
28 Float_t fSigmaY2;
29 Float_t fSigmaZ2;
30 UShort_t fCharge;
31};
32typedef struct AliHLTTPCRemainingCluster AliHLTTPCRemainingCluster;
33
34struct AliHLTTPCRemainingRow {
35 Byte_t fPadRow; //1 byte
36 UShort_t fNClusters; //2 bytes
37#if defined(__HP_aCC) || defined(__DECCXX) || defined(__SUNPRO_CC)
38 AliHLTTPCRemainingCluster fClusters[1];
39#else
40 AliHLTTPCRemainingCluster fClusters[0];
41#endif
42};
43typedef struct AliHLTTPCRemainingRow AliHLTTPCRemainingRow;
44
45struct AliHLTTPCTrackModel {//5 independent parameters is needed to encode the helix:
46 Float_t fKappa; //Curvature
47 Float_t fPhi; //Azimuthal angle of DCAO (distance of closest approach to origo)
48 Float_t fD; //radius of DCA0
49 Float_t fZ0; //z-coordinate of DCA0
50 Float_t fTgl; //tan of dipangle
51};
52typedef struct AliHLTTPCTrackModel AliHLTTPCTrackModel;
53
54#endif