From a6894d9050a4bed8c67599e85ae0488712296ccd Mon Sep 17 00:00:00 2001 From: loizides Date: Thu, 11 Jul 2002 11:30:48 +0000 Subject: [PATCH] Little changes, mostly cosmetic. --- HLT/programs/gettransform.cxx | 54 +++++++++++++++++++++-------------- HLT/programs/read.cxx | 6 ++-- 2 files changed, 35 insertions(+), 25 deletions(-) diff --git a/HLT/programs/gettransform.cxx b/HLT/programs/gettransform.cxx index ee78941ede3..2f2b0c9e825 100644 --- a/HLT/programs/gettransform.cxx +++ b/HLT/programs/gettransform.cxx @@ -8,7 +8,6 @@ #include #include #include -#include #include #include #include @@ -22,33 +21,39 @@ #include #endif -/* - This program extracts parameters and lookup tables needed for the - vhdl implementation of the Hough transform. - */ +/** + This program extracts parameters and lookup tables needed for the + vhdl implementation of the Hough transform. +*/ int main(int argc,char **argv) { Int_t patch=0; Int_t slice=0; Char_t path[1000]; - //cout<<"Usage: transform [slice] [patch] [path]"<1) { slice=atoi(argv[1]); } if (argc>2) { patch=atoi(argv[2]); - } if (argc>3) { + } + if (argc>3) { strcpy(path,argv[3]); } else strcpy(path,"/tmp/data/RawData/slice0"); - - AliL3Logger l; - l.UseStdout(); - //l.UseStream(); + if(argc>4){ + cout<<"Usage: transform [slice] [patch] [path]"<