d810d0de |
1 | // $Id$ |
2 | // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007 |
3 | |
4 | /************************************************************************** |
5 | * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. * |
6 | * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for * |
51346b82 |
7 | * full copyright notice. * |
d810d0de |
8 | **************************************************************************/ |
7279ee15 |
9 | |
87f60d9e |
10 | #include <Rtypes.h> |
46eadbb4 |
11 | #include "TEveElement.h" |
12 | #include "TPolyMarker3D.h" |
e7b336e1 |
13 | #include "AliPID.h" |
87f60d9e |
14 | |
e7b336e1 |
15 | // -------------------------------------------------------------------- |
16 | // -- ITS -- |
17 | // -------------------------------------------------------------------- |
18 | |
19 | // -------------------------------------------------------------------- |
20 | struct AliHLTITSSpacePointData { |
21 | Float_t fY; // Y coordinate in local coordinates GetY() |
22 | Float_t fZ; // Z coordinate in local coordinates GetZ() |
23 | Float_t fSigmaY2; // error of the clusters GetSigmaY2() |
24 | Float_t fSigmaZ2; // error of the clusters GetSigmaZ2() |
25 | Float_t fSigmaYZ; // error of the clusters GetSigmaYZ() |
26 | Float_t fQ; // Q of cluster (in ADC counts) GetQ() |
27 | Int_t fNy; //number of digits in Y direction GetNy() |
28 | Int_t fNz; //number of digits in Z direction GetNz() |
29 | Int_t fLayer; // layer number GetLayer() |
30 | Int_t fTracks[3]; // MC label GetLabel(i) |
31 | Int_t fIndex; // Detector Index GetDetectorIndex() |
32 | }; |
33 | |
34 | // -------------------------------------------------------------------- |
35 | struct AliHLTITSClusterData { |
36 | Int_t fSpacePointCnt; |
37 | AliHLTITSSpacePointData fSpacePoints[1]; |
38 | }; |
39 | |
40 | // -------------------------------------------------------------------- |
41 | // -- TPC -- |
42 | // -------------------------------------------------------------------- |
43 | |
44 | // -------------------------------------------------------------------- |
45 | struct AliHLTTPCSpacePointData { |
46eadbb4 |
46 | Float_t fX; // == fPadRow in local system |
51346b82 |
47 | Float_t fY; |
87f60d9e |
48 | Float_t fZ; |
46eadbb4 |
49 | UInt_t fID; //contains slice patch and number |
87f60d9e |
50 | UChar_t fPadRow; |
51 | Float_t fSigmaY2; //error (former width) of the clusters |
52 | Float_t fSigmaZ2; //error (former width) of the clusters |
53 | UInt_t fCharge; |
e7b336e1 |
54 | UInt_t fQMax; // QMax of cluster |
51346b82 |
55 | Bool_t fUsed; // only used in AliHLTTPCDisplay |
56 | Int_t fTrackN; // only used in AliHLTTPCDisplay |
87f60d9e |
57 | }; |
58 | |
e7b336e1 |
59 | // -------------------------------------------------------------------- |
60 | struct AliHLTTPCClusterData { |
87f60d9e |
61 | Int_t fSpacePointCnt; |
62 | AliHLTTPCSpacePointData fSpacePoints[1]; |
63 | }; |
64 | |
e7b336e1 |
65 | // -------------------------------------------------------------------- |
66 | // -- PHOS -- |
67 | // -------------------------------------------------------------------- |
68 | |
69 | // struct AliHLTCaloClusterDataStruct |
70 | // { |
71 | |
72 | // UInt_t fNCells; //COMMENT |
73 | // Float_t fGlobalPos[3]; //COMMENT |
74 | // Float_t fEnergy; //COMMENT |
75 | // Float_t fTOF; //COMMENT |
76 | // Float_t fDispersion; //COMMENT |
77 | // Float_t fFitQuality; //COMMENT |
78 | // Float_t fM20; //COMMENT |
79 | // Float_t fM02; //COMMENT |
80 | // Float_t fEmcCpvDistance; //COMMENT |
81 | // Float_t fDistToBadChannel; //COMMENT |
82 | // Float_t fPID[AliPID::kSPECIESN]; //COMMENT |
83 | // Int_t fID; //COMMENT |
84 | // UChar_t fNExMax; //COMMENT |
85 | // Char_t fClusterType; //COMMENT |
86 | // Float_t fDistanceToBadChannel; //COMMENT |
87 | // UShort_t fCellsAbsId; //COMMENT |
88 | // Float_t fCellsAmpFraction; //COMMENT |
89 | // }; |
46eadbb4 |
90 | |
e7b336e1 |
91 | // struct AliHLTCaloClusterHeaderStruct |
92 | // { |
93 | // Short_t fNClusters; |
94 | // }; |
95 | |
96 | // -------------------------------------------------------------------- |
cfa641b1 |
97 | // struct AliHLTPHOSDigitDataStruct { |
98 | // /** The x coordinate */ |
99 | // Float_t fX; |
e7b336e1 |
100 | |
cfa641b1 |
101 | // /** The x coordinate */ |
102 | // Float_t fZ; |
e7b336e1 |
103 | |
cfa641b1 |
104 | // /** The module number */ |
105 | // Int_t fModule; |
e7b336e1 |
106 | |
cfa641b1 |
107 | // /** The amplitude in ADC counts */ |
108 | // Float_t fAmplitude; |
e7b336e1 |
109 | |
cfa641b1 |
110 | // /** The time in sample count */ |
111 | // Float_t fTime; |
e7b336e1 |
112 | |
cfa641b1 |
113 | // /* The energy in GeV */ |
114 | // Float_t fEnergy; |
e7b336e1 |
115 | |
cfa641b1 |
116 | // /** The gain */ |
117 | // Int_t fGain; |
e7b336e1 |
118 | |
cfa641b1 |
119 | // /** The crazyness */ |
120 | // Int_t fCrazyness; |
e7b336e1 |
121 | |
cfa641b1 |
122 | // /** The baseline */ |
123 | // Float_t fBaseline; |
e7b336e1 |
124 | |
cfa641b1 |
125 | // }; |
e7b336e1 |
126 | |
127 | // -------------------------------------------------------------------- |
128 | // -- MUON -- |
129 | // -------------------------------------------------------------------- |
130 | |
131 | // -------------------------------------------------------------------- |
132 | struct AliHLTMUONTrackerRawData { |
46eadbb4 |
133 | UInt_t fDataId; |
134 | UShort_t fADC; |
135 | }; |
136 | |
e7b336e1 |
137 | // -------------------------------------------------------------------- |
138 | struct AliHLTMUONTrackerMappingData { |
46eadbb4 |
139 | Int_t fDetElemId; |
140 | Int_t fIX,fIY; |
141 | Int_t fCath; |
142 | Float_t fRealX,fRealY,fRealZ; |
143 | Int_t fADC; |
144 | Float_t fPed; |
145 | Float_t fSigma; |
146 | }; |
147 | |
e7b336e1 |
148 | // -------------------------------------------------------------------- |
149 | struct AliHLTMUONTriggerPointData { |
46eadbb4 |
150 | Int_t fDetElemId; |
151 | Float_t fX,fY,fZ ; |
152 | }; |
153 | |
e7b336e1 |
154 | // -------------------------------------------------------------------- |
155 | struct AliHLTMUONTriggerMappingData { |
46eadbb4 |
156 | AliHLTMUONTriggerPointData fLut[8][16][4][2][16]; |
157 | }; |
158 | |
e7b336e1 |
159 | // -------------------------------------------------------------------- |
160 | // -- STRUCT -- |
161 | // -------------------------------------------------------------------- |
162 | |
163 | // -------------------------------------------------------------------- |
164 | void hlt_structs() {} |