Ignore:
Timestamp:
03/01/09 21:54:27 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbadpixels
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc

    r8601 r9369  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MBadPixelsCam.cc,v 1.52 2007-06-24 16:31:57 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MBadPixelsCam.cc,v 1.53 2009-03-01 21:48:13 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    185185// Calculate the number of pixels without the given type-flags.
    186186//
    187 // The second argument aidx is the area index (see MGeomCam, MGeomPix)
     187// The second argument aidx is the area index (see MGeomCam, MGeom)
    188188// The default (or any value less than 0) means: all
    189189//
     
    216216// Calculate the number of pixels with the given type-flags.
    217217//
    218 // The second argument aidx is the area index (see MGeomCam, MGeomPix)
     218// The second argument aidx is the area index (see MGeomCam, MGeom)
    219219// The default (or any value less than 0) means: all
    220220//
     
    263263// Counts the number of neighbors matching NOT UnsuitableType type
    264264//
    265 Short_t MBadPixelsCam::GetNumSuitableNeighbors(MBadPixelsPix::UnsuitableType_t type, const MGeomPix &pix) const
     265Short_t MBadPixelsCam::GetNumSuitableNeighbors(MBadPixelsPix::UnsuitableType_t type, const MGeom &pix) const
    266266{
    267267    const Int_t n2 = pix.GetNumNeighbors();
     
    284284// doesn't matter) has less than two reliable neighbor pixels.
    285285//
    286 // The second argument aidx is the area index (see MGeomCam, MGeomPix)
     286// The second argument aidx is the area index (see MGeomCam, MGeom)
    287287// The default (or any value less than 0) means: all
    288288//
     
    302302    for (int i=0; i<n; i++)
    303303    {
    304         const MGeomPix &pix = geom[i];
     304        const MGeom &pix = geom[i];
    305305        if (aidx>=0 && pix.GetAidx()!=aidx)
    306306            continue;
     
    320320// the function is called for all its neighbors. If
    321321//
    322 // The second argument aidx is the area index (see MGeomCam, MGeomPix)
     322// The second argument aidx is the area index (see MGeomCam, MGeom)
    323323// The default (or any value less than 0) means: all
    324324//
     
    327327Short_t MBadPixelsCam::GetNumMaxCluster(MBadPixelsPix::UnsuitableType_t type, TObjArray &list, Int_t idx, Int_t aidx) const
    328328{
    329     const MGeomPix *pix = (MGeomPix*)list[idx];
     329    const MGeom *pix = (MGeom*)list[idx];
    330330    if (!pix)
    331331        return 0;
     
    358358// type and the given area index.
    359359//
    360 // The second argument aidx is the area index (see MGeomCam, MGeomPix)
     360// The second argument aidx is the area index (see MGeomCam, MGeom)
    361361// The default (or any value less than 0) means: all
    362362//
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.h

    r8788 r9369  
    11/* ======================================================================== *\
    2 !  $Name: not supported by cvs2svn $:$Id: MBadPixelsCam.h,v 1.12 2007-12-14 09:56:01 tbretz Exp $
     2!  $Name: not supported by cvs2svn $:$Id: MBadPixelsCam.h,v 1.13 2009-03-01 21:48:13 tbretz Exp $
    33\* ======================================================================== */
    44#ifndef MARS_MBadPixelsCam
     
    1515class TClonesArray;
    1616
    17 class MGeomPix;
     17class MGeom;
    1818
    1919class MBadPixelsCam : public MParContainer, public MCamEvent
     
    2222    TClonesArray *fArray; //->
    2323
    24     Short_t GetNumSuitableNeighbors(MBadPixelsPix::UnsuitableType_t type, const MGeomPix &pix) const;
     24    Short_t GetNumSuitableNeighbors(MBadPixelsPix::UnsuitableType_t type, const MGeom &pix) const;
    2525    Short_t GetNumMaxCluster(MBadPixelsPix::UnsuitableType_t type, TObjArray &list, Int_t idx, Int_t aidx) const;
    2626
  • trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.cc

    r8801 r9369  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MBadPixelsTreat.cc,v 1.41 2008-01-09 11:30:24 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MBadPixelsTreat.cc,v 1.42 2009-03-01 21:48:13 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    257257        // Get the corresponding geometry and pedestal
    258258        //
    259         MSignalPix     &pix  = (*fEvt)[i];
    260         const MGeomPix &gpix = (*fGeomCam)[i];
     259        MSignalPix  &pix  = (*fEvt)[i];
     260        const MGeom &gpix = (*fGeomCam)[i];
    261261
    262262        // Do Not-Use-Central-Pixel
     
    346346        // Get the corresponding geometry and pedestal
    347347        //
    348         const MGeomPix    &gpix = (*fGeomCam)[i];
     348        const MGeom       &gpix = (*fGeomCam)[i];
    349349        const MPedPhotPix &ppix = pedphot[i];
    350350
     
    442442
    443443        // Geometry of bad pixel
    444         const MGeomPix &gpix = (*fGeomCam)[i];
     444        const MGeom &gpix = (*fGeomCam)[i];
    445445
    446446        // Number of neighbor pixels
Note: See TracChangeset for help on using the changeset viewer.