Ignore:
Timestamp:
04/19/02 16:29:13 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r1076 r1282  
    3636    plist.AddToList(&tlist);
    3737
    38     MCT1ReadAscii read("/home/tbretz/data/CT1_97_off1.dat");
     38    MCT1ReadAscii read("/home/tbretz/data/CT1_97_on1.dat");
    3939    MClone        clone("MCerPhotEvt");
    4040    MImgCleanStd  clean;
     
    6060        cout << "Event #" << icount++ << endl;
    6161
    62         display.DrawPhotNum((MCerPhotEvt*)clone.GetClone());
     62        MCerPhotEvt *evt = (MCerPhotEvt*)clone.GetClone();
     63
     64        if (!evt)
     65            continue;
     66
     67        display.DrawPhotNum(evt);
    6368        gClient->HandleInput();
    64         if(getchar()=='q')
     69        if (getchar()=='q')
    6570            break;
    6671
     
    7075
    7176        gClient->HandleInput();
    72         if(getchar()=='q')
     77        if (getchar()=='q')
    7378            break;
    7479    }
Note: See TracChangeset for help on using the changeset viewer.