Changeset 9615 for trunk/MagicSoft/Mars/mimage
- Timestamp:
- 07/09/10 15:19:10 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mimage/MImgCleanStd.cc
r9369 r9615 664 664 MArrayI indices; 665 665 666 // Add conversion factor for dx here 667 const Double_t dtmax = lvl*fCam->GetConvMm2Deg(); 668 666 669 const UInt_t npixevt = fEvt->GetNumPixels(); 667 670 for (UInt_t idx=0; idx<npixevt; idx++) … … 689 692 continue; 690 693 694 const Double_t dt = TMath::Abs(npix.GetArrivalTime()-tm0); 695 const Double_t dx = gpix.GetDist((*fCam)[idx2]); 696 691 697 // If this pixel is to far away (in arrival time) don't count 692 if ( TMath::Abs(npix.GetArrivalTime()-tm0)>lvl)698 if (dt>dtmax*dx) 693 699 continue; 694 700
Note:
See TracChangeset
for help on using the changeset viewer.