Changeset 2630 in Sophya for trunk/SophyaLib/HiStats/histos.h
- Timestamp:
- Oct 26, 2004, 6:26:39 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/HiStats/histos.h
r2628 r2630 1 1 // This may look like C code, but it is really -*- C++ -*- 2 2 // 3 // $Id: histos.h,v 1. 19 2004-10-13 16:41:33cmv Exp $3 // $Id: histos.h,v 1.20 2004-10-26 16:26:39 cmv Exp $ 4 4 // 5 5 … … 34 34 // UPDATING or SETTING 35 35 void Zero(); 36 void Add(r_8 x, r_8 w = 1.); 37 void AddBin(int_4 numBin, r_8 w = 1.); 38 void SetBin(r_8 x, r_8 w = 1.); 39 void SetBin(int_4 numBin, r_8 w = 1.); 36 void Add(r_8 x, r_8 w); 37 inline void Add(r_8 x) {Add(x,1.);} 38 void AddBin(int_4 numBin, r_8 w); 39 inline void AddBin(int_4 numBin) {AddBin(numBin,1.);} 40 void SetBin(r_8 x, r_8 w); 41 inline void SetBin(r_8 x) {SetBin(x,1.);} 42 void SetBin(int_4 numBin, r_8 w); 43 inline void SetBin(int_4 numBin) {SetBin(numBin,1.);} 40 44 void SetErr2(r_8 x, r_8 e2); 41 45 void SetErr2(int_4 numBin, r_8 e2);
Note:
See TracChangeset
for help on using the changeset viewer.