Changeset 7618 for trunk/MagicSoft/Mars/mhflux/MAlphaFitter.cc
- Timestamp:
- 03/20/06 18:05:27 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/MAlphaFitter.cc
r7442 r7618 36 36 // Version 2: 37 37 // ---------- 38 // + Double_t fSignificanceExc; // significance ofexcess38 // + Double_t fSignificanceExc; // significance of a known excess 39 39 // 40 40 // … … 276 276 f.SetMuStep(0.05); 277 277 f.SetMuMax(100); 278 f.SetMuMin(0); 279 f.SetCL(90); 280 278 281 return f.CalculateUpperLimit(fEventsSignal, fEventsBackground); 279 282 } … … 587 590 case kGaussSigma: 588 591 return GetGausSigma(); 592 case kWeakSource: 593 return GetEventsBackground()<1 ? -GetEventsExcess() : -GetEventsExcess()/TMath::Sqrt(GetEventsBackground()); 589 594 } 590 595 return 0; … … 649 654 if (txt==(TString)"gausssigma" || txt==(TString)"gaussigma") 650 655 fStrategy = kGaussSigma; 656 if (txt==(TString)"weaksource") 657 fStrategy = kWeakSource; 651 658 rc = kTRUE; 652 659 }
Note:
See TracChangeset
for help on using the changeset viewer.