Ignore:
Timestamp:
Jul 7, 2000, 10:50:03 AM (25 years ago)
Author:
ercodmgr
Message:

cmv 7/7/2000

nomhistadapter.cc :

GetCopyObj() on fait un UpdateHisto() si c'est un HProf

servnobjm.cc :

ProjectHProf() on fait un UpdateHisto()

pihisto.cc :

Draw() on fait un UpdateHisto() si c'est un HProf

pawexecut.cc :

h/integ, h/deriv, h/rebin, h/cadd, h/cmult NON valable pour un HProf
h/oper teste et h3->Zero() ENLEVE pour permettre

h/oper @ h1 h3 h3
h/oper @ h3 h3 h3 ... etc...

cmv 7/7/2000

File:
1 edited

Legend:

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

    r719 r1057  
    3939{
    4040HProf * hp = dynamic_cast<HProf *>(mHis);
    41 if (hp == NULL)   return( new Histo(*mHis) );
    42 else return( new HProf(*hp) );
     41if (hp == NULL) return( new Histo(*mHis) );
     42// C'est un HProf, il faut l'updater si on le copie
     43//   car seule la partie "Histo" est copiee!
     44if( !(hp->IsOk()) ) hp->UpdateHisto();
     45return( new HProf(*hp) );
    4346}
    4447
Note: See TracChangeset for help on using the changeset viewer.