]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
- adding some logging
authorodjuvsla <odjuvsla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Aug 2010 10:14:38 +0000 (10:14 +0000)
committerodjuvsla <odjuvsla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Aug 2010 10:14:38 +0000 (10:14 +0000)
HLT/PHOS/AliHLTPHOSGeometry.cxx
HLT/PHOS/AliHLTPHOSGeometry.h
HLT/PHOS/AliHLTPHOSRecoParamHandler.cxx

index ac909ee42adb2a2293953799beb8ae72543227cb..3f2cadaed450ea449bacc9bc9e9504ca571e7762 100644 (file)
@@ -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;
index a3ac307d4973f2b492fd2593391f304a99e8edfa..3bc9bec1461b2bcd962b9f95db056e0bc62acb85 100644 (file)
@@ -22,7 +22,7 @@
 
 class AliPHOSGeoUtils;
 
-class AliHLTPHOSGeometry : public AliHLTCaloGeometry, public AliHLTLogging
+class AliHLTPHOSGeometry : public AliHLTCaloGeometry
   {
      public:
 
index 5987517c4a186421b0baa89d0394bcfa4a0f7755..ce58f67f14aefd9ef18365042b30230066a0a449 100644 (file)
@@ -50,6 +50,7 @@ void AliHLTPHOSRecoParamHandler::FillParameters()
       fLogWeight = dynamic_cast<AliPHOSRecoParam*>(fRecoParamPtr)->GetEMCLogWeight();
       fRecPointMemberThreshold = dynamic_cast<AliPHOSRecoParam*>(fRecoParamPtr)->GetEMCMinE();
       fRecPointThreshold = dynamic_cast<AliPHOSRecoParam*>(fRecoParamPtr)->GetEMCClusteringThreshold();
+      HLTInfo("Succesfully got reconstruction parameters from OCDB. Cluster seed threshold: %f, cluster member threshold: %f", GetRecPointThreshold(), GetRecPointMemberThreshold());
    }
 }