Changeset 6888 for trunk/MagicSoft/Mars/mhflux
- Timestamp:
- 03/24/05 11:22:20 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mhflux
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/MAlphaFitter.cc
r6874 r6888 501 501 case kSignificanceChi2: 502 502 return -GetSignificance()/GetChiSqSignal(); 503 case kSignificanceExcess: 504 return -GetSignificance()*GetEventsExcess(); 505 case kExcess: 506 return -GetEventsExcess(); 503 507 } 504 508 return 0; … … 557 561 if (txt==(TString)"significancechi2") 558 562 fStrategy = kSignificanceChi2; 563 if (txt==(TString)"significanceexcess") 564 fStrategy = kSignificanceExcess; 565 if (txt==(TString)"excess") 566 fStrategy = kExcess; 559 567 rc = kTRUE; 560 568 } -
trunk/MagicSoft/Mars/mhflux/MAlphaFitter.h
r6874 r6888 30 30 enum Strategy_t { 31 31 kSignificance, 32 kSignificanceChi2 32 kSignificanceChi2, 33 kSignificanceExcess, 34 kExcess 33 35 }; 34 36 private:
Note:
See TracChangeset
for help on using the changeset viewer.