From ea54e1c84d6f432f813195b0ee3d4c49b089843c Mon Sep 17 00:00:00 2001 From: odjuvsla Date: Thu, 18 Feb 2010 12:18:15 +0000 Subject: [PATCH] - fixing compilation warnings --- HLT/PHOS/AliHLTPHOSDigitMakerComponent.cxx | 2 +- HLT/PHOS/AliHLTPHOSGeometry.cxx | 11 +++++++---- HLT/PHOS/AliHLTPHOSGeometry.h | 8 +++++++- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/HLT/PHOS/AliHLTPHOSDigitMakerComponent.cxx b/HLT/PHOS/AliHLTPHOSDigitMakerComponent.cxx index 0712ab06218..7474f5966a6 100644 --- a/HLT/PHOS/AliHLTPHOSDigitMakerComponent.cxx +++ b/HLT/PHOS/AliHLTPHOSDigitMakerComponent.cxx @@ -27,7 +27,7 @@ /** - * @file AliHLTCaloDigitMakerComponent.cxx + * @file AliHLTPHOSDigitMakerComponent.cxx * @author Oystein Djuvsland * @date * @brief A digit maker component for PHOS HLT diff --git a/HLT/PHOS/AliHLTPHOSGeometry.cxx b/HLT/PHOS/AliHLTPHOSGeometry.cxx index 40828e6f646..daa4488547c 100644 --- a/HLT/PHOS/AliHLTPHOSGeometry.cxx +++ b/HLT/PHOS/AliHLTPHOSGeometry.cxx @@ -28,10 +28,13 @@ AliHLTPHOSGeometry::~AliHLTPHOSGeometry() // See header file for class documentation } -void AliHLTPHOSGeometry::GetGlobalCoordinates ( AliHLTCaloRecPointDataStruct& /*recPoint*/, AliHLTCaloGlobalCoordinate& globalCoord ) +void AliHLTPHOSGeometry::GetGlobalCoordinates ( AliHLTCaloRecPointDataStruct& recPoint, AliHLTCaloGlobalCoordinate& globalCoord ) { // See header file for class documentation - globalCoord.fX = 0; - globalCoord.fZ = 0; - globalCoord.fY = 0; + Float_t x = (recPoint.fX - 32)*2.2; + Float_t z = (recPoint.fZ - 28)*2.2; + Float_t y = -460; + globalCoord.fX = x; + globalCoord.fZ = z; + globalCoord.fY = y; } diff --git a/HLT/PHOS/AliHLTPHOSGeometry.h b/HLT/PHOS/AliHLTPHOSGeometry.h index dc94375ba83..3f9247f68a6 100644 --- a/HLT/PHOS/AliHLTPHOSGeometry.h +++ b/HLT/PHOS/AliHLTPHOSGeometry.h @@ -34,7 +34,7 @@ class AliHLTPHOSGeometry : public AliHLTCaloGeometry virtual void GetGlobalCoordinates ( AliHLTCaloRecPointDataStruct& recPoint, AliHLTCaloGlobalCoordinate& globalCoord ); //COMMENT /** See base class for class documentation */ - virtual void GetCellAbsId(UInt_t module, UInt_t x, UInt_t z, Int_t& AbsId) const { AbsId = 0; } + virtual void GetCellAbsId(UInt_t /*module*/, UInt_t /*x*/, UInt_t /*z*/, Int_t& AbsId) const { AbsId = 0; } /** Intialise the geometry from the HCDB/OCDB */ virtual Int_t InitialiseGeometry() {return 0; } @@ -43,6 +43,12 @@ class AliHLTPHOSGeometry : public AliHLTCaloGeometry /** Geometry class from offline code */ AliPHOSGeoUtils *fGeoUtils; //! transient + + /** Copy constructor, not implemented */ + AliHLTPHOSGeometry (const AliHLTPHOSGeometry&); //COMMENT + + /** Assignment operator, not implemented */ + AliHLTPHOSGeometry & operator = (const AliHLTPHOSGeometry&); //COMMENT }; #endif // ALIHLTPHOSGEOMETRY_H -- 2.43.0