Ignore:
Timestamp:
Jun 18, 2002, 5:23:09 PM (23 years ago)
Author:
ansari
Message:

Debug print ds FitsTOIReader - reza 18/6/2002

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/Kernel/fitstoirdr.cc

    r2058 r2061  
    33//                               Christophe Magneville
    44//                               Reza Ansari
    5 // $Id: fitstoirdr.cc,v 1.30 2002-06-18 12:21:08 ansari Exp $
     5// $Id: fitstoirdr.cc,v 1.31 2002-06-18 15:23:09 ansari Exp $
    66
    77#include "fitstoirdr.h"
     
    308308 int* stmpflg = NULL;
    309309 if (sepFlagfile) stmpflg = new int[Buff_Sz];
     310 long nonzeroflg = 0;
     311 long nbckflg = 0;
    310312 // Fin modif pour fichier de flags separe (18/6/2002)
    311313 
     
    366368         for(int skf=0; skf<sepFlagCols.size(); skf++) {
    367369           fits_read_col_int(fptrflg, skf+1, ideb+1,1,n,0,stmpflg,&anyNul,&fstatus);
    368            for(sjj=0; sjj<n; sjj++)
    369              if (stmpflg) colflg[k][sjj] |= sepFlagCols[skf];
     370           for(sjj=0; sjj<n; sjj++) {
     371             nbckflg++;
     372             if (stmpflg) {
     373               nonzeroflg++;
     374               colflg[k][sjj] |= sepFlagCols[skf];
     375             }
     376           }
    370377         }
    371378       }  // Fin modif pour fichier de flags separe (18/6/2002)
     
    409416
    410417 cout << "reader (buffered) done reading... " << pthread_self() << endl;
    411 }
     418 cout << " --- CkRz: nbckflg=" << nbckflg << " nonzeroflg= " << nonzeroflg << endl;
     419
     420}
Note: See TracChangeset for help on using the changeset viewer.