Changeset 7384 for trunk/MagicSoft/Mars/mhflux/MAlphaFitter.cc
- Timestamp:
- 10/10/05 12:26:49 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/MAlphaFitter.cc
r7224 r7384 60 60 { 61 61 fSignificance=0; 62 fSignificanceExc=0; 62 63 fEventsExcess=0; 63 64 fEventsSignal=0; … … 216 217 fEventsExcess = fEventsSignal-fEventsBackground; 217 218 fSignificance = MMath::SignificanceLiMaSigned(fEventsSignal, fEventsBackground); 219 fSignificanceExc = MMath::SignificanceLiMaExc(fEventsSignal, fEventsBackground); 218 220 219 221 if (TMath::IsNaN(fSignificance)) … … 250 252 fScaleFactor = alpha; 251 253 fSignificance = MMath::SignificanceLiMaSigned(fEventsSignal, fEventsBackground/alpha, alpha); 254 fSignificanceExc = MMath::SignificanceLiMaExc(fEventsSignal, fEventsBackground/alpha, alpha); 252 255 253 256 if (TMath::IsNaN(fSignificance)) … … 304 307 // Result 305 308 f.fSignificance = fSignificance; 309 f.fSignificanceExc = fSignificanceExc; 306 310 f.fEventsExcess = fEventsExcess; 307 311 f.fEventsSignal = fEventsSignal;
Note:
See TracChangeset
for help on using the changeset viewer.