Changeset 2326 for trunk/MagicSoft/Mars/mhist
- Timestamp:
- 09/08/03 10:58:52 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHOnSubtraction.cc
r2282 r2326 332 332 upperBin = alphaHisto.GetXaxis()->FindBin( signalRegionFactor*gausSigma+gausMean); 333 333 334 lowerBin = alphaHisto.GetBinLowEdge( lowerBin);335 upperBin = alphaHisto.GetBinLowEdge( upperBin)+alphaHisto.GetBinWidth(upperBin);334 lowerBin = alphaHisto.GetBinLowEdge((Int_t)lowerBin); 335 upperBin = alphaHisto.GetBinLowEdge((Int_t)upperBin)+alphaHisto.GetBinWidth((Int_t)upperBin); 336 336 337 337 sigLiMa = CalcSignificance(nOnInt, nOffInt, 1); … … 388 388 389 389 TF1* po; 390 po = NULL; 390 391 391 392 if (gausPol) { … … 642 643 643 644 fChiSquareHisto = new TH1D("fChiSquareHisto", "#chi^{2}/d.o.f. of fits", 50, 0, 5); 644 fSignificanceHisto = new TH1D("fSignificanceHisto", "Significances", 4 0.5, -0.5, 41);645 fSignificanceHisto = new TH1D("fSignificanceHisto", "Significances", 41, -0.5, 40.5); 645 646 fSummedAlphaPlots = new TH1D("fSummedAlphaPlots", "Cumulative Alpha", 646 647 alphaBins,aetHisto->GetXaxis()->GetBinLowEdge(1), … … 1490 1491 fChiSquareHisto = new TH1D("fChiSquareHisto", "#chi^{2}/d.o.f. of fits", 50, 0, 5); 1491 1492 if (fSignificanceHisto==0x0) 1492 fSignificanceHisto = new TH1D("fSignificanceHisto", "Significances", 4 0.5, -0.5, 41);1493 fSignificanceHisto = new TH1D("fSignificanceHisto", "Significances", 41, -0.5, 40.5); 1493 1494 if (fSummedAlphaPlots==0x0) 1494 1495 fSummedAlphaPlots = new TH1D("fSummedAlphaPlots", "Cumulative Alpha",
Note:
See TracChangeset
for help on using the changeset viewer.