//$Id$ //Author: Constantin Loizides /** This program extracts parameters and lookup tables needed for the vhdl implementation of the Hough transform. */ #include #include #include #include #include #include #include int main(int argc,char **argv) { Int_t patch=0; Int_t slice=0; Char_t path[1000]; AliL3Logger l; l.Set(AliL3Logger::kAll); l.UseStderr(); //l.UseStdout(); //l.UseStream(); if (argc>1) { slice=atoi(argv[1]); } if (argc>2) { patch=atoi(argv[2]); } if (argc>3) { strcpy(path,argv[3]); } else strcpy(path,"/tmp/data/RawData/slice0"); if(argc>4){ cout<<"Usage: transform [slice] [patch] [path]"<