Changeset 7660 for trunk/MagicSoft/Mars/datacenter/macros
- Timestamp:
- 04/26/06 11:17:05 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/macros/fillstar.C
r7657 r7660 211 211 { 212 212 cout << "WARNING - Reading of NumStars failed." << endl; 213 return 2;214 } 215 216 Double_t numstarmean = g ->GetMean(2);213 // return 2; 214 } 215 216 Double_t numstarmean = g ? g->GetMean(2) : -1; 217 217 TString numstarsmean = Form("%5.1f", numstarmean); 218 Double_t numstarrms = g ->GetRMS(2);218 Double_t numstarrms = g ? g->GetRMS(2) : -1; 219 219 TString numstarsrms = Form("%5.1f", numstarrms); 220 220 … … 223 223 { 224 224 cout << "WARNING - Reading of SkyBrightness failed." << endl; 225 return 2;226 } 227 228 Double_t brightnessmean = g ->GetMean(2);225 // return 2; 226 } 227 228 Double_t brightnessmean = g ? g->GetMean(2) : -1; 229 229 TString skybrightnessmean = Form("%5.1f", brightnessmean); 230 Double_t brightnessrms = g ->GetRMS(2);230 Double_t brightnessrms = g ? g->GetRMS(2) : -1; 231 231 TString skybrightnessrms = Form("%5.1f", brightnessrms); 232 232
Note:
See TracChangeset
for help on using the changeset viewer.