Changeset 9092 for trunk/MagicSoft/Mars/datacenter/macros
- Timestamp:
- 08/05/08 12:32:28 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/macros/fillstar.C
r9090 r9092 179 179 TString relontime = ontm ? Form("%.2f", effon/ontm->GetTotalTime()*100) : "NULL"; 180 180 181 TGraph *g = (TGraph*)arr.FindObjectInCanvas("Humidity", "TGraph", "MHWeather"); 181 TGraph *g = (TGraph*)arr.FindObjectInCanvas("MCamEvent", "TGraph", "Currents"); 182 183 TString maxdc = CheckGraph(g) ? Form("%5.2f", TMath::MaxElement(g->GetN(), g->GetY())) : "NULL"; 184 TString mindc = CheckGraph(g) ? Form("%5.2f", TMath::MinElement(g->GetN(), g->GetY())) : "NULL"; 185 TString meddc = CheckGraph(g) ? Form("%5.2f", TMath::Median(g->GetN(), g->GetY())) : "NULL"; 186 187 g = (TGraph*)arr.FindObjectInCanvas("Humidity", "TGraph", "MHWeather"); 182 188 183 189 TString maxhum = CheckGraph(g) ? Form("%5.1f", TMath::MaxElement(g->GetN(), g->GetY())) : "NULL"; … … 248 254 cout << " Rate after ImgCl [Hz] " << datarate << endl; 249 255 cout << " Rate of sparks [Hz] " << sparkrate << endl; 256 cout << " Minimum DC current [nA] " << mindc << endl; 257 cout << " Median DC current [nA] " << meddc << endl; 258 cout << " Maximum DC current [nA] " << maxdc << endl; 250 259 cout << " Maximum Humidity [%] " << maxhum << endl; 251 260 cout << " Average Humidity [%] " << avghum << endl; … … 269 278 " fDataRate=%s," 270 279 " fSparkRate=%s," 280 " fMinCurrent=%s, " 281 " fMedCurrent=%s, " 282 " fMaxCurrent=%s, " 271 283 " fMaxHumidity=%s," 272 284 " fAvgHumidity=%s, " … … 287 299 num, effontime.Data(), totontime.Data(), 288 300 muonrate.Data(), PSF.Data(), 289 datarate.Data(), sparkrate.Data(), maxhum.Data(), 290 avghum.Data(), avgtemp.Data(), avgwind.Data(), 301 datarate.Data(), sparkrate.Data(), 302 mindc.Data(), meddc.Data(), maxdc.Data(), 303 maxhum.Data(), avghum.Data(), 304 avgtemp.Data(), avgwind.Data(), 291 305 avgsky.Data(), avgclouds.Data(), rmsclouds.Data(), 292 306 numstarsmed.Data(), numstarsrms.Data(),
Note:
See TracChangeset
for help on using the changeset viewer.