]>
Commit | Line | Data |
---|---|---|
3e87ef69 | 1 | // @(#) $Id$ |
2 | ||
4aa41877 | 3 | #ifndef AliHLTModels_H |
4 | #define AliHLTModels_H | |
9f123c04 | 5 | |
4aa41877 | 6 | #include "AliHLTRootTypes.h" |
9f123c04 | 7 | |
8 | const Int_t MaxNClusters = 32; | |
9 | ||
4aa41877 | 10 | struct AliHLTClusterModel { |
3e87ef69 | 11 | Byte_t fPresent; |
9f123c04 | 12 | Float_t fDTime; |
13 | Float_t fDPad; | |
14 | Float_t fDCharge; | |
1f1942b8 | 15 | Float_t fDSigmaY; |
16 | Float_t fDSigmaZ; | |
4a838220 | 17 | UInt_t fNPads; |
3e87ef69 | 18 | Short_t fSlice; |
8487f697 | 19 | #ifdef do_mc |
20 | Int_t fTrackID[3]; | |
21 | #endif | |
9f123c04 | 22 | }; |
4aa41877 | 23 | typedef struct AliHLTClusterModel AliHLTClusterModel; |
24 | typedef AliHLTClusterModel AliL3ClusterModel; | |
9f123c04 | 25 | |
4aa41877 | 26 | struct AliHLTRemainingCluster { |
5a31e9df | 27 | Float_t fPad; |
28 | Float_t fTime; | |
29 | Float_t fSigmaY2; | |
30 | Float_t fSigmaZ2; | |
31 | UShort_t fCharge; | |
3e87ef69 | 32 | }; |
4aa41877 | 33 | typedef struct AliHLTRemainingCluster AliHLTRemainingCluster; |
34 | typedef AliHLTRemainingCluster AliL3RemainingCluster; | |
3e87ef69 | 35 | |
4aa41877 | 36 | struct AliHLTRemainingRow { |
6f388e0d | 37 | Byte_t fPadRow; //1 byte |
38 | UShort_t fNClusters; //2 bytes | |
851d3cce | 39 | #if defined(__HP_aCC) || defined(__DECCXX) || defined(__SUNPRO_CC) |
4aa41877 | 40 | AliHLTRemainingCluster fClusters[1]; |
851d3cce | 41 | #else |
4aa41877 | 42 | AliHLTRemainingCluster fClusters[0]; |
851d3cce | 43 | #endif |
3e87ef69 | 44 | }; |
4aa41877 | 45 | typedef struct AliHLTRemainingRow AliHLTRemainingRow; |
46 | typedef AliHLTRemainingRow AliL3RemainingRow; | |
3e87ef69 | 47 | |
4aa41877 | 48 | struct AliHLTTrackModel {//5 independent parameters is needed to encode the helix: |
6f388e0d | 49 | Float_t fKappa; //Curvature |
50 | Float_t fPhi; //Azimuthal angle of DCAO (distance of closest approach to origo) | |
51 | Float_t fD; //radius of DCA0 | |
52 | Float_t fZ0; //z-coordinate of DCA0 | |
53 | Float_t fTgl; //tan of dipangle | |
9f123c04 | 54 | }; |
4aa41877 | 55 | typedef struct AliHLTTrackModel AliHLTTrackModel; |
56 | typedef AliHLTTrackModel AliL3TrackModel; | |
9f123c04 | 57 | |
58 | #endif |