Changeset 2311 in Sophya for trunk/ArchTOIPipe
- Timestamp:
- Jan 10, 2003, 9:04:47 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/ProcWSophya/toi2map.cc
r2228 r2311 3 3 // Christophe Magneville 4 4 // Reza Ansari 5 // $Id: toi2map.cc,v 1.3 1 2002-10-24 10:30:50aubourg Exp $5 // $Id: toi2map.cc,v 1.32 2003-01-10 08:04:47 aubourg Exp $ 6 6 7 7 #include "machdefs.h" … … 158 158 cout<<" (getData() not bufferized)"<<endl; 159 159 #endif 160 160 cout << "calib = " << mCalibFactor << endl; 161 161 // Remplissage des spheres 162 162 for(int s=snb;s<=sne;s++) { … … 217 217 int_4 ipix = mMap->PixIndexSph(theta,phi); 218 218 if ((ipix < 0) || (ipix >= mMap->NbPixels()) ) continue; 219 /* 220 if (mNSnFill % 1000 == 0) { 221 cout << ipix << " " << (*mMap)(ipix) << " + " << bolo*mCalibFactor << 222 " " << ((*mWMap)(ipix)) << endl; 223 } 224 */ 219 225 (*mMap)(ipix) += bolo*mCalibFactor; 220 226 ((*mWMap)(ipix)) += 1; … … 228 234 for(int_4 i=0;i<mMap->NbPixels();i++) { 229 235 r_8 wf = (*mWMap)(i); 236 /* 237 if (i%100 == 0) { 238 cout << "pix " << i << " w = " << wf << " map = " << 239 (*mMap)(i); 240 } 241 */ 230 242 if(wf>0.) {mNpixFill++; (*mMap)(i) /= wf;} 243 /* 244 if (i%100 == 0) { 245 cout << " -> " << (*mMap)(i); 246 } 247 */ 231 248 int_4 nf = int_4(wf); 232 249 if(nf>=NFILL) nf=NFILL-1; NFill[nf]++;
Note:
See TracChangeset
for help on using the changeset viewer.