Ignore:
Timestamp:
09/16/04 09:12:50 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mimage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mimage/MHillasCalc.cc

    r5058 r5059  
    355355    if (TestBit(kCalcHillas))
    356356    {
    357         PrintSkipped(1, "Less than 3 pixels (before cleaning)");
    358         PrintSkipped(2, "Calculated Size == 0 (after cleaning)");
    359         PrintSkipped(3, "Number of used pixels < 3");
    360         PrintSkipped(4, "CorrXY==0");
     357        PrintSkipped(fErrors[1], "Less than 3 pixels (before cleaning)");
     358        PrintSkipped(fErrors[2], "Calculated Size == 0 (after cleaning)");
     359        PrintSkipped(fErrors[3], "Number of used pixels < 3");
     360        PrintSkipped(fErrors[4], "CorrXY==0");
    361361    }
    362362    if (TestBit(kCalcHillasSrc))
    363363    {
    364         PrintSkipped(5, "Dist==0");
    365         PrintSkipped(6, "Arg2==0");
    366     }
    367     *fLog << " " << (int)fErrors[0] << " (" << (int)(100.*fErrors[0]/GetNumExecutions()) << "%) Evts survived Hillas calculation!" << endl;
     364        PrintSkipped(fErrors[5], "Dist==0");
     365        PrintSkipped(fErrors[6], "Arg2==0");
     366    }
     367    *fLog << " " << (int)fErrors[0] << " (" << Form("%.1f", 100.*fErrors[0]/GetNumExecutions()) << "%) Evts survived Hillas calculation!" << endl;
    368368    *fLog << endl;
    369369
  • trunk/MagicSoft/Mars/mimage/MHillasCalc.h

    r5039 r5059  
    6363    Short_t              fIdxIsland;        // Number of island to use for calculation
    6464
    65     // Helper
    66     void  PrintSkipped(UInt_t i, const char *str);
    67 
    6865    // MParContainer
    6966    void StreamPrimitive(ofstream &out) const;
Note: See TracChangeset for help on using the changeset viewer.