]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/TPCLib/AliHLTAltroChannelSelectorComponent.cxx
always use the digit reader in unsorted mode regardless of the argument
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTAltroChannelSelectorComponent.cxx
index cec4d46c424aa4a9a948fc9c0a0541fc2322a553..47a9c575e21cb65d4cdeb13b60b997c2f93b390c 100644 (file)
@@ -106,6 +106,9 @@ int AliHLTAltroChannelSelectorComponent::DoInit(int argc, const char** argv)
        iResult=-EINVAL;
       } else {
        fRawreaderMode=static_cast<unsigned>(mode);
        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;
       }
     } else {
       iResult=-EINVAL;