]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/EMCAL/AliHLTEMCALGeometry.h
setting MC id while copying clusters from data blocks with uncompressed raw clusters
[u/mrichter/AliRoot.git] / HLT / EMCAL / AliHLTEMCALGeometry.h
index 2435da48a0001d175a17714a2ab8a455ef7a240b..970b988888f7989c19c948cbfa3a4bb834f2360b 100644 (file)
@@ -1,6 +1,5 @@
 #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);
+       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