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/macros/readCT1.C

    r596 r597  
    1111  MNphotEvent *phevt = new MNphotEvent() ;
    1212
    13 
    1413  plist->AddToList( phevt ) ;
    1514 
    16 
    1715  //MReadCT1Ascii *readct1 = new MReadCT1Ascii("/hd10/www/Anal_MAGIC/MCCT1_99_ga20.dat") ;
    1816
     
    2220
    2321  Int_t icount = 0 ;
    24 
    2522  MCamDisplay display(0) ;
    2623
     
    3128      cout << "Event: " << icount++  << endl  ;
    3229     
    33       if ( icount == 3 ) {
    34         phevt->Print() ;
    35       }
    36 
     30     
     31      phevt->Print() ;
     32     
    3733      display->Draw( phevt )  ;
    38       // display->DrawError( phevt )  ;
    39 
    4034      gClient->HandleInput();   
    41      
    4235      if(getchar()=='q')
    4336        break;
     37     
     38      phevt->CleanLevel1() ;
     39     
     40      phevt->CleanLevel2() ;
     41     
     42      display->Draw( phevt )  ;
     43      gClient->HandleInput();   
     44      if(getchar()=='q')
     45        break;
     46     
     47
    4448    }
    4549
Note: See TracChangeset for help on using the changeset viewer.