]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/AliHLTPHOSRecPointDataStruct.h
Removing this file that was added to CVS by accident
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSRecPointDataStruct.h
1 #ifndef ALIHLTPHOSRECPOINTDATASTRUCT_H
2 #define ALIHLTPHOSRECPOINTDATASTRUCT_H
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;
25   Float_t fM2x;
26   Float_t fM2z;
27   Float_t fM3x;
28   Float_t fM4z;
29   Float_t fPhixe;
30   Float_t fDistanceToBadChannel;
31   Float_t* fEnergiesListPtr;
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   }
46 };
47
48 #endif