Index: trunk/SophyaLib/HiStats/hisprof.h
===================================================================
--- trunk/SophyaLib/HiStats/hisprof.h	(revision 943)
+++ trunk/SophyaLib/HiStats/hisprof.h	(revision 958)
@@ -83,6 +83,10 @@
 
 
+/*! \ingroup HiStats \fn operator<<(POuttPersist&, HProf)
+  \brief Persistance management */
 inline POutPersist& operator << (POutPersist& os, HProf & obj)
 { ObjFileIO<HProf> fio(&obj);  fio.Write(os);  return(os); }
+/*! \ingroup HiStats \fn operator>>(PInPersist&, HProf)
+  \brief Persistance management */
 inline PInPersist& operator >> (PInPersist& is, HProf & obj)
 { ObjFileIO<HProf> fio(&obj);  fio.Read(is);  return(is); }
Index: trunk/SophyaLib/HiStats/histos.cc
===================================================================
--- trunk/SophyaLib/HiStats/histos.cc	(revision 943)
+++ trunk/SophyaLib/HiStats/histos.cc	(revision 958)
@@ -1,4 +1,4 @@
 //
-// $Id: histos.cc,v 1.4 2000-04-15 11:06:27 ansari Exp $
+// $Id: histos.cc,v 1.5 2000-04-18 13:38:16 ansari Exp $
 //
 
@@ -432,5 +432,5 @@
 void Histo::PutValue(TVector<r_8> &v, int ierr)
 {
-if(v.NElts()<bins) THROW(sizeMismatchErr);
+if(v.NElts()<(uint_4) bins) THROW(sizeMismatchErr);
 for(int i=0;i<bins;i++) {
   data[i] = v(i);
@@ -445,5 +445,5 @@
 void Histo::PutValueAdd(TVector<r_8> &v, int ierr)
 {
-if(v.NElts()<bins) THROW(sizeMismatchErr);
+if(v.NElts()<(uint_4) bins) THROW(sizeMismatchErr);
 for(int i=0;i<bins;i++) {
   data[i] += v(i);
@@ -458,5 +458,5 @@
 void Histo::PutError2(TVector<r_8> &v)
 {
-if(v.NElts()<bins) THROW(sizeMismatchErr);
+if(v.NElts()<(uint_4) bins) THROW(sizeMismatchErr);
 if(!err2) Errors();
 for(int i=0;i<bins;i++) err2[i] = v(i);
@@ -469,5 +469,5 @@
 void Histo::PutError2Add(TVector<r_8> &v)
 {
-if(v.NElts()<bins) THROW(sizeMismatchErr);
+if(v.NElts()<(uint_4) bins) THROW(sizeMismatchErr);
 if(!err2) Errors();
 for(int i=0;i<bins;i++) if(v(i)>0.) err2[i] += v(i);
@@ -480,5 +480,5 @@
 void Histo::PutError(TVector<r_8> &v)
 {
-if(v.NElts()<bins) THROW(sizeMismatchErr);
+if(v.NElts()<(uint_4) bins) THROW(sizeMismatchErr);
 if(!err2) Errors();
 for(int i=0;i<bins;i++)
@@ -1360,5 +1360,5 @@
   double f = (double) (*this)(i);
   double saf = sqrt(fabs((double) f)); if(saf<1.) saf=1.;
-  double e;
+  double e=0.;
   if(typ_err==0)      {if(HasErrors()) e=Error(i); else e=1.;}
   else if(typ_err==1) {if(HasErrors()) e=Error(i); else e=saf;}
Index: trunk/SophyaLib/HiStats/histos.h
===================================================================
--- trunk/SophyaLib/HiStats/histos.h	(revision 943)
+++ trunk/SophyaLib/HiStats/histos.h	(revision 958)
@@ -1,5 +1,5 @@
 // This may look like C code, but it is really -*- C++ -*-
 //
-// $Id: histos.h,v 1.5 2000-04-15 11:06:28 ansari Exp $
+// $Id: histos.h,v 1.6 2000-04-18 13:38:17 ansari Exp $
 //
 
@@ -179,6 +179,10 @@
 
 
+/*! \ingroup HiStats \fn operator<<(POuttPersist&,Histo)
+  \brief Persistance management */
 inline POutPersist& operator << (POutPersist& os, Histo & obj)
 { ObjFileIO<Histo> fio(&obj);  fio.Write(os);  return(os); }
+/*! \ingroup HiStats \fn operator<<(POuttPersist&,Histo)
+  \brief Persistance management */
 inline PInPersist& operator >> (PInPersist& is, Histo & obj)
 { ObjFileIO<Histo> fio(&obj);  fio.Read(is);  return(is); }
Index: trunk/SophyaLib/HiStats/histos2.cc
===================================================================
--- trunk/SophyaLib/HiStats/histos2.cc	(revision 943)
+++ trunk/SophyaLib/HiStats/histos2.cc	(revision 958)
@@ -666,5 +666,5 @@
 {
 int i,j;
-if(v.NRows()!=nx || v.NCol()!=ny) THROW(sizeMismatchErr);
+if(v.NRows()!=(uint_4)nx || v.NCol()!=(uint_4)ny) THROW(sizeMismatchErr);
 for(i=0;i<nx;i++) for(j=0;j<ny;j++) {
   (*this)(i,j) = v(i,j);
@@ -680,5 +680,5 @@
 {
 int i,j;
-if(v.NRows()!=nx || v.NCol()!=ny) THROW(sizeMismatchErr);
+if(v.NRows()!=(uint_4)nx || v.NCol()!=(uint_4)ny) THROW(sizeMismatchErr);
 for(i=0;i<nx;i++) for(j=0;j<ny;j++) {
   (*this)(i,j) += v(i,j);
@@ -695,5 +695,5 @@
 {
 int i,j;
-if(v.NRows()!=nx || v.NCol()!=ny) THROW(sizeMismatchErr);
+if(v.NRows()!=(uint_4)nx || v.NCol()!=(uint_4)ny) THROW(sizeMismatchErr);
 if(!err2) Errors();
 for(i=0;i<nx;i++) for(j=0;j<ny;j++) Error2(i,j) = v(i,j);
@@ -708,5 +708,5 @@
 {
 int i,j;
-if(v.NRows()!=nx || v.NCol()!=ny) THROW(sizeMismatchErr);
+if(v.NRows()!=(uint_4)nx || v.NCol()!=(uint_4)ny) THROW(sizeMismatchErr);
 if(!err2) Errors();
 for(i=0;i<nx;i++) for(j=0;j<ny;j++)
@@ -721,5 +721,5 @@
 {
 int i,j;
-if(v.NRows()!=nx || v.NCol()!=ny) THROW(sizeMismatchErr);
+if(v.NRows()!=(uint_4)nx || v.NCol()!=(uint_4)ny) THROW(sizeMismatchErr);
 if(!err2) Errors();
 for(i=0;i<nx;i++) for(j=0;j<ny;j++)
@@ -1046,5 +1046,5 @@
   double f = (double) (*this)(i,j);
   double saf = sqrt(fabs(f)); if(saf<1.) saf=1.;
-  double e;
+  double e=0.;
   if(typ_err==0)      {if(HasErrors()) e=Error(i,j); else e=1.;}
   else if(typ_err==1) {if(HasErrors()) e=Error(i,j); else e=saf;}
Index: trunk/SophyaLib/HiStats/histos2.h
===================================================================
--- trunk/SophyaLib/HiStats/histos2.h	(revision 943)
+++ trunk/SophyaLib/HiStats/histos2.h	(revision 958)
@@ -249,6 +249,10 @@
 // Classe pour la gestion de persistance
 
+/*! \ingroup HiStats \fn operator<<(POuttPersist&,Histo2D)
+  \brief Persistance management */
 inline POutPersist& operator << (POutPersist& os, Histo2D & obj)
 { ObjFileIO<Histo2D> fio(&obj);  fio.Write(os);  return(os); }
+/*! \ingroup HiStats \fn operator<<(POuttPersist&,Histo2D)
+  \brief Persistance management */
 inline PInPersist& operator >> (PInPersist& is, Histo2D & obj)
 { ObjFileIO<Histo2D> fio(&obj);  fio.Read(is);  return(is); }
