- Timestamp:
- 07/09/10 15:19:10 (14 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r9612 r9615 19 19 -*-*- END OF LINE -*-*- 20 20 21 2010/07/09 Thomas Bretz 22 23 * mpointing/MSrcPosCam.[h,cc]: 24 - now the particle position is stored in any case in the headers 25 so in case we have a view cone we must keep the position fixed 26 - added the fix for the MC monte carlos (for them X needs to 27 change its sign due to a bug in the reflector program) 28 29 * mars.rc, star.rc: 30 - changed time contraint in cleaning from aboslute values 31 to relative values (units now ns/deg) 32 33 * mimage/MImgCleanStd.cc: 34 - changed time contraint in cleaning from aboslute values 35 to relative values (units now ns/deg) 36 37 38 21 39 2010/07/07 Daniela Dorner 22 40 -
trunk/MagicSoft/Mars/NEWS
r9595 r9615 38 38 has been implemented to set an artificial run-number: 39 39 ---run-number=12345 40 41 ;star: 42 43 * The time constraint in the image cleaning is now scaled with the 44 pixel distance. Consequently, the value given is not absolute in 45 ns anymore, but in ns/deg. This means that the values for MAGIC 46 have to be scaled by a factor of 10. 40 47 41 48 -
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.