Ignore:
Timestamp:
02/07/01 16:50:22 (24 years ago)
Author:
harald
Message:
Adding the first version of an Image Cleaning. Therefore a first version
of Class MCamNeigbor was implemented.

The Image cleaning is done in class MNphotEvent.
Location:
trunk/MagicSoft/Mars/mgui
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mgui/GuiLinkDef.h

    r589 r597  
    1515#pragma link C++ class MPixGeom;
    1616#pragma link C++ class MCamGeom;
     17#pragma link C++ class MCamNeighbor;
    1718
    1819#pragma link C++ class MCamDisplay;
  • trunk/MagicSoft/Mars/mgui/MCamDisplay.cc

    r596 r597  
    144144      UpdateLegend() ;
    145145    } 
    146  
    147 
    148  
    149   cout << fMinPhe << "/" << fMaxPhe << endl ;
     146
     147  //   update the picture
    150148
    151149  for (Int_t i=0 ; i<event->GetNbPixels() ; i++ )
    152150    {
    153       ( (MHexagon*) fPixels->At( event->GetPixelId(i) ))->SetFillColor( GetColor(event->GetPhotons(i))) ;
    154     }
    155  
     151      if ( event->IsPixelUsed(i) == TRUE )
     152        ( (MHexagon*) fPixels->At( event->GetPixelId(i) ))->SetFillColor( GetColor(event->GetPhotons(i))) ;
     153   
     154    }
     155 
    156156  Draw() ;
    157157 
  • trunk/MagicSoft/Mars/mgui/MCamGeom.h

    r589 r597  
    8282  void Print() ;
    8383
    84  
    85 
    8684  ClassDef(MCamGeom, 1)         // Base (abstract) class for a task
    8785};
  • trunk/MagicSoft/Mars/mgui/Makefile

    r595 r597  
    5959           MHexagon.cc \
    6060           MCamGeom.cc \
     61           MCamNeighbor.cc \
    6162           MCamDisplay.cc
    6263
Note: See TracChangeset for help on using the changeset viewer.