Changeset 9092


Ignore:
Timestamp:
08/05/08 12:32:28 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r9091 r9092  
    3939     - fixed the case of invalid effective on times
    4040     - fixed the regular expression to find the MSequence in old files
     41     - added information about the dc currents
    4142
    4243
  • trunk/MagicSoft/Mars/NEWS

    r9085 r9092  
    33== <cvs> ==
    44
     5  ;Database
     6
     7   * Added informations about the DC currents (fMinCurrents, fMedCurrents
     8     and fMaxCurrents)
    59
    610
  • trunk/MagicSoft/Mars/datacenter/macros/fillstar.C

    r9090 r9092  
    179179    TString relontime = ontm ? Form("%.2f", effon/ontm->GetTotalTime()*100) : "NULL";
    180180
    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");
    182188
    183189    TString maxhum = CheckGraph(g) ? Form("%5.1f", TMath::MaxElement(g->GetN(), g->GetY())) : "NULL";
     
    248254    cout << "  Rate after ImgCl [Hz]    " << datarate  << endl;
    249255    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;
    250259    cout << "  Maximum Humidity [%]     " << maxhum    << endl;
    251260    cout << "  Average Humidity [%]     " << avghum    << endl;
     
    269278                        " fDataRate=%s,"
    270279                        " fSparkRate=%s,"
     280                        " fMinCurrent=%s, "
     281                        " fMedCurrent=%s, "
     282                        " fMaxCurrent=%s, "
    271283                        " fMaxHumidity=%s,"
    272284                        " fAvgHumidity=%s, "
     
    287299                        num, effontime.Data(), totontime.Data(),
    288300                        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(),
    291305                        avgsky.Data(), avgclouds.Data(), rmsclouds.Data(),
    292306                        numstarsmed.Data(), numstarsrms.Data(),
Note: See TracChangeset for help on using the changeset viewer.