Int_t patch=0;
Int_t fm=4;
Int_t th=10;
+ Bool_t de=kFALSE;
AliL3Logger l;
l.Set(AliL3Logger::kAll);
//l.UseStream();
if(argc<2){
- cout<<"Usage: runvhdlcf altrodatafile [slice] [patch] [matchwidth] [threshold]"<<endl;
+ cout<<"Usage: runvhdlcf altrodatafile [slice] [patch] [matchwidth] [threshold] [deconv]"<<endl;
return -1;
}
if (argc>2) {
if (argc>5) {
th=atoi(argv[5]);
}
+ if (argc>6) {
+ de=kTRUE;
+ }
- //Storing all specific quantities, needed by the Cluster Finder.
- //Char_t fname[1024];
- //strcpy(fname,argv[1]);
- //AliL3Transform::Init(dirname(fname));
- //strcpy(fname,argv[1]);
+ /*
+ //reading transformer config file
+ Char_t fname[1024];
+ strcpy(fname,argv[1]);
+ AliL3Transform::Init(dirname(fname));
+ strcpy(fname,argv[1]);
+ */
FILE *afile=fopen(argv[1],"r");
if(!afile) {
//cf.SetZError(0.3);
cf.SetSTDOutput(kTRUE);
cf.SetCalcErr(kTRUE);
- //cf.SetDeconv(kFALSE);
+ cf.SetDeconv(de);
//start processing data
cf.ProcessDigits();