Changeset 7756 for trunk/MagicSoft/Mars/datacenter
- Timestamp:
- 06/28/06 08:55:29 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter/macros
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/macros/fillstar.C
r7681 r7756 214 214 } 215 215 216 Double_t numstarme an= g ? TMath::Median(g->GetN(), g->GetY()) : -1;217 TString numstarsme an = Form("%5.1f", numstarmean);216 Double_t numstarmed = g ? TMath::Median(g->GetN(), g->GetY()) : -1; 217 TString numstarsmed = Form("%5.1f", numstarmed); 218 218 Double_t numstarrms = g ? g->GetRMS(2) : -1; 219 219 TString numstarsrms = Form("%5.1f", numstarrms); 220 220 221 g = (TGraph*)arr.FindObjectInCanvas("NumStarsCor", "TGraph", "MHPointing"); 222 if (!g) 223 { 224 cout << "WARNING - Reading of NumStarsCor failed." << endl; 225 // return 2; 226 } 227 228 Double_t numcormed = g ? TMath::Median(g->GetN(), g->GetY()) : -1; 229 TString numcorsmed = Form("%5.1f", numcormed); 230 Double_t numcorrms = g ? g->GetRMS(2) : -1; 231 TString numcorsrms = Form("%5.1f", numcorrms); 232 221 233 g = (TGraph*)arr.FindObjectInCanvas("Brightness", "TGraph", "MHPointing"); 222 234 if (!g) … … 226 238 } 227 239 228 Double_t brightnessme an= g ? TMath::Median(g->GetN(), g->GetY()) : -1;229 TString skybrightnessme an = Form("%5.1f", brightnessmean);240 Double_t brightnessmed = g ? TMath::Median(g->GetN(), g->GetY()) : -1; 241 TString skybrightnessmed = Form("%5.1f", brightnessmed); 230 242 Double_t brightnessrms = g ? g->GetRMS(2) : -1; 231 243 TString skybrightnessrms = Form("%5.1f", brightnessrms); … … 252 264 cout << " Rate after ImgCl [Hz] " << datarate << endl; 253 265 cout << " Maximum Humidity [%] " << maxhum << endl; 254 cout << " Number of Stars " << numstarsmean << " +/- " << numstarsrms << endl; 255 cout << " Skybrightness " << skybrightnessmean << " +/- " << skybrightnessrms << endl; 266 cout << " Number of Stars " << numstarsmed << " +/- " << numstarsrms << endl; 267 cout << " Number of cor. Stars " << numcormed << " +/- " << numcorrms << endl; 268 cout << " Skybrightness " << skybrightnessmed << " +/- " << skybrightnessrms << endl; 256 269 257 270 TString query; … … 268 281 " fDataRate=%d, " 269 282 " fMaxHumidity=%s ," 270 " fNumStarsMe an=%s ,"283 " fNumStarsMed=%s ," 271 284 " fNumStarsRMS=%s ," 272 " fBrightnessMean=%s ," 285 " fNumStarsCorMed=%s ," 286 " fNumStarsCorRMS=%s ," 287 " fBrightnessMed=%s ," 273 288 " fBrightnessRMS=%s ," 274 289 " fInhomogeneity=%s ", … … 277 292 muonrate.Data(), PSF.Data(), 278 293 datarate, maxhum.Data(), 279 numstarsmean.Data(), numstarsrms.Data(), 280 skybrightnessmean.Data(), skybrightnessrms.Data(), 294 numstarsmed.Data(), numstarsrms.Data(), 295 numcorsmed.Data(), numcorsrms.Data(), 296 skybrightnessmed.Data(), skybrightnessrms.Data(), 281 297 inhomogen.Data()); 282 298 } … … 292 308 " fDataRate=%d, " 293 309 " fMaxHumidity=%s, " 294 " fNumStarsMe an=%s ,"310 " fNumStarsMed=%s ," 295 311 " fNumStarsRMS=%s ," 312 " fNumStarsCorMed=%s ," 313 " fNumStarsCorRMS=%s ," 296 314 " fBrightnessMean=%s ," 297 315 " fBrightnessRMS=%s ," … … 302 320 muonrate.Data(), PSF.Data(), 303 321 datarate, maxhum.Data(), 304 numstarsmean.Data(), numstarsrms.Data(), 305 skybrightnessmean.Data(), skybrightnessrms.Data(), 322 numstarsmed.Data(), numstarsrms.Data(), 323 numcorsmed.Data(), numcorsrms.Data(), 324 skybrightnessmed.Data(), skybrightnessrms.Data(), 306 325 inhomogen.Data(), seq); 307 326 } -
trunk/MagicSoft/Mars/datacenter/macros/plotdb.C
r7703 r7756 449 449 450 450 plot.SetDescription("Median No. Stars recognized by the starguider;N", "StarsMed"); 451 plot.Plot("Star.fNumStarsMe an",0, 70, 1);451 plot.Plot("Star.fNumStarsMed", 0, 70, 1); 452 452 plot.SetDescription("RMS No. Stars recognized by the starguider;\\sigma_{N}", "StarsRMS"); 453 453 plot.Plot("Star.fNumStarsRMS", 0, 25, 1); 454 plot.SetDescription("Median No. Stars correlated by the starguider;N", "StarsMed"); 455 plot.Plot("Star.fNumCorMed", 0, 70, 1); 456 plot.SetDescription("RMS No. Stars correlated by the starguider;\\sigma_{N}", "StarsRMS"); 457 plot.Plot("Star.fNumCorRMS", 0, 25, 1); 454 458 plot.SetDescription("Median skbrightess measured by the starguider;B [au]", "BrightMed"); 455 459 plot.Plot("Star.fBrightnessMean", 0, 111, 1);
Note:
See TracChangeset
for help on using the changeset viewer.