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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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 
Note: See TracChangeset for help on using the changeset viewer.