]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/EMCAL/AliHLTEMCALGeometry.h
- adding EMCAL geometry class
[u/mrichter/AliRoot.git] / HLT / EMCAL / AliHLTEMCALGeometry.h
1 #ifndef ALIHLTEMCALGEOMETRY_H
2 #define ALIHLTEMCALGEOMETRY_H
3
4 /**************************************************************************
5  * This file is property of and copyright by the Experimental Nuclear     *
6  * Physics Group, Dep. of Physics                                         *
7  * University of Oslo, Norway, 2007                                       *
8  *                                                                        *
9  * Author: Federico Ronchetti for the ALICE HLT Project.*
10  *                                                                        *
11  * Permission to use, copy, modify and distribute this software and its   *
12  * documentation strictly for non-commercial purposes is hereby granted   *
13  * without fee, provided that the above copyright notice appears in all   *
14  * copies and that both the copyright notice and this permission notice   *
15  * appear in the supporting documentation. The authors make no claims     *
16  * about the suitability of this software for any purpose. It is          *
17  * provided "as is" without express or implied warranty.                  *
18  **************************************************************************/
19
20
21 #include  "AliHLTCaloGeometry.h"
22 #include "AliHLTEMCALSharedMemoryInterface.h" 
23 #include "AliEMCALGeoUtils.h"
24 #include "AliEMCALGeometry.h"
25 #include "TGeoManager.h"
26
27 class  AliHLTEMCALGeometry : public AliHLTCaloGeometry
28 {
29  public:
30   AliHLTEMCALGeometry( TString det );
31   virtual ~AliHLTEMCALGeometry();
32   void GetGlobalCoordinates(AliHLTCaloRecPointDataStruct &recPoint, AliHLTCaloGlobalCoordinate &globalCoord );
33   void GetCellAbsId(UInt_t module, UInt_t x, UInt_t z, Int_t& AbsId)const;
34  
35 private:
36         AliHLTEMCALGeometry();
37         AliHLTEMCALSharedMemoryInterface* fShmPtr;  
38         //AliEMCALGeometry *fGeo;
39         AliEMCALGeoUtils *fGeo;
40       AliHLTEMCALGeometry(const AliHLTEMCALGeometry & );
41       AliHLTEMCALGeometry & operator = (const AliHLTEMCALGeometry &);
42   
43 };
44
45 #endif