Changeset 6905
- Timestamp:
- 04/01/05 14:55:54 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r6903 r6905 21 21 22 22 -*-*- END OF LINE -*-*- 23 24 2005/04/01 Thomas Bretz 25 26 * mbadpixels/MBadPixelsCalc.cc: 27 - switched on bad pixel detection for a pedestal level 28 which is more than 5 times the variance 29 30 * mfbase/MF.cc: 31 - when fixing the "Inverted" bit in ReadEnv don't print a 32 message on the screen 33 34 * mhflux/MHAlpha.cc: 35 - plot correct errors 36 - do not plot the point if its significance is not greater 1 37 38 23 39 24 40 2005/03/29 Markus Gaug -
trunk/MagicSoft/Mars/NEWS
r6903 r6905 25 25 - wobble mode can now be switched on from the data-set 26 26 27 - switched on bad pixel detection for a pedestal level 28 which is more than 5 times the variance 27 29 28 30 -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCalc.cc
r5841 r6905 88 88 // 89 89 MBadPixelsCalc::MBadPixelsCalc(const char *name, const char *title) 90 : fPedestalLevel(3), fPedestalLevelVariance( -1), fNamePedPhotCam("MPedPhotCam")90 : fPedestalLevel(3), fPedestalLevelVariance(5), fNamePedPhotCam("MPedPhotCam") 91 91 { 92 92 fName = name ? name : gsDefName.Data(); -
trunk/MagicSoft/Mars/mfbase/MF.cc
r6903 r6905 547 547 // and double-inversion is no inversion 548 548 if (IsEnvDefined(env, prefix, "Inverted", print)) 549 if (GetEnvValue(env, prefix, "Inverted", print)==kTRUE)550 fF->SetInverted(kFALSE);549 if (GetEnvValue(env, prefix, "Inverted", kFALSE)==kTRUE) 550 SetInverted(kFALSE); 551 551 552 552 return kTRUE; -
trunk/MagicSoft/Mars/mhflux/MHAlpha.cc
r6890 r6905 197 197 if (fit.FitEnergy(fHAlpha, fOffData, i)) 198 198 { 199 fHEnergy.SetBinContent(i, fit.GetEventsExcess()); 200 fHEnergy.SetBinError(i, fit.GetEventsExcess()*0.2); 199 if (fit.GetSignificance()>1) 200 { 201 fHEnergy.SetBinContent(i, fit.GetEventsExcess()); 202 fHEnergy.SetBinError(i, fit.GetEventsExcess()/fit.GetSignificance()); 203 } 201 204 } 202 205 } … … 216 219 if (fit.FitTheta(fHAlpha, fOffData, i)) 217 220 { 218 fHTheta.SetBinContent(i, fit.GetEventsExcess()); 219 fHTheta.SetBinError(i, fit.GetEventsExcess()*0.2); 221 if (fit.GetSignificance()>1) 222 { 223 fHTheta.SetBinContent(i, fit.GetEventsExcess()); 224 fHTheta.SetBinError(i, fit.GetEventsExcess()/fit.GetSignificance()); 225 } 220 226 } 221 227 } … … 425 431 // 426 432 fHTime.SetBinContent(n+1, fit.GetEventsExcess()); 427 fHTime.SetBinError(n+1, fit.GetEventsExcess() *0.1);433 fHTime.SetBinError(n+1, fit.GetEventsExcess()/fit.GetSignificance()); 428 434 429 435 *fLog << all << *fTimeEffOn << ": " << fit.GetEventsExcess() << endl;
Note:
See TracChangeset
for help on using the changeset viewer.