]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TPCLib/AliHLTTPCDigitData.h
Storing result of DCS data point processing in reference data
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCDigitData.h
1 // @(#) $Id$
2 // Original: AliHLTDigitData.h,v 1.5 2004/05/12 11:51:27 loizides 
3
4 #ifndef _ALIHLTTPCDIGITDATA_H_
5 #define _ALIHLTTPCDIGITDATA_H_
6
7 #include "AliHLTTPCRootTypes.h" 
8
9 /**
10  * @struct AliHLTTPCDigitData
11  * Raw data structure for one row of TPC data. A digit corresponds to one
12  * measured signal in 2 coordinates: pad and time <br>
13  * The hight of the signal is given by the charge. <br>
14  * This structure is only used while runnig HLT analysis in the offline
15  * framework. Thats why it comes with a MC track id by default.
16  *
17  * The exact meaning of the 3 track ID fields is currently not known to me.
18  * (Matthias 18.09.2007) 
19  * @ingroup alihlt-tpc-datastructs
20  */
21 struct AliHLTTPCDigitData
22 {
23   UShort_t fCharge;
24   UChar_t  fPad;
25   UShort_t fTime;
26   Int_t    fTrackID[3];
27 };
28 typedef struct AliHLTTPCDigitData AliHLTTPCDigitData;
29
30 /**
31  * @struct AliHLTTPCDigitRowData
32  * A container for TPC raw data organized in rows.
33  * This is the 3rd coordinate which is missing in @ref AliHLTTPCDigitData.
34  * @ingroup alihlt-tpc-datastructs
35  */
36 struct AliHLTTPCDigitRowData
37 {
38   UInt_t fNDigit;
39   UInt_t fRow;
40 #if defined(__HP_aCC) || defined(__DECCXX) || defined(__SUNPRO_CC)
41   AliHLTTPCDigitData fDigitData[1];
42 #else
43   AliHLTTPCDigitData fDigitData[0];
44 #endif
45 };
46 typedef struct AliHLTTPCDigitRowData AliHLTTPCDigitRowData;
47
48 /**
49  * @struct AliHLTTPCRandomDigitData
50  * Raw data structure for TPC data. A digit corresponds to one
51  * measured signal in r coordinates: row, pad and time <br>
52  * The hight of the signal is given by the charge. <br>
53  *
54  * The structure is not used for data exchange between components,
55  * it's here for legacy reasons.
56  * @ingroup alihlt-tpc-datastructs
57  */
58 struct AliHLTTPCRandomDigitData{
59   UChar_t fRow;
60   UShort_t fCharge;
61   UChar_t fPad;
62   UShort_t fTime;
63 };
64 typedef struct AliHLTTPCRandomDigitData AliHLTTPCRandomDigitData;
65
66 /**
67  * @struct AliHLTTPCPackedRawData
68  * Container structure for TPC data.
69  * It contains an array of TPC data objects, organized by pad rows.
70  * @ingroup alihlt-tpc-datastructs
71  */
72 struct AliHLTTPCUnpackedRawData
73 {
74 #ifndef __SUNPRO_CC
75   AliHLTTPCDigitRowData fDigits[];
76 #else
77   AliHLTTPCDigitRowData fDigits[1];
78 #endif
79 };
80
81 #endif /* _ALIHLTTPCDIGITDATA_H_ */