Changeset 2058 in Sophya for trunk/ArchTOIPipe/ProcWSophya
- Timestamp:
- Jun 18, 2002, 2:21:09 PM (23 years ago)
- Location:
- trunk/ArchTOIPipe/ProcWSophya
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/ProcWSophya/toi2map.cc
r2054 r2058 3 3 // Christophe Magneville 4 4 // Reza Ansari 5 // $Id: toi2map.cc,v 1.2 6 2002-06-11 17:14:25ansari Exp $5 // $Id: toi2map.cc,v 1.27 2002-06-18 12:21:08 ansari Exp $ 6 6 7 7 #include "machdefs.h" … … 20 20 SetCoorIn(); 21 21 SetCoorMap(); 22 SetCalibrationFactor(); 22 23 SetTestFlag(); 23 24 SetTestMin(); … … 195 196 int_4 ipix = mMap->PixIndexSph(theta,phi); 196 197 if ((ipix < 0) || (ipix >= mMap->NbPixels()) ) continue; 197 (*mMap)(ipix) += bolo ;198 (*mMap)(ipix) += bolo*mCalibFactor; 198 199 ((*mWMap)(ipix)) += 1; 199 200 mNSnFill++; -
trunk/ArchTOIPipe/ProcWSophya/toi2map.h
r2012 r2058 5 5 // Christophe Magneville 6 6 // Reza Ansari 7 // $Id: toi2map.h,v 1.1 5 2002-05-16 20:39:53ansari Exp $7 // $Id: toi2map.h,v 1.16 2002-06-18 12:21:09 ansari Exp $ 8 8 9 9 #ifndef TOI2MAP_H … … 58 58 {mTypCoorMap = DecodeTypAstro(ctype);} 59 59 60 // Facteur de calibration 61 inline void SetCalibrationFactor(double fac = 1.) 62 { mCalibFactor = fac; } 63 inline double GetCalibrationFactor() 64 { return mCalibFactor; } 65 60 66 // Test on flag value ? if yes, BAD sample have flag matching mBadFlag 61 67 inline void SetTestFlag(bool tflg=false, uint_8 badflg=FlgToiAll) … … 81 87 double mActualYear; 82 88 89 double mCalibFactor; 83 90 bool mTFlag,mTMin,mTMax; 84 91 uint_8 mBadFlag;
Note:
See TracChangeset
for help on using the changeset viewer.