From 55f9b28786454653764846f749a0117a8a5f8535 Mon Sep 17 00:00:00 2001 From: odjuvsla Date: Wed, 25 Aug 2010 10:14:38 +0000 Subject: [PATCH] - adding some logging --- HLT/PHOS/AliHLTPHOSGeometry.cxx | 8 +++++--- HLT/PHOS/AliHLTPHOSGeometry.h | 2 +- HLT/PHOS/AliHLTPHOSRecoParamHandler.cxx | 1 + 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/HLT/PHOS/AliHLTPHOSGeometry.cxx b/HLT/PHOS/AliHLTPHOSGeometry.cxx index ac909ee42ad..3f2cadaed45 100644 --- a/HLT/PHOS/AliHLTPHOSGeometry.cxx +++ b/HLT/PHOS/AliHLTPHOSGeometry.cxx @@ -22,7 +22,6 @@ AliHLTPHOSGeometry::AliHLTPHOSGeometry() : AliHLTCaloGeometry("PHOS"), -AliHLTLogging(), fGeoUtils(0) { // See header file for class documentation @@ -82,15 +81,18 @@ int AliHLTPHOSGeometry::GetGeometryFromCDB() } gGeoManager = (TGeoManager*) pEntry->GetObject(); -// HLTError("gGeoManager = 0x%x", gGeoManager); if(gGeoManager) { fGeoUtils = new AliPHOSGeoUtils("PHOS", "noCPV"); } + else + { + HLTError("can not get gGeoManager from OCDB"); + } } else { -// HLTError("can not fetch object \"%s\" from OCDB", path); + HLTError("can not fetch object \"%s\" from OCDB", path.GetPath().Data()); } } return 0; diff --git a/HLT/PHOS/AliHLTPHOSGeometry.h b/HLT/PHOS/AliHLTPHOSGeometry.h index a3ac307d497..3bc9bec1461 100644 --- a/HLT/PHOS/AliHLTPHOSGeometry.h +++ b/HLT/PHOS/AliHLTPHOSGeometry.h @@ -22,7 +22,7 @@ class AliPHOSGeoUtils; -class AliHLTPHOSGeometry : public AliHLTCaloGeometry, public AliHLTLogging +class AliHLTPHOSGeometry : public AliHLTCaloGeometry { public: diff --git a/HLT/PHOS/AliHLTPHOSRecoParamHandler.cxx b/HLT/PHOS/AliHLTPHOSRecoParamHandler.cxx index 5987517c4a1..ce58f67f14a 100644 --- a/HLT/PHOS/AliHLTPHOSRecoParamHandler.cxx +++ b/HLT/PHOS/AliHLTPHOSRecoParamHandler.cxx @@ -50,6 +50,7 @@ void AliHLTPHOSRecoParamHandler::FillParameters() fLogWeight = dynamic_cast(fRecoParamPtr)->GetEMCLogWeight(); fRecPointMemberThreshold = dynamic_cast(fRecoParamPtr)->GetEMCMinE(); fRecPointThreshold = dynamic_cast(fRecoParamPtr)->GetEMCClusteringThreshold(); + HLTInfo("Succesfully got reconstruction parameters from OCDB. Cluster seed threshold: %f, cluster member threshold: %f", GetRecPointThreshold(), GetRecPointMemberThreshold()); } } -- 2.43.0