Ignore:
Timestamp:
Jan 10, 2003, 9:04:47 AM (23 years ago)
Author:
aubourg
Message:

toi2map.cc

File:
1 edited

Legend:

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

    r2228 r2311  
    33//                               Christophe Magneville
    44//                               Reza Ansari
    5 // $Id: toi2map.cc,v 1.31 2002-10-24 10:30:50 aubourg Exp $
     5// $Id: toi2map.cc,v 1.32 2003-01-10 08:04:47 aubourg Exp $
    66
    77#include "machdefs.h"
     
    158158cout<<" (getData() not bufferized)"<<endl;
    159159#endif
    160 
     160 cout << "calib = " << mCalibFactor << endl;
    161161// Remplissage des spheres
    162162for(int s=snb;s<=sne;s++) {
     
    217217  int_4 ipix = mMap->PixIndexSph(theta,phi);
    218218  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  */
    219225  (*mMap)(ipix) += bolo*mCalibFactor;   
    220226  ((*mWMap)(ipix)) += 1;
     
    228234 for(int_4 i=0;i<mMap->NbPixels();i++) {
    229235   r_8 wf = (*mWMap)(i);
     236   /*
     237     if (i%100 == 0) {
     238     cout << "pix " << i << " w = " << wf << " map = " <<
     239     (*mMap)(i);
     240     }
     241   */
    230242   if(wf>0.) {mNpixFill++; (*mMap)(i) /= wf;}
     243   /*
     244     if (i%100 == 0) {
     245     cout << " -> " << (*mMap)(i);
     246     }
     247   */
    231248   int_4 nf = int_4(wf);
    232249   if(nf>=NFILL) nf=NFILL-1; NFill[nf]++;
Note: See TracChangeset for help on using the changeset viewer.