Ignore:
Timestamp:
09/03/04 09:33:43 (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/MImgCleanStd.cc

    r4826 r4838  
    211211//
    212212//
     213// ABSOLUTE CLEANING
     214// =================
     215// This method takes signal height (photons) times area ratio
     216// ad the cleaning levels.
     217//
     218// The cleaning now is done in these levels (eg. 16, 20)
     219// The meaning of the cleaning levels is essentially the same (the same cleaning
     220// algorithm is used) but the cleaning is not done in different 'units'
     221//
     222// Example:
     223//
     224// MImgCleanStd clean(20, 16);
     225// clean.SetMethod(MImgCleanStd::kAbsolulte);
     226//
     227//
    213228// Member Function:  SetMethod()
    214229// ============================
     
    579594        fData->CalcCleaningProbability(*fEvt, *fPed, *fCam, fTime);
    580595        break;
     596    case kAbsolute:
     597        fData->CalcCleaningAbsolute(*fEvt, *fCam);
     598        break;
    581599    default:
    582600        break;
     
    637655    case kProbability:
    638656        *fLog << "probability";
     657        break;
     658    case kAbsolute:
     659        *fLog << "absolute";
    639660        break;
    640661    }
     
    769790        case kDemocratic:  out << "Democratic";  break;
    770791        case kProbability: out << "Probability"; break;
     792        case kAbsolute:    out << "Absolute";    break;
    771793        default:
    772794            break;
     
    786808//   MImgCleanStd.CleanLevel1: 3.0
    787809//   MImgCleanStd.CleanLevel2: 2.5
    788 //   MImgCleanStd.CleanMethod: Standard, Scaled, Democratic, Probability
     810//   MImgCleanStd.CleanMethod: Standard, Scaled, Democratic, Probability, Absolute
    789811//   MImgCleanStd.CleanRings:  1
    790812//
     
    821843        if (s.BeginsWith("probability"))
    822844            SetMethod(kProbability);
     845        if (s.BeginsWith("absolute"))
     846            SetMethod(kAbsolute);
    823847    }
    824848
  • trunk/MagicSoft/Mars/mimage/MImgCleanStd.h

    r4702 r4838  
    2323        kScaled,
    2424        kDemocratic,
    25         kProbability
     25        kProbability,
     26        kAbsolute
    2627    } CleaningMethod_t;
    2728
Note: See TracChangeset for help on using the changeset viewer.