]>
Commit | Line | Data |
---|---|---|
91b95d47 | 1 | #ifndef ALIHLTPHOSRECPOINTDATASTRUCT_H |
2 | #define ALIHLTPHOSRECPOINTDATASTRUCT_H | |
22216204 | 3 | |
4 | /************************************************************************** | |
5 | * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
6 | * * | |
7 | * Authors: Øystein Djuvsland <oysteind@ift.uib.no> * | |
8 | * * | |
9 | * Permission to use, copy, modify and distribute this software and its * | |
10 | * documentation strictly for non-commercial purposes is hereby granted * | |
11 | * without fee, provided that the above copyright notice appears in all * | |
12 | * copies and that both the copyright notice and this permission notice * | |
13 | * appear in the supporting documentation. The authors make no claims * | |
14 | * about the suitability of this software for any purpose. It is * | |
15 | * provided "as is" without express or implied warranty. * | |
16 | **************************************************************************/ | |
17 | ||
18 | struct AliHLTPHOSRecPointDataStruct | |
19 | { | |
20 | AliHLTUInt8_t fPHOSModule; | |
21 | AliHLTUInt8_t fMultiplicity; | |
22 | AliHLTUInt8_t fCoordinatesPtr[2]; | |
23 | Float_t fX; | |
24 | Float_t fZ; | |
6e709a0d | 25 | Float_t fM2x; |
26 | Float_t fM2z; | |
27 | Float_t fM3x; | |
28 | Float_t fM4z; | |
29 | Float_t fPhixe; | |
30 | Float_t fDistanceToBadChannel; | |
22216204 | 31 | Float_t* fEnergiesListPtr; |
6e709a0d | 32 | |
33 | void New() | |
34 | { | |
35 | fEnergiesListPtr = new Float_t[fMultiplicity]; | |
36 | } | |
37 | ||
38 | void Del() | |
39 | { | |
40 | if(fEnergiesListPtr) | |
41 | { | |
42 | delete [] fEnergiesListPtr; | |
43 | fEnergiesListPtr = 0; | |
44 | } | |
45 | } | |
22216204 | 46 | }; |
47 | ||
48 | #endif |