]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/PHOS/AliHLTPHOSGeometry.h
- changes to make the clusterisation work for EMCAL
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSGeometry.h
CommitLineData
505b442d 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Authors: Oystein Djuvsland <oysteind@ift.uib.no> *
5 * *
6 * Permission to use, copy, modify and distribute this software and its *
7 * documentation strictly for non-commercial purposes is hereby granted *
8 * without fee, provided that the above copyright notice appears in all *
9 * copies and that both the copyright notice and this permission notice *
10 * appear in the supporting documentation. The authors make no claims *
11 * about the suitability of this software for any purpose. It is *
12 * provided "as is" without express or implied warranty. *
13 **************************************************************************
14*/
15
16#ifndef ALIHLTPHOSGEOMETRY_H
17#define ALIHLTPHOSGEOMETRY_H
18
19#include "AliHLTCaloGeometry.h"
16ce6bc0 20#include "AliHLTLogging.h"
21#include "TClass.h"
505b442d 22
f710c5c9 23class AliPHOSGeoUtils;
24
16ce6bc0 25class AliHLTPHOSGeometry : public AliHLTCaloGeometry, public AliHLTLogging
505b442d 26 {
27 public:
28
29 /** Default constructor */
30 AliHLTPHOSGeometry (); //COMMENT
31
32 /** Destructor */
33 virtual ~AliHLTPHOSGeometry (); //COMMENT
34
35 /** Get the ALICE global coordinates for a rec point */
36 virtual void GetGlobalCoordinates ( AliHLTCaloRecPointDataStruct& recPoint, AliHLTCaloGlobalCoordinate& globalCoord ); //COMMENT
73d6f579 37
38 /** See base class for class documentation */
16ce6bc0 39 virtual void GetCellAbsId(UInt_t module, UInt_t x, UInt_t z, Int_t& AbsId);
f710c5c9 40
41 /** Intialise the geometry from the HCDB/OCDB */
42 virtual Int_t InitialiseGeometry() {return 0; }
cb8959d4 43
16ce6bc0 44 virtual void ConvertRecPointCoordinates(Float_t &x, Float_t &z) const;
cb8959d4 45
46 protected:
47
48 Int_t GetGeometryFromCDB();
98baf84d 49
f710c5c9 50 private:
51
52 /** Geometry class from offline code */
53 AliPHOSGeoUtils *fGeoUtils; //! transient
ea54e1c8 54
55 /** Copy constructor, not implemented */
56 AliHLTPHOSGeometry (const AliHLTPHOSGeometry&); //COMMENT
57
58 /** Assignment operator, not implemented */
59 AliHLTPHOSGeometry & operator = (const AliHLTPHOSGeometry&); //COMMENT
cb8959d4 60
505b442d 61 };
62
63#endif // ALIHLTPHOSGEOMETRY_H