Changeset 2012 in Sophya for trunk


Ignore:
Timestamp:
May 16, 2002, 10:39:53 PM (23 years ago)
Author:
ansari
Message:

Ajout fonction ProcessedSampleCount ds TOI2Map / activation print stat ds tsttoi2map.cc - Reza 16/5/2002

Location:
trunk/ArchTOIPipe
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/ProcWSophya/toi2map.cc

    r1809 r2012  
    33//                               Christophe Magneville
    44//                               Reza Ansari
    5 // $Id: toi2map.cc,v 1.24 2001-12-03 20:38:02 cmv Exp $
     5// $Id: toi2map.cc,v 1.25 2002-05-16 20:39:52 ansari Exp $
    66
    77#include "machdefs.h"
     
    1515////////////////////////////////////////////////////////////////////////
    1616TOI2Map::TOI2Map(PixelMap<r_8>* map,PixelMap<r_8>* wmap)
    17   : mMap(map), mWMap(wmap), mWMapInternal(false)
     17  : mMap(map), mWMap(wmap), mWMapInternal(false), totnscount(0)
    1818{
    1919 SetEquinox();
     
    153153    getData(1,i0,nget,bc2);
    154154    getData(2,i0,nget,bbolo,bfgbolo);
     155    totnscount += nget;
    155156  }
    156157  bolo = bbolo[s-i0]; fgbolo = bfgbolo[s-i0];
     
    160161  coord1 = getData(0,s);
    161162  coord2 = getData(1,s);
     163  totnscount++;
    162164#endif
    163165
  • trunk/ArchTOIPipe/ProcWSophya/toi2map.h

    r1809 r2012  
    55//                               Christophe Magneville
    66//                               Reza Ansari
    7 // $Id: toi2map.h,v 1.14 2001-12-03 20:38:03 cmv Exp $
     7// $Id: toi2map.h,v 1.15 2002-05-16 20:39:53 ansari Exp $
    88
    99#ifndef TOI2MAP_H
     
    7171  // Print
    7272  void Print(::ostream & os);
     73  inline int_8  ProcessedSampleCount() const { return totnscount; }
    7374
    7475protected:
     
    8384  uint_8 mBadFlag;
    8485  r_8 mValMin,mValMax;
     86  int_8 totnscount;   // Nombre total d'echantillon processe
     87
    8588};
    8689
  • trunk/ArchTOIPipe/TestPipes/tsttoi2map.cc

    r1810 r2012  
    241241 //   }
    242242
    243  //  Affichage de l'avancement des TOIProcessors
    244  // ProcSampleCounter<FITSTOIReader>  stats(rfitsb);
    245  // stats.InfoMessage() = "tsttoi2map/Info";
    246  // stats.PrintStats();
     243 // Affichage de l'avancement des TOIProcessors
     244 ProcSampleCounter<TOI2Map>  stats(toi2m);
     245 stats.InfoMessage() = "tsttoi2map/Info";
     246 stats.PrintStats();
    247247
    248248 // Fin des traitements des TOIProcessors 
Note: See TracChangeset for help on using the changeset viewer.