- fixing major bug in clusterizer causing almost all events to contain only one cluster
[u/mrichter/AliRoot.git] / HLT / CALO / AliHLTCaloClusterizerComponent.cxx
index a7fb1416d229f5d441da5a5380a01c91d457ccd1..50d4598699ae803aa0df3033a02e2f51894052d5 100644 (file)
@@ -208,7 +208,7 @@ AliHLTCaloClusterizerComponent::Reconfigure(const char* cdbEntry, const char* /*
 
     if (cdbEntry) path = cdbEntry;
 
-    return ConfigureFromCDBTObjString(cdbEntry);
+    return ConfigureFromCDBTObjString(path);
 }
 
 int
@@ -265,6 +265,8 @@ AliHLTCaloClusterizerComponent::DoInit(int argc, const char** argv )
 
     fClusterizerPtr->SetSortDigitsByEnergy();
 
+    fClusterizerPtr->SetDetector(TString(fCaloConstants->GetDETNAME()));
+    
     fAnalyserPtr = new AliHLTCaloClusterAnalyser();
 
     if (fCaloConstants->GetDETNAME() == "PHOS")