Changeset 662
- Timestamp:
- 03/01/01 17:47:30 (24 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/meventdisp/MGFadcDisp.cc
r661 r662 278 278 // the list of pixels in the fPixelList (TGListBox) 279 279 // 280 const Int_t redraw = fPixelList->GetSelected() ; 280 281 281 282 MRawEvtPixelIter fPixelIter( fEvtData ); 282 283 283 284 // put the selection of the last event in memory 284 const Int_t redraw = fPixelList->GetSelected() ; 285 286 fPixelList->RemoveEntries(0, fPixelsinList) ; 287 fPixelsinList = 0 ; 285 286 fPixelList->RemoveEntries(0, fPixelIter.GetNumPixels()) ; 288 287 289 288 while ( fPixelIter.Next() ) … … 293 292 sprintf( wortdummy, "%d", fPixelIter.GetPixelId() ) ; 294 293 295 fPixelList->AddEntry( wortdummy, fPixel sinList++) ;294 fPixelList->AddEntry( wortdummy, fPixelIter.GetNumEntry()) ; 296 295 } 297 296 -
trunk/MagicSoft/Mars/mraw/MRawEvtPixelIter.h
r651 r662 26 26 Byte_t *fLoGainPos; //! pointer to lo-gain samples of actual pixel 27 27 28 UShort_t fNumEntry; 29 28 30 MRawEvtData *fData; //! pointer to object which we are iterating 29 31 … … 42 44 // 43 45 return *fHiGainId; 46 } 47 48 UShort_t GetNumEntry() const 49 { 50 return fNumHiGainEntry; 51 } 52 53 Byte_t GetNumPixels() const 54 { 55 return fData->GetNumPixels(); 44 56 } 45 57
Note:
See TracChangeset
for help on using the changeset viewer.