Ignore:
Timestamp:
Apr 11, 2001, 2:08:19 PM (24 years ago)
Author:
cmv
Message:

adapt getData cmv 11/4/01

File:
1 edited

Legend:

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

    r1463 r1466  
    7272// Remplissage des spheres
    7373for(int s=snb;s<=sne;s++) {
    74   int_4 fgbolo = 0;
     74  int_8 fgbolo = 0;
     75  double bolo;
    7576
    7677  double alpha = getData(0,s); // alpha entre [0,24[ en heures
    7778  double delta = getData(1,s); // delta entre [-90,90] en degres
    78   double bolo  = getData(2,s);
    79   //fgbolo = getFlag(2,s);
     79  getData(2,s,bolo,fgbolo);
    8080
    8181  if(delta<-90. || delta>90.)  fgbolo=1;
     
    9191      EqtoGal(mjd,alpha,delta,&alpha,&delta);
    9292      phi   = alpha * M_PI/180.;
    93     } else phi   = alpha * M_PI/12.;
     93    } else phi = alpha * M_PI/12.;
    9494    theta = (90.-delta)*M_PI/180.;
    9595    int_4 ipix = mSph->PixIndexSph(theta,phi);
     
    9898    mNSnFill++;
    9999  }
    100 
    101100}
    102101
Note: See TracChangeset for help on using the changeset viewer.