]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Bugfix, comparison of string -sorted was not correct.
authorkaamodt <kaamodt@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 26 Jan 2009 08:15:35 +0000 (08:15 +0000)
committerkaamodt <kaamodt@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 26 Jan 2009 08:15:35 +0000 (08:15 +0000)
HLT/TPCLib/AliHLTTPCClusterFinderComponent.cxx

index a5f3fdcb0daf01e23aa45542fe41d1464aef5a8a..090583b4a9c05d99e35e026827a96ff0b7e5ac35 100644 (file)
@@ -473,7 +473,7 @@ int AliHLTTPCClusterFinderComponent::Configure(const char* arguments){
          HLTError("fLastTimeBins is too big: %d. Maximum: %d",fLastTimeBin,AliHLTTPCTransform::GetNTimeBins());
        }
       }
-      else if (argument.CompareTo("-sorted")) {
+      else if (argument.CompareTo("-sorted")==0) {
        fUnsorted=0;
        HLTDebug("Swithching unsorted off.");
        fClusterFinder->SetUnsorted(0);
@@ -486,7 +486,7 @@ int AliHLTTPCClusterFinderComponent::Configure(const char* arguments){
        fGetActivePads = 1;
        fClusterFinder->SetDoPadSelection(kTRUE);
       }
-      else if (argument.CompareTo("-occupancy-limit")==0 ||argument.CompareTo("occupancy-limit")==0){
+      else if (argument.CompareTo("-occupancy-limit")==0 || argument.CompareTo("occupancy-limit")==0){
        if(argument.CompareTo("occupancy-limit" )==0){
          HLTWarning("Please switch to new component argument naming convention, use '-occupancy-limit' instead of 'occupancy-limit'");
        }