Changeset 2819 in Sophya for trunk/SophyaLib
- Timestamp:
- Aug 22, 2005, 5:28:57 PM (20 years ago)
- Location:
- trunk/SophyaLib/HiStats
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/HiStats/histerr.cc
r2630 r2819 150 150 mData[i] /= mNData[i]; 151 151 mErr2[i] /= mNData[i]; 152 } 153 return; 154 } 155 156 /********* Methode *********/ 157 /*! 158 Recompute back the original HistoErr before ToCorrel action 159 */ 160 void HistoErr::FromCorrel(void) 161 { 162 if(mBins<1) return; 163 for(int_4 i=0;i<mBins;i++) { 164 if(mNData[i]<1.) continue; 165 mData[i] *= mNData[i]; 166 mErr2[i] *= mNData[i]; 152 167 } 153 168 return; -
trunk/SophyaLib/HiStats/histerr.h
r2630 r2819 67 67 //! Compute the correlation histogram 68 68 void ToCorrel(void); 69 void FromCorrel(void); 69 70 70 71 //! Fill an histogram with an histogram
Note:
See TracChangeset
for help on using the changeset viewer.