]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/comp/AliL3Models.h
9c826efe32a4783f2c3de105b3b3c8665d748fe3
[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 fDSigmaY2;
16   Float_t fDSigmaZ2;
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   UShort_t fPad;    //2 bytes
27   UShort_t fTime;   //2 bytes
28   Byte_t fSigmaY2;  //1 byte
29   Byte_t fSigmaZ2;  //1 byte
30   UShort_t fCharge; //2 bytes
31 };
32 typedef struct AliL3RemainingCluster AliL3RemainingCluster;
33
34 struct AliL3RemainingRow {
35   Byte_t fPadRow;       //1 byte
36   UShort_t fNClusters;  //2 bytes
37   AliL3RemainingCluster fClusters[0];
38 };
39 typedef struct AliL3RemainingRow AliL3RemainingRow;
40
41 struct AliL3TrackModel {//5 independent parameters is needed to encode the helix:
42   Float_t fKappa; //Curvature
43   Float_t fPhi;   //Azimuthal angle of DCAO (distance of closest approach to origo)
44   Float_t fD;     //radius of DCA0
45   Float_t fZ0;    //z-coordinate of DCA0
46   Float_t fTgl;   //tan of dipangle
47 };
48 typedef struct AliL3TrackModel AliL3TrackModel;
49
50 #endif