Changeset 2059 in Sophya for trunk/ArchTOIPipe/TestPipes/toistat.cc
- Timestamp:
- Jun 18, 2002, 4:50:12 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/TestPipes/toistat.cc
r2058 r2059 43 43 else { 44 44 cout << " toistat : produce a stat NTuple (mean,sigma) from a TOI" << endl; 45 cout << "\n Usage : toistat [-intoi toiname] [-start snb] [-end sne] \n" 45 cout << "\n Usage : toistat [-intoi toiname] \n " 46 << " [-start snb] [-end sne] [-snimplicit] \n" 46 47 << " [-wtoi sz] [-wclean wsz,nbw] [-range min,max] [-cleannsig nsig] \n" 47 48 << " [-sepflg sepFlagFile] [-outppf] [-noprstat] [-useseqbuff] \n" … … 49 50 << " -start snb : sets the start sample num \n" 50 51 << " -end sne : sets the end sample num \n" 52 << " -snimplicit : sampleNum are implicit in fits files (def=no) \n" 51 53 << " -range min,max : sets the acceptable range for intoi \n" 52 54 << " default= -16000,16000\n" … … 75 77 bool fgsegmented = true; 76 78 bool fgoutppf = false; 79 bool snimplicit = false; 77 80 78 81 int dbglev = 0; … … 114 117 iend = atoi(arg[ia+1]); ia++; 115 118 } 119 else if (strcmp(arg[ia],"-snimplicit") == 0) snimplicit = true; 116 120 else if (strcmp(arg[ia],"-wtoi") == 0) { 117 121 if (ia == narg-1) Usage(true); … … 176 180 cout << "> Creating FITSTOIReader object - InFile=" << infile << endl; 177 181 FITSTOIReader r(infile); 182 if (snimplicit) { 183 cout << " Setting Implicit SN flag for reader: r.setImplicitSN()" << endl; 184 r.setImplicitSN(); 185 } 178 186 if (sepflg) { 179 187 cout << " Setting separate flag file for InTOI_bolo File=" << sepflagfile
Note:
See TracChangeset
for help on using the changeset viewer.