]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fix logic to select HLT or Offline clusters as option in rec.C
authorjthaeder <jthaeder@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 14 Oct 2013 11:11:27 +0000 (11:11 +0000)
committerjthaeder <jthaeder@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 14 Oct 2013 11:11:27 +0000 (11:11 +0000)
TPC/Rec/AliTPCReconstructor.cxx

index d4ca0a5b37aaea084f1be12651d5eba6a9310f15..4415f1dbadc0f13b74577eea3de6a1983c44b650 100644 (file)
@@ -312,14 +312,16 @@ void AliTPCReconstructor::ParseOptions( AliTPCtracker* tracker ) const
     
     AliInfo(Form("Overide TPC RecoParam with option %s",option.Data()));
     
-    if (!option.Contains("useRAW"))
+    if (option.Contains("useRAW")) {
       useHLTClusters = 1;
-    if (!option.Contains("useRAWorHLT"))
-      useHLTClusters = 2;
-    if (!option.Contains("useHLT"))
+      if (option.Contains("useRAWorHLT"))
+       useHLTClusters = 2;
+    }
+    else if (option.Contains("useHLT")) {
       useHLTClusters = 3;
-    if (!option.Contains("useHLTorRAW"))
-      useHLTClusters = 4;
+      if (option.Contains("useHLTorRAW"))
+       useHLTClusters = 4;
+    }
   }
   else {
     const AliTPCRecoParam* param = GetRecoParam();