Ignore:
Timestamp:
01/13/04 13:22:38 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mimage
Files:
4 edited

Legend:

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

    r2670 r2781  
    274274#include "MCerPhotEvt.h"
    275275
    276 #include "MPedestalPix.h"
    277 #include "MPedestalCam.h"
    278 
    279276#include "MGGroupFrame.h" // MGGroupFrame
    280277
     
    559556    else
    560557    {
    561         fPed = (MPedestalCam*)pList->FindObject(AddSerialNumber("MPedestalCam"));
     558        fPed = (MPedPhotCam*)pList->FindObject(AddSerialNumber("MPedPhotCam"));
    562559        if (!fPed)
    563560        {
    564             *fLog << dbginf << "MPedestalCam not found... aborting." << endl;
     561            *fLog << dbginf << "MPedPhotCam not found... aborting." << endl;
    565562            return kFALSE;
    566563        }
     
    581578{
    582579    if (fSgb)
    583         fData->Calc(*fEvt, *fSgb, *fCam);
     580        fData->CalcCleaningLevel(*fEvt, *fSgb, *fCam);
    584581    else
    585         fData->Calc(*fEvt, *fPed, *fCam);
     582        fData->CalcCleaningLevel(*fEvt, *fPed, *fCam);
    586583
    587584#ifdef DEBUG
  • trunk/MagicSoft/Mars/mimage/MImgCleanStd.h

    r2488 r2781  
    1010class MCerPhotPix;
    1111class MCerPhotEvt;
    12 class MPedestalCam;
     12class MPedPhotCam;
    1313class MCameraData;
    1414
     
    2424
    2525private:
    26     const MGeomCam     *fCam;  //!
    27           MCerPhotEvt  *fEvt;  //!
    28           MSigmabar    *fSgb;  //!
    29           MPedestalCam *fPed;  //!
    30           MCameraData  *fData; //!
     26    const MGeomCam    *fCam;  //!
     27          MCerPhotEvt *fEvt;  //!
     28          MSigmabar   *fSgb;  //!
     29          MPedPhotCam *fPed;  //!
     30          MCameraData *fData; //!
    3131
    3232    CleaningMethod_t fCleaningMethod;
  • trunk/MagicSoft/Mars/mimage/MImgCleanTGB.cc

    r2465 r2781  
    5959#include "MCerPhotEvt.h"
    6060
    61 #include "MPedestalPix.h"
    62 #include "MPedestalCam.h"
     61#include "MPedPhotPix.h"
     62#include "MPedPhotCam.h"
    6363
    6464#include "MGGroupFrame.h" // MGGroupFrame
     
    223223    else
    224224    {
    225         fPed = (MPedestalCam*)pList->FindObject("MPedestalCam");
     225        fPed = (MPedPhotCam*)pList->FindObject("MPedPhotCam");
    226226        if (!fPed)
    227227        {
    228             *fLog << dbginf << "MPedestalCam not found... aborting." << endl;
     228            *fLog << dbginf << "MPedPhotCam not found... aborting." << endl;
    229229            return kFALSE;
    230230        }
     
    257257        const Double_t factor     = fCam->GetPixRatio(idx);
    258258        const Double_t factorsqrt = fCam->GetPixRatioSqrt(idx);
    259         const Float_t  noise      = (*fPed)[idx].GetPedestalRms();
     259        const Float_t  noise      = (*fPed)[idx].GetRms();
    260260
    261261        if (entry * factorsqrt <= fCleanLvl2 * noise)
  • trunk/MagicSoft/Mars/mimage/MImgCleanTGB.h

    r2296 r2781  
    1010class MCerPhotPix;
    1111class MCerPhotEvt;
    12 class MPedestalCam;
     12class MPedPhotCam;
    1313
    1414class MGGroupFrame;
     
    2323
    2424private:
    25     const MGeomCam     *fCam;  //!
    26           MCerPhotEvt  *fEvt;  //!
    27           MSigmabar    *fSgb;  //!
    28           MPedestalCam *fPed;  //!
     25    const MGeomCam    *fCam;  //!
     26          MCerPhotEvt *fEvt;  //!
     27          MSigmabar   *fSgb;  //!
     28          MPedPhotCam *fPed;  //!
    2929
    3030    CleaningMethod_t fCleaningMethod;
Note: See TracChangeset for help on using the changeset viewer.