Ignore:
Timestamp:
06/14/08 16:55:58 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjtrain/MJTrainSeparation.cc

    r8888 r8957  
    227227        const Float_t s = gx->Integral(1, y+1);
    228228        const Float_t b = hx->Integral(1, y+1);
    229         const Float_t sig1 = MMath::SignificanceLiMa(s+b, b);
    230         const Float_t sig2 = s<1 ? 0 : MMath::SignificanceLiMa(s+b, b)*TMath::Log10(s);
    231 
    232         gr3.SetPoint(y, h.GetYaxis()->GetBinLowEdge(y+2), sig1);
    233         gr4.SetPoint(y, h.GetYaxis()->GetBinLowEdge(y+2), sig2);
     229        const Float_t sg1 = MMath::SignificanceLiMa(s+b, b);
     230        const Float_t sg2 = s<1 ? 0 : MMath::SignificanceLiMa(s+b, b)*TMath::Log10(s);
     231
     232        gr3.SetPoint(y, h.GetYaxis()->GetBinLowEdge(y+2), sg1);
     233        gr4.SetPoint(y, h.GetYaxis()->GetBinLowEdge(y+2), sg2);
    234234    }
    235235    delete hx;
Note: See TracChangeset for help on using the changeset viewer.