Changeset 3783 in Sophya for trunk/Cosmo/RadioBeam/mdish.h
- Timestamp:
- Jun 16, 2010, 12:23:38 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cosmo/RadioBeam/mdish.h
r3769 r3783 14 14 #include "genericfunc.h" // SOPHYA .h 15 15 #include "array.h" // SOPHYA .h 16 #include " histats.h" // SOPHYA .h16 #include "qhist.h" 17 17 18 #ifndef DeuxPI 18 19 #define DeuxPI 2.*M_PI 20 #endif 19 21 20 22 // -- Four2DResponse : Reponse instrumentale ds le plan k_x,k_y (angles theta,phi) … … 78 80 }; 79 81 80 // -----------------------------------81 // -- Classe ressemblant a un histo 2D82 class QHis2D {83 public:84 QHis2D();85 QHis2D(r_8 xMin,r_8 xMax,int_4 nxBin,r_8 yMin,r_8 yMax,int_4 nyBin);86 void Define(r_8 xMin,r_8 xMax,int_4 nxBin,r_8 yMin,r_8 yMax,int_4 nyBin);87 double Add(r_8 x, r_8 y, r_8 w, bool fgfh);88 void SetZeroBin(r_8 x=0, r_8 y=0);89 inline double WBinX() { return dxb; }90 inline double WBinY() { return dyb; }91 Histo2D Convert();92 93 r_8 xmin,xmax,ymin,ymax;94 r_8 dxb,dyb;95 sa_size_t nx,ny;96 sa_size_t ixb0, jyb0;97 TArray<r_8> aw;98 double sumw0;99 };100 82 101 83 // -------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.