Changeset 8957 for trunk/MagicSoft/Mars/mjtrain
- Timestamp:
- 06/14/08 16:55:58 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjtrain/MJTrainSeparation.cc
r8888 r8957 227 227 const Float_t s = gx->Integral(1, y+1); 228 228 const Float_t b = hx->Integral(1, y+1); 229 const Float_t s ig1 = MMath::SignificanceLiMa(s+b, b);230 const Float_t s ig2 = s<1 ? 0 : MMath::SignificanceLiMa(s+b, b)*TMath::Log10(s);231 232 gr3.SetPoint(y, h.GetYaxis()->GetBinLowEdge(y+2), s ig1);233 gr4.SetPoint(y, h.GetYaxis()->GetBinLowEdge(y+2), s ig2);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); 234 234 } 235 235 delete hx;
Note:
See TracChangeset
for help on using the changeset viewer.