Changeset 5163 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
10/03/04 20:58:45 (20 years ago)
Author:
hbartko
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mtemp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mtemp/Changelog

    r5127 r5163  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     212004/10/03: Hendrik Bartko
     22   * mtemp/mmpi/macros/calculate_of_weights.C
     23     - fixed a bug in the histogram naming
     24
    2025
    21262004/09/24: Hendrik Bartko
  • trunk/MagicSoft/Mars/mtemp/mmpi/macros/calculate_of_weights.C

    r5127 r5163  
    1010
    1111  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));
    1414  }
    1515 
Note: See TracChangeset for help on using the changeset viewer.