Changeset 8312 for trunk/MagicSoft/Mars
- Timestamp:
- 02/09/07 12:40:24 (18 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r8310 r8312 36 36 - replaced all MF by MFDataPhrase 37 37 38 * mjobs/MJCalibrateSignal.cc: 39 - changed the extraction range used in the lo-gains from the 40 hi-gain range to the lo-gain range 41 42 * datacenter/macros/fillstar.C: 43 - added filling the spark rate into the database 44 38 45 39 46 -
trunk/MagicSoft/Mars/NEWS
r8310 r8312 4 4 5 5 - database: Website to plot values from the database has been added. 6 7 - database: The rate of spark events as found by star is now kept 8 and the rate after cleaning is now with spark events subtracted 6 9 7 10 - general: The changes to the interpretation of phrases lead to -
trunk/MagicSoft/Mars/datacenter/macros/fillstar.C
r8203 r8312 125 125 } 126 126 127 MHCamera *hsparks = (MHCamera*)arr.FindObjectInCanvas("Sparks;avg", "MHCamera", "Sparks"); 128 if (!hsparks) 129 { 130 cout << "WARNING - Reading of Sparks failed." << endl; 131 return 2; 132 } 133 127 134 TH2F *hcog = (TH2F*)arr.FindObjectInCanvas("Center", "TH2F", "MHHillas"); 128 135 if (!hcog) … … 197 204 } 198 205 199 Int_t numevents = (int)h->GetEntries(); 206 Int_t numsparks = (int)hsparks->GetEntries() 207 Int_t numevents = (int)h->GetEntries() - numsparks; 200 208 Int_t datarate = (int)(numevents/effon); 209 210 TString sparksrate = Form("%5.2f", numsparks/effon); 201 211 202 212 TGraph *g = (TGraph*)arr.FindObjectInCanvas("Humidity", "TGraph", "MHWeather"); … … 258 268 259 269 cout << "Sequence #" << seq << endl; 260 cout << " Inhomogeneity " << inhomogen << endl; 261 cout << " PSF [mm] " << PSF << endl; 262 cout << " Island Quality " << islands << endl; 263 cout << " Ratio [%] " << ratio << endl; 264 cout << " Muon Number " << num << endl; 265 cout << " EffOnTime [s] " << effontime << endl; 266 cout << " Muon Rate [Hz] " << muonrate << endl; 267 cout << " # of Events " << numevents << endl; 268 cout << " Rate after ImgCl [Hz] " << datarate << endl; 269 cout << " Maximum Humidity [%] " << maxhum << endl; 270 cout << " Number of Stars " << numstarsmed << " +/- " << numstarsrms << endl; 271 cout << " Number of cor. Stars " << numcormed << " +/- " << numcorrms << endl; 272 cout << " Skybrightness " << skybrightnessmed << " +/- " << skybrightnessrms << endl; 270 cout << " Inhomogeneity " << inhomogen << endl; 271 cout << " PSF [mm] " << PSF << endl; 272 cout << " Island Quality " << islands << endl; 273 cout << " Ratio [%] " << ratio << endl; 274 cout << " Muon Number " << num << endl; 275 cout << " EffOnTime [s] " << effontime << endl; 276 cout << " Muon Rate [Hz] " << muonrate << endl; 277 cout << " # of Events (w/o sparks) " << numevents << endl; 278 cout << " # of Sparks " << numsparks << endl; 279 cout << " Rate after ImgCl [Hz] " << datarate << endl; 280 cout << " Rate of sparks [Hz] " << sparkrate << endl; 281 cout << " Maximum Humidity [%] " << maxhum << endl; 282 cout << " Number of Stars " << numstarsmed << " +/- " << numstarsrms << endl; 283 cout << " Number of cor. Stars " << numcormed << " +/- " << numcorrms << endl; 284 cout << " Skybrightness " << skybrightnessmed << " +/- " << skybrightnessrms << endl; 273 285 274 286 TString query; … … 284 296 " fPSF=%s, " 285 297 " fDataRate=%d, " 298 " fSparkRate=%s, " 286 299 " fMaxHumidity=%s ," 287 300 " fNumStarsMed=%s ," … … 295 308 num, effontime, 296 309 muonrate.Data(), PSF.Data(), 297 datarate, maxhum.Data(),310 datarate, sparkrate.Data(), maxhum.Data(), 298 311 numstarsmed.Data(), numstarsrms.Data(), 299 312 numcorsmed.Data(), numcorsrms.Data(), … … 311 324 " fPSF=%s, " 312 325 " fDataRate=%d, " 326 " fSparkRate=%s, " 313 327 " fMaxHumidity=%s, " 314 328 " fNumStarsMed=%s ," … … 323 337 num, effontime, 324 338 muonrate.Data(), PSF.Data(), 325 datarate, maxhum.Data(),339 datarate, sparkrate.Data(), maxhum.Data(), 326 340 numstarsmed.Data(), numstarsrms.Data(), 327 341 numcorsmed.Data(), numcorsrms.Data(),
Note:
See TracChangeset
for help on using the changeset viewer.