]>
Commit | Line | Data |
---|---|---|
5308534b | 1 | #ifndef ALIHLTEMCALGEOMETRY_H |
2 | #define ALIHLTEMCALGEOMETRY_H | |
5308534b | 3 | /************************************************************************** |
4 | * This file is property of and copyright by the Experimental Nuclear * | |
5 | * Physics Group, Dep. of Physics * | |
6 | * University of Oslo, Norway, 2007 * | |
7 | * * | |
8 | * Author: Federico Ronchetti for the ALICE HLT Project.* | |
9 | * * | |
10 | * Permission to use, copy, modify and distribute this software and its * | |
11 | * documentation strictly for non-commercial purposes is hereby granted * | |
12 | * without fee, provided that the above copyright notice appears in all * | |
13 | * copies and that both the copyright notice and this permission notice * | |
14 | * appear in the supporting documentation. The authors make no claims * | |
15 | * about the suitability of this software for any purpose. It is * | |
16 | * provided "as is" without express or implied warranty. * | |
17 | **************************************************************************/ | |
18 | ||
22406a6a | 19 | #include "AliHLTCaloGeometry.h" |
e8ea8cf2 | 20 | //#include "AliEMCALGeoUtils.h" |
21 | #include "AliEMCALGeometry.h" | |
fc6a3152 | 22 | #include "AliEMCALRecoUtils.h" |
cdf43bb0 | 23 | |
24 | class TGeoManager; | |
25 | class AliCDBManager; | |
26 | class AliCDBPath; | |
27 | class AliHLTEMCALRecPointDataStruct; | |
5308534b | 28 | |
e8ea8cf2 | 29 | //class AliEMCALGeoUtils; |
30 | class AliEMCALGeometry; | |
22406a6a | 31 | |
520746ee | 32 | class AliHLTEMCALGeometry : public AliHLTCaloGeometry |
5308534b | 33 | { |
34 | public: | |
22406a6a | 35 | AliHLTEMCALGeometry(); |
36 | virtual ~AliHLTEMCALGeometry(); | |
03a0ff8a | 37 | void GetGlobalCoordinates(AliHLTCaloRecPointDataStruct &recPoint, AliHLTCaloGlobalCoordinate &globalCoord, Int_t iParticle ); |
b64e6e99 | 38 | void GetCellAbsId(UInt_t module, UInt_t x, UInt_t z, Int_t& AbsId); |
7b3a0a0e | 39 | virtual Int_t InitialiseGeometry(); |
fc6a3152 | 40 | |
86cbf5e7 | 41 | virtual void GetLocalCoordinatesFromAbsId(Int_t absId, Int_t& module, Int_t& x, Int_t& z); |
42 | ||
43 | ||
22406a6a | 44 | protected: |
45 | int GetGeometryFromCDB(); | |
22406a6a | 46 | |
cdf43bb0 | 47 | private: |
48 | AliHLTEMCALGeometry(const AliHLTEMCALGeometry & ); | |
49 | AliHLTEMCALGeometry & operator = (const AliHLTEMCALGeometry &); | |
08a69753 | 50 | |
044113f2 | 51 | // EMCal Geometry |
e8ea8cf2 | 52 | //AliEMCALGeoUtils *fGeo; |
03a0ff8a | 53 | |
e8ea8cf2 | 54 | AliEMCALGeometry *fGeo; |
03a0ff8a | 55 | AliEMCALRecoUtils *fReco; |
22406a6a | 56 | }; |
cdf43bb0 | 57 | |
5308534b | 58 | #endif |