Changeset 5060


Ignore:
Timestamp:
09/16/04 09:17:25 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r5059 r5060  
    2424   * mimage/MHillasCalc.[h,cc]
    2525     - removed obsolete PrintSkipped
     26
     27   * mhbase/MH.cc, mfilter/MFDeltaT.cc:
     28     - Form %5.1 when printing statistics
    2629
    2730
  • trunk/MagicSoft/Mars/mfilter/MFDeltaT.cc

    r4991 r5060  
    7878    fNameTime   = time;
    7979
    80     fErrors.Set(4);
     80    fErrors.Set(5);
    8181
    8282    AddToBranchList(Form("%s.*", (const char*)fNameTime));
     
    130130        if (dt>fUpperLimit)
    131131            i=3;
     132        if (TMath::Floor(fTime->GetMjd())==fTime->GetMjd())
     133            i=4;
    132134    }
    133135
     
    151153    PrintSkipped(fErrors[1], "Delta-T  < 0");
    152154    PrintSkipped(fErrors[2], "Delta-T == 0");
    153     PrintSkipped(fErrors[3], Form("Delta-T > %.2fs", fUpperLimit));
    154     *fLog << " " << (int)fErrors[0] << " (" << (int)(100.*fErrors[0]/GetNumExecutions()) << "%) Evts fullfilled filter condition!" << endl;
     155    PrintSkipped(fErrors[3], Form("Delta-T  > %.2fs", fUpperLimit));
     156    PrintSkipped(fErrors[4], "Delta-T == floor(Delta-T)");
     157    *fLog << " " << (int)fErrors[0] << " (";
     158    *fLog << Form("5.1f", 100.*fErrors[0]/GetNumExecutions());
     159    *fLog << "%) Evts fullfilled filter condition!" << endl;
    155160    *fLog << endl;
    156161
  • trunk/MagicSoft/Mars/mhbase/MH.cc

    r5008 r5060  
    12911291{
    12921292    *fLog << " " << setw(7) << n << " (";
    1293     *fLog << setw(3) << (int)(100.*n/GetNumExecutions());
     1293    *fLog << Form("%5.1f", 100.*n/GetNumExecutions());
    12941294    *fLog << "%) Evts skipped: " << str << endl;
    12951295}
  • trunk/MagicSoft/Mars/mimage/MHillasCalc.cc

    r5059 r5060  
    352352    *fLog << inf << endl;
    353353    *fLog << GetDescriptor() << " execution statistics:" << endl;
    354     *fLog << dec << setfill(' ');
    355354    if (TestBit(kCalcHillas))
    356355    {
     
    365364        PrintSkipped(fErrors[6], "Arg2==0");
    366365    }
    367     *fLog << " " << (int)fErrors[0] << " (" << Form("%.1f", 100.*fErrors[0]/GetNumExecutions()) << "%) Evts survived Hillas calculation!" << endl;
     366    *fLog << " " << (int)fErrors[0] << " (" << Form("%5.1f", 100.*fErrors[0]/GetNumExecutions()) << "%) Evts survived Hillas calculation!" << endl;
    368367    *fLog << endl;
    369368
Note: See TracChangeset for help on using the changeset viewer.