message: add single slice mode to standalone version
diff: int main(int argc, char** argv)
  {
  int i;
  - int RUNGPU = 1, SAVE = 0, DebugLevel = 0, NEvents = 100, StartEvent = 0, noprompt = 0, cudaDevice = -1;
  + int RUNGPU = 1, SAVE = 0, DebugLevel = 0, NEvents = 100, StartEvent = 0, noprompt = 0, cudaDevice = -1, forceSlice = -1;
  AliHLTTPCCAStandaloneFramework &hlt = AliHLTTPCCAStandaloneFramework::Instance();
  char EventsDir[256] = "";
  @@ -39,34 +39,39 @@ int main(int argc, char** argv)
  SAVE=1;
  }
  - if ( !strcmp( argv[i], "-DEBUG" ) && argc >= i)
  + if ( !strcmp( argv[i], "-DEBUG" ) && argc > i + 1)
  {
  DebugLevel = atoi(argv[i + 1]);
  }
  - if ( !strcmp( argv[i], "-CUDA" ) && argc >= i)
  + if ( !strcmp( argv[i], "-SLICE" ) && argc > i + 1)
  + {
  + forceSlice = atoi(argv[i + 1]);
  + }
  +
  + if ( !strcmp( argv[i], "-CUDA" ) && argc > i + 1)
  {
  cudaDevice = atoi(argv[i + 1]);
  }
  - if ( !strcmp( argv[i], "-N" ) && argc >= i)
  + if ( !strcmp( argv[i], "-N" ) && argc > i + 1)
  {
  NEvents = atoi(argv[i + 1]);
  }
  - if ( !strcmp( argv[i], "-S" ) && argc >= i)
  + if ( !strcmp( argv[i], "-S" ) && argc > i + 1)
  {
  if (atoi(argv[i + 1]) > 0)
  StartEvent = atoi(argv[i + 1]);
  }
  - if ( !strcmp( argv[i], "-EVENTS" ) && argc >= i)
  + if ( !strcmp( argv[i], "-EVENTS" ) && argc > i + 1)
  {
  printf("Reading events from Directory events%s\n", argv[i + 1]);
  strcpy(EventsDir, argv[i + 1]);
  }
  - if ( !strcmp( argv[i], "-OMP" ) && argc >= i)
  + if ( !strcmp( argv[i], "-OMP" ) && argc > i + 1)
  {
  printf("Using %s OpenMP Threads\n", argv[i + 1]);
  omp_set_num_threads(atoi(argv[i + 1]));
  @@ -78,6 +83,7 @@ int main(int argc, char** argv)
  {
  CPUOut.open("CPU.out");
  GPUOut.open("GPU.out");
  + omp_set_num_threads(1);
  }
  hlt.SetGPUDebugLevel(DebugLevel, &CPUOut, &GPUOut);
  @@ -125,7 +131,7 @@ int main(int argc, char** argv)
  hlt.FinishDataReading();
  in.close();
  printf("Processing Event %d\n", i);
  - hlt.ProcessEvent();
  + hlt.ProcessEvent(forceSlice);
  /*if (hlt.ProcessEvent())
  {
  printf("Error occured\n");
  