Changeset 7662


Ignore:
Timestamp:
04/27/06 06:19:56 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7657 r7662  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2006/04/27 Thomas Bretz
     22
     23   * datacenter/macros/fillstar.C:
     24     - replaced the mean by the median
     25
     26
    2027
    2128 2006/04/26 Daniela Dorner
  • trunk/MagicSoft/Mars/datacenter/macros/fillstar.C

    r7660 r7662  
    214214    }
    215215
    216     Double_t numstarmean = g ? g->GetMean(2) : -1;
     216    Double_t numstarmean = g ? TMath::Median(g->GetN(), g->GetY()) : -1;
    217217    TString numstarsmean = Form("%5.1f", numstarmean);
    218218    Double_t numstarrms = g ? g->GetRMS(2) : -1;
     
    226226    }
    227227
    228     Double_t brightnessmean = g ? g->GetMean(2) : -1;
     228    Double_t brightnessmean = g ? TMath::Median(g->GetN(), g->GetY()) : -1;
    229229    TString skybrightnessmean = Form("%5.1f", brightnessmean);
    230230    Double_t brightnessrms = g ? g->GetRMS(2) : -1;
Note: See TracChangeset for help on using the changeset viewer.