Ignore:
Timestamp:
02/06/01 09:44:16 (24 years ago)
Author:
harald
Message:
Now the first version of the Camera eventdisplay is running.
Run the macro "readCT1.C" to have a look.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/macros/readCT1.C

    r595 r596  
    1515 
    1616
    17   MReadCT1Ascii *readct1 = new MReadCT1Ascii("/hd10/www/Anal_MAGIC/MCCT1_99_ga20.dat") ;
     17  //MReadCT1Ascii *readct1 = new MReadCT1Ascii("/hd10/www/Anal_MAGIC/MCCT1_99_ga20.dat") ;
    1818
    19   // MReadCT1Ascii *readct1 = new MReadCT1Ascii("/hd10/www/Anal_MAGIC/CT1_99_on1.dat") ;
     19  MReadCT1Ascii *readct1 = new MReadCT1Ascii("/hd10/www/Anal_MAGIC/CT1_99_on1.dat") ;
    2020
    2121  cout << readct1->PreProcess(plist) << endl ;
     
    2525  MCamDisplay display(0) ;
    2626
     27  //display.SetAutoScale(kFALSE) ;
     28
    2729  while ( readct1->Process() == kTRUE )
    2830    {
    2931      cout << "Event: " << icount++  << endl  ;
    3032     
    31       if ( icount == 3 )
     33      if ( icount == 3 ) {
    3234        phevt->Print() ;
    33      
     35      }
     36
    3437      display->Draw( phevt )  ;
     38      // display->DrawError( phevt )  ;
    3539
    3640      gClient->HandleInput();   
    37       if(getchar()=='e') break; 
     41     
     42      if(getchar()=='q')
     43        break;
    3844    }
    3945
Note: See TracChangeset for help on using the changeset viewer.