Changeset 7662
- Timestamp:
- 04/27/06 06:19:56 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7657 r7662 18 18 19 19 -*-*- 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 20 27 21 28 2006/04/26 Daniela Dorner -
trunk/MagicSoft/Mars/datacenter/macros/fillstar.C
r7660 r7662 214 214 } 215 215 216 Double_t numstarmean = g ? g->GetMean(2) : -1;216 Double_t numstarmean = g ? TMath::Median(g->GetN(), g->GetY()) : -1; 217 217 TString numstarsmean = Form("%5.1f", numstarmean); 218 218 Double_t numstarrms = g ? g->GetRMS(2) : -1; … … 226 226 } 227 227 228 Double_t brightnessmean = g ? g->GetMean(2) : -1;228 Double_t brightnessmean = g ? TMath::Median(g->GetN(), g->GetY()) : -1; 229 229 TString skybrightnessmean = Form("%5.1f", brightnessmean); 230 230 Double_t brightnessrms = g ? g->GetRMS(2) : -1;
Note:
See TracChangeset
for help on using the changeset viewer.