| 
            Last change
 on this file since 3191 was             3145, checked in by ansari, 19 years ago           | 
        
        
          | 
             
1/ Petites modifs ds PIHisto et le P1DHistoWrapper - en particulier decodage des options et choix renvoi BinContent/Error/NEntries 
2/ Codage Wrapper pour Histo-2D et modifs PIHisto2D 
3/ Suppression des adaptateurs de tableaux PI des Histos2D ds pipodrw.h .cc, les 
Wrappers d'histos heritant de P1D,P2DArrayAdapter 
4/ Mise a jour Makefile et smakefile 
 
Reza , 18/01/2007 
 
 
           | 
        
        
          | 
            File size:
            1.6 KB
           | 
        
      
      
| Rev | Line |   | 
|---|
| [165] | 1 | // This may look like C code, but it is really -*- C++ -*-
 | 
|---|
 | 2 | //  Adaptateurs et Drawers divers pour Outils PEIDA++
 | 
|---|
 | 3 | //                             R. Ansari  06-08/98
 | 
|---|
 | 4 | // LAL (Orsay) / IN2P3-CNRS  DAPNIA/SPP (Saclay) / CEA
 | 
|---|
 | 5 | 
 | 
|---|
 | 6 | #ifndef PIPODRW_H_SEEN
 | 
|---|
 | 7 | #define PIPODRW_H_SEEN
 | 
|---|
 | 8 | 
 | 
|---|
| [495] | 9 | #include "machdefs.h"
 | 
|---|
| [165] | 10 | #include "pidrawer.h"
 | 
|---|
 | 11 | #include "parradapter.h"
 | 
|---|
 | 12 | #include "histos2.h"
 | 
|---|
| [3139] | 13 | #include "hist2err.h"
 | 
|---|
| [165] | 14 | 
 | 
|---|
| [495] | 15 | #ifdef SANS_EVOLPLANCK
 | 
|---|
 | 16 | class GeneralFunction;
 | 
|---|
 | 17 | #else
 | 
|---|
| [551] | 18 | namespace SOPHYA {class GeneralFunction;} 
 | 
|---|
| [495] | 19 | #endif
 | 
|---|
| [165] | 20 | 
 | 
|---|
 | 21 | class PIGFFDrawer : public PIDrawer {
 | 
|---|
 | 22 | public:
 | 
|---|
 | 23 |                      PIGFFDrawer(GeneralFunction*);
 | 
|---|
 | 24 |   virtual           ~PIGFFDrawer();
 | 
|---|
 | 25 |   
 | 
|---|
| [205] | 26 |   virtual void       Draw(PIGraphicUC* g, double xmin, double ymin, double xmax, double ymax);
 | 
|---|
| [165] | 27 |   virtual void       SetParms(double const*);
 | 
|---|
 | 28 | protected:
 | 
|---|
 | 29 |   GeneralFunction*    mFunc;
 | 
|---|
 | 30 |   int                 mNParms;
 | 
|---|
 | 31 |   double*             mParms;
 | 
|---|
 | 32 | };
 | 
|---|
 | 33 | 
 | 
|---|
 | 34 | 
 | 
|---|
 | 35 | 
 | 
|---|
| [584] | 36 | #ifdef SANS_EVOLPLANCK
 | 
|---|
 | 37 | #include "cvector.h"
 | 
|---|
 | 38 | #include "matrix.h"
 | 
|---|
 | 39 | 
 | 
|---|
 | 40 | // Adaptateur de vecteurs Peida++ a P1DArrayAdapter
 | 
|---|
 | 41 | class POVectorAdapter : public P1DArrayAdapter {
 | 
|---|
 | 42 | public :
 | 
|---|
 | 43 |                   POVectorAdapter(Vector* v, bool ad=false);
 | 
|---|
 | 44 |   virtual         ~POVectorAdapter();
 | 
|---|
 | 45 |   virtual double  Value(int i);
 | 
|---|
 | 46 | 
 | 
|---|
 | 47 | protected:
 | 
|---|
 | 48 |   bool aDel;
 | 
|---|
 | 49 |   Vector* mVec;
 | 
|---|
 | 50 | };
 | 
|---|
 | 51 | 
 | 
|---|
| [165] | 52 | // Adaptateur de matrice Peida++ a P2DArrayAdapter
 | 
|---|
 | 53 | // Attention MatrixAdapter(X=Colonne, Y= Row) = Matrix(row, col)  
 | 
|---|
 | 54 | class POMatrixAdapter :  public P2DArrayAdapter {
 | 
|---|
 | 55 | public :
 | 
|---|
 | 56 |                   POMatrixAdapter(Matrix* mtx, bool ad=false);
 | 
|---|
 | 57 |   virtual         ~POMatrixAdapter();
 | 
|---|
 | 58 | 
 | 
|---|
| [205] | 59 |   virtual double  Value(int ix, int iy);   
 | 
|---|
| [165] | 60 | 
 | 
|---|
 | 61 | protected:
 | 
|---|
 | 62 |   bool aDel;
 | 
|---|
 | 63 |   Matrix* mMtx;
 | 
|---|
 | 64 | };
 | 
|---|
 | 65 | 
 | 
|---|
| [584] | 66 | #endif   // SANS_EVOLPLANCK
 | 
|---|
| [165] | 67 | 
 | 
|---|
 | 68 | #endif
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.