]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TPCLib/AliHLTTPCDigitData.h
including cmath to be consistent with macosx
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCDigitData.h
CommitLineData
a6c02c85 1// @(#) $Id$
4aa41877 2// Original: AliHLTDigitData.h,v 1.5 2004/05/12 11:51:27 loizides
a6c02c85 3
4#ifndef _ALIHLTTPCDIGITDATA_H_
5#define _ALIHLTTPCDIGITDATA_H_
6
7#include "AliHLTTPCRootTypes.h"
8
5578cf60 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)
297174de 19 * @ingroup alihlt_tpc_datastructs
5578cf60 20 */
a6c02c85 21struct AliHLTTPCDigitData
22{
a6c02c85 23 UShort_t fCharge;
5578cf60 24 UChar_t fPad;
a6c02c85 25 UShort_t fTime;
5578cf60 26 Int_t fTrackID[3];
a6c02c85 27};
28typedef struct AliHLTTPCDigitData AliHLTTPCDigitData;
29
5578cf60 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.
297174de 34 * @ingroup alihlt_tpc_datastructs
5578cf60 35 */
a6c02c85 36struct 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};
46typedef struct AliHLTTPCDigitRowData AliHLTTPCDigitRowData;
47
5578cf60 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.
297174de 56 * @ingroup alihlt_tpc_datastructs
5578cf60 57 */
a6c02c85 58struct AliHLTTPCRandomDigitData{
59 UChar_t fRow;
60 UShort_t fCharge;
61 UChar_t fPad;
62 UShort_t fTime;
63};
64typedef struct AliHLTTPCRandomDigitData AliHLTTPCRandomDigitData;
5578cf60 65
66/**
67 * @struct AliHLTTPCPackedRawData
68 * Container structure for TPC data.
69 * It contains an array of TPC data objects, organized by pad rows.
297174de 70 * @ingroup alihlt_tpc_datastructs
5578cf60 71 */
72struct AliHLTTPCUnpackedRawData
73{
74#ifndef __SUNPRO_CC
75 AliHLTTPCDigitRowData fDigits[];
76#else
77 AliHLTTPCDigitRowData fDigits[1];
78#endif
79};
80
a6c02c85 81#endif /* _ALIHLTTPCDIGITDATA_H_ */