Changeset 5350


Ignore:
Timestamp:
11/06/04 20:47:55 (20 years ago)
Author:
moralejo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r5344 r5350  
    2020
    2121                                                 -*-*- END OF LINE -*-*-
     22
     23 2004/11/06: Abelardo Moralejo
     24
     25   * mimage/MHillasCalc.cc
     26     - Changed in PostProcess calls to TestBit by calls to TestFlag.
     27       With TestBit, return value was always false and statistics of
     28       the Hillas calculations were never shown!
     29
    2230 2004/11/04: Markus Gaug
    2331
  • trunk/MagicSoft/Mars/mimage/MHillasCalc.cc

    r5060 r5350  
    186186Int_t MHillasCalc::PreProcess(MParList *pList)
    187187{
     188
    188189    if (TestFlags(~kCalcHillasSrc))
    189190    {
     
    347348        return kTRUE;
    348349
    349     if (!TestBit(kCalcHillas) && !TestBit(kCalcHillasSrc))
     350    if (!TestFlag(kCalcHillas) && !TestFlag(kCalcHillasSrc))
    350351        return kTRUE;
    351352
    352353    *fLog << inf << endl;
    353354    *fLog << GetDescriptor() << " execution statistics:" << endl;
    354     if (TestBit(kCalcHillas))
     355    if (TestFlag(kCalcHillas))
    355356    {
    356357        PrintSkipped(fErrors[1], "Less than 3 pixels (before cleaning)");
     
    359360        PrintSkipped(fErrors[4], "CorrXY==0");
    360361    }
    361     if (TestBit(kCalcHillasSrc))
     362    if (TestFlag(kCalcHillasSrc))
    362363    {
    363364        PrintSkipped(fErrors[5], "Dist==0");
Note: See TracChangeset for help on using the changeset viewer.