Changeset 8263 for trunk/MagicSoft
- Timestamp:
- 01/23/07 13:17:49 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/MHCollectionArea.cc
r8066 r8263 130 130 131 131 // "b" option: calculate binomial errors 132 fHEnergy.Divide(hsel, hall, totalarea, 1, "b"); 132 // Do not use totalarea inside the binomial error calculation: 133 // it is not a weight. 134 fHEnergy.Divide(hsel, hall, 1, 1, "b"); 133 135 #if ROOT_VERSION_CODE < ROOT_VERSION(5,13,04) 134 MH::SetBinomialErrors(fHEnergy, *hsel, *hall , totalarea, 1);136 MH::SetBinomialErrors(fHEnergy, *hsel, *hall); 135 137 #endif 138 fHEnergy.Scale(totalenergy); 136 139 137 140 delete hsel;
Note:
See TracChangeset
for help on using the changeset viewer.