Changeset 2622 in Sophya
- Timestamp:
- Sep 23, 2004, 6:34:30 PM (21 years ago)
- Location:
- trunk/SophyaLib/HiStats
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/HiStats/histats.h
r1203 r2622 6 6 #include "histos2.h" 7 7 #include "hisprof.h" 8 #include "histerr.h" 8 9 #include "ntuple.h" 9 10 #include "xntuple.h" -
trunk/SophyaLib/HiStats/histerr.cc
r2619 r2622 167 167 Each bin content is divided by the number of entries in that bin. 168 168 Each squared error is divided by the number of entries in that bin. 169 The number of entries by bin is set to 1 169 The number of entries by bin is NOT set to 1 (calling ToCorrel 170 many time will change the histogram !) 170 171 */ 171 172 void HistoErr::ToCorrel(void) … … 176 177 mData[i] /= (r_8) mNData[i]; 177 178 mErr2[i] /= (r_8) mNData[i]; 178 mNData[i] = 1;179 179 } 180 180 return;
Note:
See TracChangeset
for help on using the changeset viewer.