Changeset 7733
- Timestamp:
- 05/23/06 17:07:28 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7732 r7733 50 50 of an arrival time extracted outside the fadc range. This 51 51 avoids possible unfortuante coincidences in arrival times. 52 53 * mbadpixels/MBadPixelsTreat.[h,cc]: 54 - added new data member fMaxArrivalTimeDiff, which is the maximum 55 arrival time difference allowed for the badpixel algorithm 56 to determin whether a pixels belongs to a shower 57 - changed the old value (0.5) to 1.0 as suggested by Stefan 58 due to a recent study on the fraction of pixels surviving the 59 image cleaning 52 60 53 61 -
trunk/MagicSoft/Mars/NEWS
r7726 r7733 3 3 *** Version <cvs> 4 4 5 - genetral: changed the binning of the azimuthal profile of the camera 6 such that it is aligned with the 60deg boundaries. 7 5 8 - merpp: better handling of problems with the TH, TD part of the 6 9 CC-REPORT for files older than 200507190 and 200412210 … … 11 14 - merpp: implementd latest changes in starguider reports (sinc 9th May) 12 15 16 - callisto: if an arrival time is extracted outside the fadc range is 17 was set to the boundary before. Now a random number is assigned 18 instead to avoid unfortunate coincidences of arrival times just 19 by this arbitrary value. 20 21 - callisto: added a new option to callisto.rc which allows 22 to set the maximum arrival time difference allowed for the 23 badpixel algorithm to determin whether a pixels belongs to a shower: 24 MJCalibrateSignal.MBadPixelsTreat.MaxArrivalTimeDiff: 1.0 25 26 - callisto: changed the old value (0.5) for MaxArrivalTimeDiff 27 to 1.0 as suggested by Stefan due to a recent study on the fraction 28 of pixels surviving the image cleaning 29 13 30 - star: Show also the number of stars correlated correctly by the 14 31 starguider … … 34 51 eventloop the first and second loop could be accelerated by ~20% 35 52 36 - general: Added a missing feature in the MFilterL Ist class which53 - general: Added a missing feature in the MFilterList class which 37 54 prevented MFEnergySlope from working correctly in trainenergy.C 38 55 -
trunk/MagicSoft/Mars/callisto.rc
r7497 r7733 415 415 #MJCalibrateSignal.MBadPixelsCalc.PedestalLevelVariance: 3.0 416 416 #MJCalibrateSignal.MBadPixelsTreat.NumMinNeighbors: 3 417 #MJCalibrateSignal.MBadPixelsTreat.MaxArrivalTimeDiff: 1.0 417 418 #MJCalibrateSignal.MBadPixelsTreat.UseInterpolation: yes 418 419 #MJCalibrateSignal.MBadPixelsTreat.ProcessPedestalEvt: yes -
trunk/MagicSoft/Mars/callisto_Dec04Jan05.rc
r7595 r7733 426 426 #MJCalibrateSignal.MBadPixelsCalc.PedestalLevelVariance: 3.0 427 427 #MJCalibrateSignal.MBadPixelsTreat.NumMinNeighbors: 3 428 #MJCalibrateSignal.MBadPixelsTreat.MaxArrivalTimeDiff: 1.0 428 429 #MJCalibrateSignal.MBadPixelsTreat.UseInterpolation: yes 429 430 #MJCalibrateSignal.MBadPixelsTreat.ProcessPedestalEvt: yes -
trunk/MagicSoft/Mars/callisto_MarApr05.rc
r7564 r7733 415 415 #MJCalibrateSignal.MBadPixelsCalc.PedestalLevelVariance: 3.0 416 416 #MJCalibrateSignal.MBadPixelsTreat.NumMinNeighbors: 3 417 #MJCalibrateSignal.MBadPixelsTreat.MaxArrivalTimeDiff: 1.0 417 418 #MJCalibrateSignal.MBadPixelsTreat.UseInterpolation: yes 418 419 #MJCalibrateSignal.MBadPixelsTreat.ProcessPedestalEvt: yes -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.cc
r7377 r7733 18 18 ! Author(s): Oscar Blanch 12/2001 <mailto:blanch@ifae.es> 19 19 ! Author(s): Thomas Bretz 08/2002 <mailto:tbretz@astro.uni-wuerzburg.de> 20 ! Author(s): Stefan Ruegamer <mailto:snruegam@astro.uni-wuerzburg.de> 20 21 ! 21 ! Copyright: MAGIC Software Development, 2000-200 422 ! Copyright: MAGIC Software Development, 2000-2006 22 23 ! 23 24 ! … … 107 108 MBadPixelsTreat::MBadPixelsTreat(const char *name, const char *title) 108 109 : fGeomCam(0), fEvt(0), fBadPixels(0), fPedPhot1(0), fPedPhot2(0), 109 fFlags(0), fNumMinNeighbors(3) 110 fFlags(0), fNumMinNeighbors(3), fMaxArrivalTimeDiff(1.0) 110 111 { 111 112 fName = name ? name : gsDefName.Data(); … … 425 426 void MBadPixelsTreat::InterpolateTimes() const 426 427 { 427 const Double_t tdiffshoweredge = 0.5;428 429 428 const Int_t n = fEvt->GetNumPixels(); 430 429 for (int i=0; i<n; i++) … … 471 470 472 471 // Calculate mean arrival time of pixel probably inside the shower 473 if (TMath::Abs(tm1 - tm2)< tdiffshoweredge)472 if (TMath::Abs(tm1 - tm2)<fMaxArrivalTimeDiff) 474 473 { 475 474 sum2 += tm1+tm2; … … 601 600 // MBadPixelsTreat.ProcessPedestalEvt: no 602 601 // MBadPixelsTreat.NumMinNeighbors: 3 602 // MBadPixelsTreat.MaxArrivalTimeDiff: 1.0 603 603 // 604 604 Int_t MBadPixelsTreat::ReadEnv(const TEnv &env, TString prefix, Bool_t print) … … 640 640 SetNumMinNeighbors(GetEnvValue(env, prefix, "NumMinNeighbors", fNumMinNeighbors)); 641 641 } 642 if (IsEnvDefined(env, prefix, "MaxArrivalTimeDiff", print)) 643 { 644 rc = kTRUE; 645 SetMaxArrivalTimeDiff(GetEnvValue(env, prefix, "MaxArrivalTimeDiff", fMaxArrivalTimeDiff)); 646 } 642 647 return rc; 643 648 } -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.h
r7376 r7733 24 24 TList fPedPhotCams; 25 25 26 Byte_t fFlags; // flag for the method which is used 27 Byte_t fNumMinNeighbors; 26 Byte_t fFlags; // flag for the method which is used 27 Byte_t fNumMinNeighbors; // Number of neighbors required 28 Float_t fMaxArrivalTimeDiff; // Maximum allowed arrival time difference of neighboring pixels 28 29 29 30 TList fNamePedPhotCams; … … 95 96 Bool_t IsUseInterpolation() const { return TESTBIT(fFlags, kUseInterpolation); } 96 97 97 void SetNumMinNeighbors(Byte_t num) { fNumMinNeighbors=num; } 98 void SetNumMinNeighbors(Byte_t num) { fNumMinNeighbors=num; } 99 void SetMaxArrivalTimeDiff(Float_t d) { fMaxArrivalTimeDiff=d; } 98 100 void AddNamePedPhotCam(const char *name="MPedPhotCam"); 99 101 void SetNamePedPhotCam(const char *name)
Note:
See TracChangeset
for help on using the changeset viewer.