always use the digit reader in unsorted mode regardless of the argument
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 26 Nov 2007 23:41:47 +0000 (23:41 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 26 Nov 2007 23:41:47 +0000 (23:41 +0000)
HLT/TPCLib/AliHLTAltroChannelSelectorComponent.cxx

index cec4d46..47a9c57 100644 (file)
@@ -106,6 +106,9 @@ int AliHLTAltroChannelSelectorComponent::DoInit(int argc, const char** argv)
        iResult=-EINVAL;
       } else {
        fRawreaderMode=static_cast<unsigned>(mode);
+       // always use the reader in unsorted mode regardless of the
+       // argument 
+       if (fRawreaderMode%2==0) fRawreaderMode++;
       }
     } else {
       iResult=-EINVAL;