]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TPCLib/AliHLTTPCModels.h
TPCNoiseMapComponent included into build (Kelly)
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCModels.h
1 // @(#) $Id$
2 // Original: AliHLTModels.h,v 1.11 2004/05/17 16:37:19 hristov 
3
4 #ifndef AliHLTTPCModels_H
5 #define AliHLTTPCModels_H
6
7 #include "AliHLTTPCRootTypes.h"
8
9 const Int_t MaxNClusters = 32;
10
11 struct 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 };
24 typedef struct AliHLTTPCClusterModel AliHLTTPCClusterModel;
25
26 struct AliHLTTPCRemainingCluster {
27   Float_t fPad;   
28   Float_t fTime;  
29   Float_t fSigmaY2;  
30   Float_t fSigmaZ2;  
31   UShort_t fCharge;
32 };
33 typedef struct AliHLTTPCRemainingCluster AliHLTTPCRemainingCluster;
34
35 struct 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 };
44 typedef struct AliHLTTPCRemainingRow AliHLTTPCRemainingRow;
45
46 struct 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 };
53 typedef struct AliHLTTPCTrackModel AliHLTTPCTrackModel;
54
55 #endif