Changeset 3783 in Sophya for trunk/Cosmo/RadioBeam/mdish.h


Ignore:
Timestamp:
Jun 16, 2010, 12:23:38 AM (15 years ago)
Author:
ansari
Message:

Ajout des programmes calcpk.cc calcpk2.cc syncube.cc tjyk.cc (voir fichier README) Reza 15/06/2010

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cosmo/RadioBeam/mdish.h

    r3769 r3783  
    1414#include "genericfunc.h"   // SOPHYA .h 
    1515#include "array.h"         // SOPHYA .h 
    16 #include "histats.h"       // SOPHYA .h
     16#include "qhist.h"
    1717
     18#ifndef DeuxPI
    1819#define DeuxPI 2.*M_PI
     20#endif
    1921
    2022// -- Four2DResponse : Reponse instrumentale ds le plan k_x,k_y (angles theta,phi)
     
    7880};
    7981
    80 // -----------------------------------
    81 // -- Classe ressemblant a un histo 2D
    82 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 };
    10082
    10183// -------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.