Ignore:
Timestamp:
Jan 18, 2007, 5:33:46 PM (19 years ago)
Author:
ansari
Message:

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:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/nomherradapter.cc

    r3139 r3145  
    77
    88#include "nomherradapter.h"
    9 #include "pihisto.h"   /* Wrapper pour HistoErr */
    10 #include "sohiswrap.h"   /* Wrapper pour HistoErr */
     9#include "pihisto.h"   /* Traceur pour Histo1D */
     10#include "pihisto2d.h"   /* Traceur pour Histo2D */
     11#include "sohiswrap.h"   /* Wrapper pour histos (HistoErr Histo2DErr ...) */
    1112
    1213#include "pipodrw.h"
     
    242243PIDrawer* NOMAdapter_Histo2DErr::GetDrawer(string & dopt)
    243244{
    244   /* A_FAIRE_REZA    -> + des options pour choisir val / err2 / nb
    245 dopt = "thinline " + dopt;
    246 return( new PIHisto2DErr(mHerr, false) );
    247   */
    248   return NULL;
     245dopt = "thinline " + dopt; // $CHECK$ CMV : faut-il ajouter thinline
     246return( new PIHisto2D(new Histo2DErrWrapper(mHerr, false), true) );
    249247}
    250248
     
    252250P2DArrayAdapter* NOMAdapter_Histo2DErr::Get2DArray(string & dopt)
    253251{
    254 return ( new POHe2DAdapter(mHerr, false) );
     252// DEL return ( new POHe2DAdapter(mHerr, false) );  -- A SUPPRIMER
     253Histo2DErrWrapper* hwp = new Histo2DErrWrapper(mHerr, false);
     254// $CHECK$ CMV  : pour les options hbincont hbinerr ...
     255// voir NOMAdapter_Histo2D::Get2DArray(string & dopt) ds nomhistadapter.cc
     256 return hwp;
    255257}
    256258
Note: See TracChangeset for help on using the changeset viewer.