Changeset 4527 for trunk/MagicSoft


Ignore:
Timestamp:
08/06/04 16:26:18 (20 years ago)
Author:
tonello
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r4526 r4527  
    2121
    2222
    23  2004/08/05: Nadia Tonello
     23 2004/08/06: Nadia Tonello
    2424
    2525   * mimage/MImgCleanStd.cc:
     
    2727        is skipped when no action is espected, i.e. if lvl1 <= lvl2.
    2828        This will accelerate the cleaning process in such cases.
     29
     30   * mbadpixels/MBadPixelsCalc.[h,cc]:
     31     - removed dependence on MSigmabar
    2932
    3033
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCalc.cc

    r3476 r4527  
    3535//
    3636// Check the pedestal RMS of every pixel with respect to the mean
    37 // pedestal RMS of the camera (Sigmabar).
     37// pedestal RMS of the camera.
    3838//
    3939// The pixels can be set as blind if the pedestalRMS is too big or 0.
     
    4848//   [MPedPhotCam]
    4949//   [MGeomCam]
    50 //   [MSigmabar]
    5150//
    5251//  Output Containers:
     
    6665#include "MGeomPix.h"
    6766
    68 #include "MSigmabar.h"
     67//#include "MSigmabar.h"
    6968
    7069#include "MPedPhotCam.h"
     
    117116        }
    118117
    119         fSigmabar = (MSigmabar*)pList->FindObject(AddSerialNumber("MSigmabar"));
     118        /*        fSigmabar = (MSigmabar*)pList->FindObject(AddSerialNumber("MSigmabar"));
    120119        if (!fSigmabar)
    121120        {
     
    123122            return kFALSE;
    124123        }
     124        */
    125125    }
    126126    return kTRUE;
     
    138138//     MBadPixelsCalc calc;
    139139//     calc.SetPedestalLevel(-1);
    140 //
     140/*
    141141void MBadPixelsCalc::CheckPedestalRMS() const
    142142{
     
    157157    }
    158158}
    159 
     159*/
    160160// --------------------------------------------------------------------------
    161161// Check the pedestal Rms of the pixels: compute with 2 iterations the mean
     
    233233        const Byte_t  aidx = (*fGeomCam)[i].GetAidx();
    234234
    235         if (rms>meanrms2[aidx]/3 && rms<=meanrms2[aidx]*3)
     235        if (rms>meanrms2[aidx]/fPedestalLevel && rms<=meanrms2[aidx]*fPedestalLevel)
    236236            continue;
    237237
     
    242242    // Check if the number of pixels to blind is > 60% of total number of pixels
    243243    //
    244     if (bads>0.6*entries)
    245     {
    246         //fErrors[2]++;
    247         return kFALSE;
    248     }
     244    //    if (bads>0.6*entries)
     245    //    {
     246    //    fErrors[2]++;
     247    //    return kFALSE;
     248    //    }
    249249
    250250    return kTRUE;
     
    262262    return kTRUE;
    263263}
     264
     265
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCalc.h

    r3476 r4527  
    77
    88class MBadPixelsCam;
    9 class MSigmabar;
     9//class MSigmabar;
    1010class MGeomCam;
    1111class MPedPhotCam;
     
    1515private:
    1616    MGeomCam      *fGeomCam;    //! Input container storing the pixel sizes
    17     MSigmabar     *fSigmabar;   //! Input container storing mean pedestal rms of the camera
     17    //    MSigmabar     *fSigmabar;   //! Input container storing mean pedestal rms of the camera
    1818    MPedPhotCam   *fPedPhotCam; //! Input container storing the pedestal and pedestal rms of all pixels
    1919
     
    2222    Float_t fPedestalLevel;
    2323
    24     void CheckPedestalRMS() const;
     24    //    void CheckPedestalRMS() const;
    2525    Bool_t CheckPedestalRms() const;
    2626
Note: See TracChangeset for help on using the changeset viewer.