X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=RAW%2Falimdc_main.cxx;h=c6b1dc2b1f771bca1e4b8a08550e4168dfecf2d4;hb=d2a137c17d5fc7e0c7e75017395dc101a956d952;hp=e2007dde49a842723e385a95f5e722d0476b9255;hpb=d04aea321b4646bfd1143ff57d597ea77537e760;p=u%2Fmrichter%2FAliRoot.git diff --git a/RAW/alimdc_main.cxx b/RAW/alimdc_main.cxx index e2007dde49a..c6b1dc2b1f7 100644 --- a/RAW/alimdc_main.cxx +++ b/RAW/alimdc_main.cxx @@ -1,4 +1,4 @@ -// @(#) $Id$ +// @(#)alimdc:$Name: $:$Id$ // Author: Fons Rademakers 26/11/99 ////////////////////////////////////////////////////////////////////////// @@ -210,17 +210,17 @@ int main(int argc, char **argv) // no special arg checking so don't make errors if (argv[iarg][0] == '-') { delFiles = kTRUE; - maxFileSize = atoi(argv[iarg]+1); + maxFileSize = atoll(argv[iarg]+1); } else - maxFileSize = atoi(argv[iarg]); - if (maxFileSize < 1000 || maxFileSize > 2.e9) { + maxFileSize = atoll(argv[iarg]); + if (maxFileSize < 1000 || maxFileSize > 20.e9) { Error(argv[0], "unreasonable file size %f\n", maxFileSize); return 1; } iarg++; maxTagSize = atoi(argv[iarg]); - if (maxTagSize > 0 && (maxTagSize < 1000 || maxTagSize > 2.e9)) { + if (maxTagSize > 0 && (maxTagSize < 1000 || maxTagSize > 20.e9)) { Error(argv[0], "unreasonable tag file size %f\n", maxTagSize); return 1; } @@ -269,9 +269,10 @@ int main(int argc, char **argv) } } + Int_t basketsize = 32000; // Create MDC processor object and process input stream AliMDC mdcproc(compress, delFiles, AliMDC::EFilterMode(filterMode), - maxTagSize, tagDBFS); + maxTagSize, tagDBFS,NULL,basketsize); Int_t result = mdcproc.Run(file, useLoop, wmode, maxFileSize, fs1, fs2);