Changeset 8280 for trunk/MagicSoft/Mars
- Timestamp:
- 01/30/07 14:20:47 (18 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r8279 r8280 35 35 - added a new bit to allow the error to be switched between 36 36 mean and spread 37 38 * mjobs/MJStar.cc, mjobs/MJCalibrateSignal.cc: 39 - adapted to changes in error display 37 40 38 41 -
trunk/MagicSoft/Mars/NEWS
r8262 r8280 12 12 weekly, monthly and yearly averages. 13 13 For more details see the plotall function of the macro 14 15 - general: fixed the error display of the camera display. It showed 16 wrong results. 14 17 15 18 - callisto: Redone the signal extraction this includes: -
trunk/MagicSoft/Mars/mhist/MHCamera.cc
r8279 r8280 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MHCamera.cc,v 1.9 6 2007-01-30 14:16:45tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MHCamera.cc,v 1.97 2007-01-30 14:20:47 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 1352 1352 const Double_t val = fArray[bin] / n; 1353 1353 1354 const Double_t spread = sqr>val*val ? TMath::Sqrt(sqr - val*val) ;1354 const Double_t spread = sqr>val*val ? TMath::Sqrt(sqr - val*val) : 0; 1355 1355 1356 1356 return TestBit(kErrorMean) ? spread/TMath::Sqrt(n) : spread; -
trunk/MagicSoft/Mars/mhist/MHCamera.h
r8106 r8280 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MHCamera.h,v 1.6 0 2006-10-17 17:16:00tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MHCamera.h,v 1.61 2007-01-30 14:16:45 tbretz Exp $ 3 3 \* ======================================================================== */ 4 4 #ifndef MARS_MHCamera … … 44 44 kNoLegend = BIT(20), 45 45 kNoScale = BIT(21), 46 kNoUnused = BIT(22)/*, 46 kNoUnused = BIT(22), 47 kErrorMean = BIT(23)/*, 47 48 kSqrtVariance = BIT(21), 48 49 kSinglePixelProfile = BIT(22)*/ … … 231 232 Bool_t IsFreezed() const { return TestBit(kFreezed); } 232 233 //void SetOptStat(Int_t os=-1) { fOptStat = os; } // *MENU* 234 235 void SetErrorSpread(Bool_t f=kTRUE) { f ? ResetBit(kErrorMean) : SetBit(kErrorMean); } // *TOGGLE* *GETTER=IsErrorSpread 236 Bool_t IsErrorSpread() const { return !TestBit(kErrorMean); } 233 237 234 238 void SetAbberation(Float_t f=0.0713) { fAbberation=f; } // *MENU* -
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r8245 r8280 591 591 MHCamEvent evtR( 4, "HiLoCal", "Hi-/Lo-Gain ratio;;Ratio"); 592 592 MHCamEvent evtO( 7, "HiLoOff", "Lo-/Hi-Gain Offset;;Offset"); 593 evt2.SetErrorSpread(kFALSE); 594 evt5.SetErrorSpread(kFALSE); 595 evt6.SetErrorSpread(kFALSE); 593 596 evt6.SetThreshold(); 594 597 -
trunk/MagicSoft/Mars/mjobs/MJStar.cc
r8245 r8280 210 210 MHCamEvent evt0a(0, "Cleaned", "Signal after Cleaning;;S [\\gamma]"); 211 211 MHCamEvent evt0b(0, "UsedPix", "Fraction of Events in which Pixels are used;;Fraction"); 212 evt0a.SetErrorSpread(kFALSE); 213 evt0b.SetErrorSpread(kFALSE); 212 214 evt0b.SetThreshold(0); 213 215
Note:
See TracChangeset
for help on using the changeset viewer.