2 #ifndef ALIHLTCALOGEOMETRY_H
3 #define ALIHLTCALOGEOMETRY_H
4 /* Copyright(c) 1998-2004, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 // Author: Federico Ronchetti
10 #include "AliHLTCaloConstants.h"
11 #include "AliHLTLogging.h"
12 #include "AliHLTCaloConstantsHandler.h"
13 #include "AliHLTCaloCoordinate.h"
14 #include "AliHLTCaloGlobalCoordinate.h"
15 #include "AliHLTCaloRecPointDataStruct.h"
17 struct AliHLTCaloCoordinate;
18 struct AliHLTCaloGlobalCoordinate;
20 class AliHLTCaloGeometry : public AliHLTCaloConstantsHandler, public AliHLTLogging
24 AliHLTCaloGeometry (TString det);
25 virtual ~AliHLTCaloGeometry();
26 // Particle: 0=photon, 1=electron, 2=hadron
27 virtual void GetGlobalCoordinates(AliHLTCaloRecPointDataStruct &recPoint, AliHLTCaloGlobalCoordinate &globalCoord, Int_t iParticle ) = 0;
29 virtual void GetCellAbsId(UInt_t module, UInt_t x, UInt_t z, Int_t& AbsId) = 0; //COMMENT
31 virtual void GetLocalCoordinatesFromAbsId(Int_t AbsId, Int_t &module, Int_t &x, Int_t &z) = 0; //COMMENT
33 virtual Int_t InitialiseGeometry() = 0;
36 Bool_t fIsInitialised;
40 /** Default constructor, not implemented */
41 AliHLTCaloGeometry(); //COMMENT
43 ClassDef(AliHLTCaloGeometry, 0);