]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/comp/AliL3Models.h
Added Gautes changes from Bergen.
[u/mrichter/AliRoot.git] / HLT / comp / AliL3Models.h
1 // @(#) $Id$
2
3 #ifndef AliL3Models_H
4 #define AliL3Models_H
5
6 #include "AliL3RootTypes.h"
7
8 const Int_t MaxNClusters = 32;
9
10 struct AliL3ClusterModel {
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 AliL3ClusterModel AliL3ClusterModel;
24
25 struct AliL3RemainingCluster {
26   Float_t fPad;   
27   Float_t fTime;  
28   Float_t fSigmaY2;  
29   Float_t fSigmaZ2;  
30   UShort_t fCharge;
31 };
32 typedef struct AliL3RemainingCluster AliL3RemainingCluster;
33
34 struct AliL3RemainingRow {
35   Byte_t fPadRow;       //1 byte
36   UShort_t fNClusters;  //2 bytes
37 #if defined(__HP_aCC) || defined(__DECCXX) || defined(__SUNPRO_CC)
38   AliL3RemainingCluster fClusters[1];
39 #else
40   AliL3RemainingCluster fClusters[0];
41 #endif
42 };
43 typedef struct AliL3RemainingRow AliL3RemainingRow;
44
45 struct AliL3TrackModel {//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 };
52 typedef struct AliL3TrackModel AliL3TrackModel;
53
54 #endif