#ifndef ALIHLTEMCALGEOMETRY_H
#define ALIHLTEMCALGEOMETRY_H
-
/**************************************************************************
* This file is property of and copyright by the Experimental Nuclear *
* Physics Group, Dep. of Physics *
* provided "as is" without express or implied warranty. *
**************************************************************************/
-
-#include "AliHLTCaloGeometry.h"
-#include "AliHLTEMCALSharedMemoryInterface.h"
-#include "AliEMCALGeoUtils.h"
+#include "AliHLTCaloGeometry.h"
+//#include "AliEMCALGeoUtils.h"
#include "AliEMCALGeometry.h"
-#include "TGeoManager.h"
+#include "AliEMCALRecoUtils.h"
+
+class TGeoManager;
+class AliCDBManager;
+class AliCDBPath;
+class AliHLTEMCALRecPointDataStruct;
+
+//class AliEMCALGeoUtils;
+class AliEMCALGeometry;
class AliHLTEMCALGeometry : public AliHLTCaloGeometry
{
public:
- AliHLTEMCALGeometry( TString det );
- virtual ~AliHLTEMCALGeometry();
- void GetGlobalCoordinates(AliHLTCaloRecPointDataStruct &recPoint, AliHLTCaloGlobalCoordinate &globalCoord );
- void GetCellAbsId(UInt_t module, UInt_t x, UInt_t z, Int_t& AbsId)const;
-
+ AliHLTEMCALGeometry();
+ virtual ~AliHLTEMCALGeometry();
+ void GetGlobalCoordinates(AliHLTCaloRecPointDataStruct &recPoint, AliHLTCaloGlobalCoordinate &globalCoord, Int_t iParticle );
+ void GetCellAbsId(UInt_t module, UInt_t x, UInt_t z, Int_t& AbsId);
+ virtual Int_t InitialiseGeometry();
+
+ virtual void GetLocalCoordinatesFromAbsId(Int_t absId, Int_t& module, Int_t& x, Int_t& z);
+
+
+protected:
+ int GetGeometryFromCDB();
+
private:
- AliHLTEMCALGeometry();
- AliHLTEMCALSharedMemoryInterface* fShmPtr;
- //AliEMCALGeometry *fGeo;
- AliEMCALGeoUtils *fGeo;
- AliHLTEMCALGeometry(const AliHLTEMCALGeometry & );
- AliHLTEMCALGeometry & operator = (const AliHLTEMCALGeometry &);
-
+ AliHLTEMCALGeometry(const AliHLTEMCALGeometry & );
+ AliHLTEMCALGeometry & operator = (const AliHLTEMCALGeometry &);
+
+ // EMCal Geometry
+ //AliEMCALGeoUtils *fGeo;
+
+ AliEMCALGeometry *fGeo;
+ AliEMCALRecoUtils *fReco;
};
#endif