Changeset 1056 in Sophya for trunk/SophyaLib/HiStats/histos2.cc


Ignore:
Timestamp:
Jul 7, 2000, 10:41:11 AM (25 years ago)
Author:
ansari
Message:

cmv 7/7/2000

hisprof.cc,h:

fonction IsOk()
GetMean -> GetValue (mauvais nom)
float Error2() -> double Error2()
nouveau: GetError(TVector<r_8>& v)
HProf::PrintF() sur-ecriture de Histo::PrintF
protection dans createur par copie dans alloc

SumY... pour le cas ou H.bins==0

protection dans UpdateHisto pour HProf cree par defaut (bins==0)
Dans WriteSelf UpdateHisto appele que si necessaire (IsOk()?)

histos2.cc : le Print() dit si les erreurs ont ete demandees
histos.cc,h:

protection dans createur par copie dans alloc

pour le cas ou H.bins==0

protection dans Zero() pour Histo cree par defaut (bins==0)
protection dans operator=() pour Histo cree par defaut (bins==0)
le Print() dit si les erreurs ont ete demandees

cmv 7/7/2000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/HiStats/histos2.cc

    r1053 r1056  
    10021002void Histo2D::PrintStatus()
    10031003{
    1004 printf("~Histo::Print    nHist=%g nEntries=%d\n",nHist,nEntries);
     1004printf("~Histo::Print    nHist=%g nEntries=%d",nHist,nEntries);
     1005if(HasErrors()) printf("  Errors=1\n"); else printf("  Errors=0\n");
    10051006printf("over: [ %g %g %g // %g %g %g  // %g %g %g ]\n"
    10061007      ,over[2][0],over[2][1],over[2][2]
Note: See TracChangeset for help on using the changeset viewer.