Ignore:
Timestamp:
Jun 14, 2001, 7:53:29 PM (24 years ago)
Author:
cmv
Message:

ameliorations et + de possibilites cmv 14/6/01

File:
1 edited

Legend:

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

    r1520 r1530  
    33#define TOI2MAP_H
    44
     5#include "toiprocessor.h"
    56#include "toiprocessor.h"
    67#include "spherehealpix.h"
     
    4142  inline void SetCoorOut(TypAstroCoord mfg=TypCoordGalStd)
    4243              {mTypCoorOut = mfg;}
     44  // Test on flag value ? if yes, BAD sample have flag matching mBadFlag
     45  inline void SetTestFlag(bool tflg=false, int_8 badflg=0)
     46              {mTFlag = tflg; mBadFlag = badflg;}
     47  // Test on min value ? if yes, GOOD sample have value >= mValMin
     48  // Test on max value ? if yes, GOOD sample have value <= mValMax
     49  // Good values are (mValMin <= sample value <= mValMax)
     50  //                      bounds are included
     51  inline void SetTestMin(bool tmin=false, r_8 vmin=-1.e30)
     52              {mTMin = tmin; mValMin = vmin;}
     53  inline void SetTestMax(bool tmax=false, r_8 vmax=+1.e30)
     54              {mTMax = tmax; mValMax = vmax;}
     55  // Print
     56  void Print(ostream & os);
    4357
    4458protected:
     
    4660  SphereHEALPix<r_8>* mWSph;
    4761  bool mWSphInternal;
     62
    4863  TypAstroCoord mTypCoorIn, mTypCoorOut;
    4964  double mActualYear;
     65
     66  bool mTFlag,mTMin,mTMax;
     67  int_8 mBadFlag;
     68  r_8 mValMin,mValMax;
    5069};
    5170
Note: See TracChangeset for help on using the changeset viewer.