Changeset 19268


Ignore:
Timestamp:
Oct 22, 2018, 8:54:10 PM (3 months ago)
Author:
tbretz
Message:
Fixed another issue pointed out by the YIT compiler.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/fact/processing/numevents.C

    r19267 r19268  
    132132        return 2;
    133133    }
    134     const MAlphaFitter &fit = halphaon->GetAlphaFitter();
    135     if (!&fit)
     134    const MAlphaFitter *fit = &halphaon->GetAlphaFitter();
     135    if (!fit)
    136136    {
    137137        cout << "WARNING - Reading of MAlphaFitter failed, file " << gfile << endl;
     
    141141    //check if the excess events number is small and close to 0
    142142    //due to the computer precision error when subtracting sig and bg events
    143     fNumBgEvts  = fit.GetEventsBackground();
    144     fNumSigEvts = fit.GetEventsSignal();
    145     fNumExcEvts = fit.GetEventsExcess();
     143    fNumBgEvts  = fit->GetEventsBackground();
     144    fNumSigEvts = fit->GetEventsSignal();
     145    fNumExcEvts = fit->GetEventsExcess();
    146146    fNumExcEvts = fabs(fNumExcEvts)<1e-5 ? 0 : fNumExcEvts;
    147147
Note: See TracChangeset for help on using the changeset viewer.