- Timestamp:
- 05/23/06 16:31:41 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7730 r7731 23 23 * mranforest/MRanTree.cc: 24 24 - should be if(!Finite) instead of if(Finite) 25 26 * mhbase/MH3.cc: 27 - fixed a problem which arouse in root 4.04/02g namely that 28 is the draw-option is " " nothing is displayed. Therefore 29 all " " are removed before the histogram is drawn 30 31 * mhist/MHCamera.cc: 32 - when the azimuthal profile was produced the binning was optimized 33 with the OptimizeLimits. This doesn't make sense because it 34 changed the alignment of the bins with the 60deg boundaries 35 36 * mreport/MReportStarguider.cc: 37 - fixed a typo in a comment and removed an obsolete one 38 39 * msignal/MExtractTimeAndCharge.cc: 40 - instead of setting the arrival time to a value at the border of 41 the meaningful range a random number is assigned in the case 42 of an arrival time extracted outside the fadc range. This 43 avoids possible unfortuante coincidences in arrival times. 25 44 26 45 -
trunk/MagicSoft/Mars/mhbase/MH3.cc
r7696 r7731 579 579 str.ReplaceAll("profx", ""); 580 580 str.ReplaceAll("profy", ""); 581 str.ReplaceAll(" ", ""); 581 582 582 583 // FIXME: We may have to remove all our own options from str! -
trunk/MagicSoft/Mars/mhist/MHCamera.cc
r7342 r7731 798 798 } 799 799 800 Double_t min = 0;801 Double_t max = 360;802 803 Int_t newbins=0;804 THLimitsFinder::OptimizeLimits(nbins, newbins, min, max, kFALSE);805 806 MBinning bins(nbins, min, max);800 //Double_t min = 0; 801 //Double_t max = 360; 802 803 //Int_t newbins=0; 804 //THLimitsFinder::OptimizeLimits(nbins, newbins, min, max, kFALSE); 805 806 MBinning bins(nbins, 0, 360); 807 807 bins.Apply(*h1); 808 808 -
trunk/MagicSoft/Mars/mreport/MReportStarguider.cc
r7726 r7731 161 161 (ver>=200603080)) 162 162 { 163 // For the mom ment this are only placeholders....163 // For the moment this are only placeholders.... 164 164 Float_t dx, dy; 165 165 n=sscanf(str.Data(), "%f %f %n", &dx, &dy, &len); … … 176 176 if (ver>=200605080) 177 177 { 178 // For the momment this are only placeholders....179 178 fNumCorrelatedStars = fNumIdentifiedStars; 180 179 n=sscanf(str.Data(), "%df %n", &fNumIdentifiedStars, &len); -
trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.cc
r7095 r7731 63 63 #include "MExtractTimeAndCharge.h" 64 64 65 #include <TRandom.h> 66 65 67 #include "MLog.h" 66 68 #include "MLogManip.h" … … 87 89 const Float_t MExtractTimeAndCharge::fgLoGainStartShift = -3.5; 88 90 const Byte_t MExtractTimeAndCharge::fgLoGainSwitch = 120; 91 89 92 // -------------------------------------------------------------------------- 90 93 // … … 197 200 // Make sure that in cases the time couldn't be correctly determined 198 201 // more meaningfull default values are assigned 199 if (timehi<0) 200 timehi = -1; 201 if (timehi>pixel.GetNumHiGainSamples()) 202 timehi = pixel.GetNumHiGainSamples(); 202 if (timehi<=0 || timehi>pixel.GetNumHiGainSamples()) 203 timehi = gRandom->Uniform(pixel.GetNumHiGainSamples()); 203 204 204 205 Float_t sumlo =0., deltasumlo =-1.; // invalidate logain of MExtractedSignalPix … … 235 236 // Make sure that in cases the time couldn't be correctly determined 236 237 // more meaningfull default values are assigned 237 if (timelo<0) 238 timelo = -1; 239 if (timelo>pixel.GetNumLoGainSamples()) 240 timelo = pixel.GetNumLoGainSamples(); 238 if (timelo<=0 || timelo>pixel.GetNumLoGainSamples()) 239 timelo = gRandom->Uniform(pixel.GetNumLoGainSamples()); 241 240 } 242 241
Note:
See TracChangeset
for help on using the changeset viewer.