Ignore:
Timestamp:
Jun 11, 2002, 7:14:26 PM (23 years ago)
Author:
ansari
Message:

corrections pour proj ds localmap - Reza 11/6/2002

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/TestPipes/toistat.cc

    r2047 r2054  
    4444    cout << " toistat : produce a stat NTuple (mean,sigma) from a TOI" << endl;
    4545    cout << "\n Usage : toistat [-intoi toiname] [-start snb] [-end sne] \n"
    46          << "         [-wtoi sz] [-wclean wsz,nbw] [-range min,max] \n"
     46         << "         [-wtoi sz] [-wclean wsz,nbw] [-range min,max] [-cleannsig nsig] \n"
    4747         << "         [-outppf] [-noprstat] [-useseqbuff] \n"
    4848         << "         inFitsName outFileName \n"
     
    5454         << "   -wtoi sz : sets TOISeqBuff buffer size (def= 8192)\n"
    5555         << "   -wclean wsz,nbw : sets cleaner window parameters (256,5) \n"
     56         << "   -cleannsig nsig : Sets cleanner ThrNSig (default = 999999.) \n"
    5657         << "   -outppf : Write the NTuple in PPF format (default: FITS) \n"
    5758         << "   -noprstat : DO NOT PrintStat with ProcSampleCounter \n"
     
    8889  int clean_wsz = 256;
    8990  int clean_nbw = 5;
     91  double clean_nsig = 999999.;
    9092
    9193  // File names
     
    115117      sscanf(arg[ia+1],"%d,%d",  &clean_wsz, &clean_nbw);
    116118    }   
     119    else if (strcmp(arg[ia],"-cleannsig") == 0) {
     120      if (ia == narg-1) Usage(true); 
     121      clean_nsig = atof(arg[ia+1]); ia++;
     122    }   
    117123    else if (strcmp(arg[ia],"-range") == 0) {
    118124      if (ia == narg-1) Usage(true);
     
    127133
    128134    else if (strcmp(arg[ia],"-noprstat") == 0)  fgprstat = false;
     135    else if (strcmp(arg[ia],"-prstat") == 0)  fgprstat = true;
    129136    else if (strcmp(arg[ia],"-useseqbuff") == 0)  fgsegmented = false;
    130137
     
    165172         << " - " << range_max << endl;
    166173    cleaner.SetRange(range_min, range_max);
     174    cleaner.SetCleanForMeanThrNSig(clean_nsig);
    167175    cleaner.FillMeanSigNTuple(true);
    168176
Note: See TracChangeset for help on using the changeset viewer.