Changeset 5163 for trunk/MagicSoft/Mars
- Timestamp:
- 10/03/04 20:58:45 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mtemp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtemp/Changelog
r5127 r5163 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2004/10/03: Hendrik Bartko 22 * mtemp/mmpi/macros/calculate_of_weights.C 23 - fixed a bug in the histogram naming 24 20 25 21 26 2004/09/24: Hendrik Bartko -
trunk/MagicSoft/Mars/mtemp/mmpi/macros/calculate_of_weights.C
r5127 r5163 10 10 11 11 for (int i = 1; i<162;i++){ 12 derivative->SetBinContent(i,(( p->GetBinContent(i+1)-p->GetBinContent(i-1))/0.2));13 derivative->SetBinError(i,(sqrt( p->GetBinError(i+1)*p->GetBinError(i+1)+p->GetBinError(i-1)*p->GetBinError(i-1))/0.2));12 derivative->SetBinContent(i,((shape->GetBinContent(i+1)-shape->GetBinContent(i-1))/0.2)); 13 derivative->SetBinError(i,(sqrt(shape->GetBinError(i+1)*shape->GetBinError(i+1)+shape->GetBinError(i-1)*shape->GetBinError(i-1))/0.2)); 14 14 } 15 15
Note:
See TracChangeset
for help on using the changeset viewer.