Changeset 7384 for trunk/MagicSoft/Mars/mhflux
- Timestamp:
- 10/10/05 12:26:49 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/mhflux
- Files:
-
- 2 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; -
trunk/MagicSoft/Mars/mhflux/MAlphaFitter.h
r7185 r7384 54 54 // Result 55 55 Double_t fSignificance; // significance of signal 56 Double_t fSignificanceExc; // significance of excess 56 57 Double_t fEventsExcess; // calculated number of excess events (signal-bg) 57 58 Double_t fEventsSignal; // calculated number of signal events … … 154 155 155 156 Double_t GetSignificance() const { return fSignificance; } 157 Double_t GetSignificanceExc() const { return fSignificanceExc; } 156 158 Double_t GetChiSqSignal() const { return fChiSqSignal; } 157 159 Double_t GetChiSqBg() const { return fChiSqBg; }
Note:
See TracChangeset
for help on using the changeset viewer.