Changeset 5307 for trunk/MagicSoft/Mars/mhist
- Timestamp:
- 10/22/04 15:59:02 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHCamera.cc
r5298 r5307 1159 1159 const Double_t error = fSumw2.fArray[bin]/GetEntries(); 1160 1160 const Double_t val = fArray[bin]/GetEntries(); 1161 rc = TMath::Sqrt(error - val*val);1161 rc = val*val>error ? 0 : TMath::Sqrt(error - val*val); 1162 1162 } 1163 1163 else 1164 {1165 1164 rc = TH1D::GetBinError(bin); 1166 }1167 1165 1168 1166 return Profile(rc);
Note:
See TracChangeset
for help on using the changeset viewer.