Changeset 2074 in Sophya for trunk/ArchTOIPipe
- Timestamp:
- Jun 18, 2002, 10:55:21 PM (23 years ago)
- Location:
- trunk/ArchTOIPipe/ProcWSophya
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/ProcWSophya/toi2map.cc
r2058 r2074 3 3 // Christophe Magneville 4 4 // Reza Ansari 5 // $Id: toi2map.cc,v 1.2 7 2002-06-18 12:21:08ansari Exp $5 // $Id: toi2map.cc,v 1.28 2002-06-18 20:55:21 ansari Exp $ 6 6 7 7 #include "machdefs.h" … … 15 15 //////////////////////////////////////////////////////////////////////// 16 16 TOI2Map::TOI2Map(PixelMap<r_8>* map,PixelMap<r_8>* wmap) 17 : mMap(map), mWMap(wmap), mWMapInternal(false), totnscount(0) 17 : mMap(map), mWMap(wmap), mWMapInternal(false), totnscount(0), usednscount(0) 18 18 { 19 19 SetEquinox(); … … 84 84 <<" / Value Min("<<mTMin<<")="<<mValMin 85 85 <<" , Max("<<mTMax<<")="<<mValMax<<endl; 86 os<<" TotalProcessedSamples="<<ProcessedSampleCount() 87 <<" UsedSampleCount="<<UsedSampleCount()<<endl; 86 88 } 87 89 … … 171 173 if(mTMin && bolo<mValMin) continue; 172 174 if(mTMax && bolo>mValMax) continue; 175 usednscount++; 173 176 174 177 // sphere phi entre [0,2*Pi] en radians … … 201 204 } 202 205 203 cout<<"TOI2Map::run(): Fin de boucle sur les sampleNum"<<endl; 206 cout<<"TOI2Map::run(): End of SN loop - TotalProcessedSamples=" 207 <<ProcessedSampleCount()<<" UsedSampleCount="<<UsedSampleCount()<<endl; 204 208 205 209 // Remplissage des spheres -
trunk/ArchTOIPipe/ProcWSophya/toi2map.h
r2058 r2074 5 5 // Christophe Magneville 6 6 // Reza Ansari 7 // $Id: toi2map.h,v 1.1 6 2002-06-18 12:21:09ansari Exp $7 // $Id: toi2map.h,v 1.17 2002-06-18 20:55:21 ansari Exp $ 8 8 9 9 #ifndef TOI2MAP_H … … 78 78 void Print(::ostream & os); 79 79 inline int_8 ProcessedSampleCount() const { return totnscount; } 80 inline int_8 UsedSampleCount() const { return usednscount; } 80 81 81 82 protected: … … 92 93 r_8 mValMin,mValMax; 93 94 int_8 totnscount; // Nombre total d'echantillon processe 95 int_8 usednscount; // Nombre d'echantillons utilises ds la projection 94 96 95 97 };
Note:
See TracChangeset
for help on using the changeset viewer.