]>
Commit | Line | Data |
---|---|---|
1b41ab20 | 1 | //-*- Mode: C++ -*- |
2 | // $Id$ | |
3 | ||
209a4703 | 4 | |
5 | /************************************************************************** | |
6 | * This file is property of and copyright by the ALICE HLT Project * | |
7 | * All rights reserved. * | |
8 | * * | |
9 | * Primary Authors: Oystein Djuvsland * | |
10 | * * | |
11 | * Permission to use, copy, modify and distribute this software and its * | |
12 | * documentation strictly for non-commercial purposes is hereby granted * | |
13 | * without fee, provided that the above copyright notice appears in all * | |
14 | * copies and that both the copyright notice and this permission notice * | |
15 | * appear in the supporting documentation. The authors make no claims * | |
16 | * about the suitability of this software for any purpose. It is * | |
17 | * provided "as is" without express or implied warranty. * | |
18 | **************************************************************************/ | |
19 | ||
20 | #ifndef ALIHLTPHOSDIGITDATASTRUCT_H | |
21 | #define ALIHLTPHOSDIGITDATASTRUCT_H | |
22 | ||
227e2399 | 23 | #include "Rtypes.h" |
24 | ||
2374af72 | 25 | /** |
26 | * Digit struct for PHOS HLT | |
27 | * | |
28 | * @file AliHLTPHOSDigitDataStruct.h | |
29 | * @author Oystein Djuvsland | |
30 | * @date | |
31 | * @brief Digit struct for PHOS HLT | |
32 | */ | |
33 | ||
34 | // see below for class documentation | |
35 | // or | |
36 | // refer to README to build package | |
37 | // or | |
38 | // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt | |
39 | ||
0dc57e1b | 40 | /** |
41 | * @struct AliHLTPHOSDigitHeaderStruct | |
42 | * Header used to pass digits around | |
43 | * @ingroup alihlt_phos | |
44 | */ | |
45 | struct AliHLTPHOSDigitHeaderStruct | |
46 | { | |
47 | /** Number of digits */ | |
48 | UInt_t fNDigits; | |
49 | ||
50 | /** Start pointer */ | |
51 | Char_t *fStartPtr; | |
52 | ||
53 | /** The relative offset in bytes to the first digit in the list */ | |
54 | Int_t fFirstDigitOffset; | |
55 | ||
56 | /** The relative offset in bytes to the last digit in the list */ | |
57 | Int_t fLastDigitOffset; | |
58 | ||
59 | }; | |
60 | ||
2374af72 | 61 | /** |
62 | * @struct AliHLTPHOSDigitDataStruct | |
63 | * Digit struct for PHOS HLT | |
64 | * | |
65 | * @ingroup alihlt_phos | |
66 | */ | |
209a4703 | 67 | struct AliHLTPHOSDigitDataStruct |
68 | { | |
2374af72 | 69 | /** The x coordinate */ |
341aab10 | 70 | Int_t fX; |
2374af72 | 71 | |
2f20cbe3 | 72 | /** The z coordinate */ |
341aab10 | 73 | Int_t fZ; |
2374af72 | 74 | |
2f20cbe3 | 75 | /** The local x coordinate */ |
76 | Float_t fLocX; | |
77 | ||
78 | /** The local z coordinate */ | |
79 | Float_t fLocZ; | |
80 | ||
2374af72 | 81 | /** The module number */ |
209a4703 | 82 | Int_t fModule; |
2374af72 | 83 | |
84 | /** The amplitude in ADC counts */ | |
209a4703 | 85 | Float_t fAmplitude; |
2374af72 | 86 | |
87 | /** The time in sample count */ | |
209a4703 | 88 | Float_t fTime; |
2374af72 | 89 | |
90 | /* The energy in GeV */ | |
209a4703 | 91 | Float_t fEnergy; |
2374af72 | 92 | |
93 | /** The gain */ | |
209a4703 | 94 | Int_t fGain; |
95 | ||
2374af72 | 96 | /** The crazyness */ |
209a4703 | 97 | Int_t fCrazyness; |
2374af72 | 98 | |
99 | /** The baseline */ | |
209a4703 | 100 | Float_t fBaseline; |
0dc57e1b | 101 | |
102 | /** Relative offset in memory to next digit */ | |
103 | Int_t fMemOffsetNext; | |
104 | ||
105 | /** Digit ID */ | |
106 | UInt_t fID; | |
209a4703 | 107 | |
209a4703 | 108 | }; |
109 | ||
110 | #endif | |
111 |