Changeset 1135 in Sophya
- Timestamp:
- Aug 23, 2000, 3:56:27 PM (25 years ago)
- Location:
- trunk/SophyaLib/HiStats
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/HiStats/hisprof.cc
r1092 r1135 102 102 /********* Methode *********/ 103 103 /*! 104 Calcule la partie histogramme du profile si elle n'est pas a jour. 105 */ 106 void HProf::UpdateHisto(bool force) const 107 { 108 if(!Ok || force) updatehisto(); 109 } 110 111 /********* Methode *********/ 112 /*! 104 113 Remise a zero 105 114 */ … … 112 121 Histo::Zero(); 113 122 } 123 114 124 115 125 /********* Methode *********/ -
trunk/SophyaLib/HiStats/hisprof.h
r1109 r1135 23 23 24 24 // UPDATING or SETTING 25 //! Calcul la partie histogramme du profile si elle n'est pas a jour. 26 virtual inline void UpdateHisto(bool force=false) const 27 {if(!Ok || force) updatehisto();} 25 virtual void UpdateHisto(bool force=false) const; 26 28 27 void SetErrOpt(bool spread = true); 29 28 void Zero(); -
trunk/SophyaLib/HiStats/histos.cc
r1109 r1135 1 1 // 2 // $Id: histos.cc,v 1.1 1 2000-07-28 16:29:54ansari Exp $2 // $Id: histos.cc,v 1.12 2000-08-23 13:56:27 ansari Exp $ 3 3 // 4 4 … … 500 500 { 501 501 SetErr2(numBin, e*e); 502 } 503 504 /********* Methode *********/ 505 /*! 506 Methode virtuelle de mise a jour - Ne fait rien pour Histo - Voir HProf 507 */ 508 void Histo::UpdateHisto(bool force) const 509 { 510 return; 502 511 } 503 512 -
trunk/SophyaLib/HiStats/histos.h
r1109 r1135 1 1 // This may look like C code, but it is really -*- C++ -*- 2 2 // 3 // $Id: histos.h,v 1.1 2 2000-07-28 16:29:55ansari Exp $3 // $Id: histos.h,v 1.13 2000-08-23 13:56:27 ansari Exp $ 4 4 // 5 5 … … 42 42 void SetErr(r_8 x, r_8 e); 43 43 void SetErr(int_4 numBin, r_8 e); 44 virtual inline void UpdateHisto() const { return;}44 virtual void UpdateHisto(bool force=false) const; 45 45 46 46 // Operators -
trunk/SophyaLib/HiStats/xntuple.cc
r1046 r1135 295 295 296 296 // on ferme le fichier de swap 297 if(swf) fclose(swf) ; swf = NULL ; 298 remove(swf_name) ; 299 delete swf_name ; swf_name = NULL ; 300 297 if(swf) { 298 fclose(swf) ; swf = NULL ; 299 remove(swf_name) ; 300 delete swf_name ; swf_name = NULL ; 301 } 301 302 // tout le monde remis a 0 302 303 mNEnt = 0 ; mNBlk = 0 ;
Note:
See TracChangeset
for help on using the changeset viewer.