Ignore:
Timestamp:
03/20/06 18:05:27 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhflux/MAlphaFitter.cc

    r7442 r7618  
    3636// Version 2:
    3737// ----------
    38 //  +Double_t fSignificanceExc;  // significance of excess
     38//  + Double_t fSignificanceExc;  // significance of a known excess
    3939//
    4040//
     
    276276    f.SetMuStep(0.05);
    277277    f.SetMuMax(100);
     278    f.SetMuMin(0);
     279    f.SetCL(90);
     280
    278281    return f.CalculateUpperLimit(fEventsSignal, fEventsBackground);
    279282}
     
    587590    case kGaussSigma:
    588591        return GetGausSigma();
     592    case kWeakSource:
     593        return GetEventsBackground()<1 ? -GetEventsExcess() : -GetEventsExcess()/TMath::Sqrt(GetEventsBackground());
    589594    }
    590595    return 0;
     
    649654        if (txt==(TString)"gausssigma" || txt==(TString)"gaussigma")
    650655            fStrategy = kGaussSigma;
     656        if (txt==(TString)"weaksource")
     657            fStrategy = kWeakSource;
    651658        rc = kTRUE;
    652659    }
Note: See TracChangeset for help on using the changeset viewer.