]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
bugfix
authorjthaeder <jthaeder@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 6 Oct 2011 22:13:21 +0000 (22:13 +0000)
committerjthaeder <jthaeder@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 6 Oct 2011 22:13:21 +0000 (22:13 +0000)
TPC/AliTPCclustererMI.cxx

index 3af4a8c422680efa3f4367808a144168482ea1a6..dbd218d8641cf7899ab229c5ed4c043b3f054e52 100644 (file)
@@ -727,8 +727,9 @@ void AliTPCclustererMI::Digits2Clusters()
   //-----------------------------------------------------------------
   fUseHLTClusters = fRecoParam->GetUseHLTClusters();
 
-  printf(" HLT TPC Reco foo : %d \n",fUseHLTClusters );
-  if (fUseHLTClusters == 3 && fUseHLTClusters == 4) {
+  AliInfo(Form("Usage of HLT clusters in TPC reconstruction : %d",fUseHLTClusters));
+
+  if (fUseHLTClusters == 3 || fUseHLTClusters == 4) {
     AliInfo("Using HLT clusters for TPC off-line reconstruction");
     fZWidth = fParam->GetZWidth();
     Int_t iResult = ReadHLTClusters();
@@ -748,7 +749,7 @@ void AliTPCclustererMI::Digits2Clusters()
       AliWarning("Some problem while unpacking of HLT clusters.");
       return;
     }
-  } // if (fUseHLTClusters == 3 && fUseHLTClusters == 4) {
+  } // if (fUseHLTClusters == 3 || fUseHLTClusters == 4) {
 
   //-----------------------------------------------------------------
   // Run TPC off-line clusterer
@@ -987,11 +988,15 @@ void AliTPCclustererMI::Digits2Clusters(AliRawReader* rawReader)
   //-----------------------------------------------------------------
   fUseHLTClusters = fRecoParam->GetUseHLTClusters();
 
-  if (fUseHLTClusters == 3 && fUseHLTClusters == 4) {
+  AliInfo(Form("Usage of HLT clusters in TPC reconstruction : %d",fUseHLTClusters));
+
+  if (fUseHLTClusters == 3 || fUseHLTClusters == 4) {
     AliInfo("Using HLT clusters for TPC off-line reconstruction");
     fZWidth = fParam->GetZWidth();
     Int_t iResult = ReadHLTClusters();
 
+    AliError(Form("HLT result : %d",iResult));
+
     // HLT clusters present
     if (!iResult)
       return;
@@ -1007,7 +1012,7 @@ void AliTPCclustererMI::Digits2Clusters(AliRawReader* rawReader)
       AliWarning("Some problem while unpacking of HLT clusters.");
       return;
     }
-  } // if (fUseHLTClusters == 3 && fUseHLTClusters == 4) {
+  } // if (fUseHLTClusters == 3 || fUseHLTClusters == 4) {
    
   //-----------------------------------------------------------------
   // Run TPC off-line clusterer