Changeset 1282
- Timestamp:
- 04/19/02 16:29:13 (23 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r1281 r1282 10 10 * macros/CT1Hillas.C: 11 11 - changed to the new Hillas classes 12 13 * macros/readCT1.C: 14 - fixed a bug causing readCT1.C to crash when reading the first event 15 being a pedestal event 12 16 13 17 -
trunk/MagicSoft/Mars/macros/readCT1.C
r1076 r1282 36 36 plist.AddToList(&tlist); 37 37 38 MCT1ReadAscii read("/home/tbretz/data/CT1_97_o ff1.dat");38 MCT1ReadAscii read("/home/tbretz/data/CT1_97_on1.dat"); 39 39 MClone clone("MCerPhotEvt"); 40 40 MImgCleanStd clean; … … 60 60 cout << "Event #" << icount++ << endl; 61 61 62 display.DrawPhotNum((MCerPhotEvt*)clone.GetClone()); 62 MCerPhotEvt *evt = (MCerPhotEvt*)clone.GetClone(); 63 64 if (!evt) 65 continue; 66 67 display.DrawPhotNum(evt); 63 68 gClient->HandleInput(); 64 if (getchar()=='q')69 if (getchar()=='q') 65 70 break; 66 71 … … 70 75 71 76 gClient->HandleInput(); 72 if (getchar()=='q')77 if (getchar()=='q') 73 78 break; 74 79 }
Note:
See TracChangeset
for help on using the changeset viewer.