Ignore:
Timestamp:
10/21/04 09:03:53 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r5100 r5300  
    299299        return;
    300300
    301     const Int_t steps = 6;
     301    const Int_t steps = 10;
    302302
    303303    static int rebin = steps;
     
    398398void MHAlpha::PaintText(Double_t val, Double_t error) const
    399399{
    400     TLatex text(0.45, 0.94, Form("N_{exc} = %.1fs \\pm %.1fs", val, error));
     400    TLatex text(0.45, 0.94, Form("N_{exc} = %.1f \\pm %.1f", val, error));
    401401    text.SetBit(TLatex::kTextNDC);
    402402    text.SetTextSize(0.04);
     
    463463    if (o==(TString)"energy")
    464464    {
    465         if (fHEnergy.GetEntries()>10)
     465        if (fHEnergy.GetMaximum()>1)
    466466        {
    467467            gPad->SetLogx();
     
    542542    // Store the final result in fFit
    543543    TH1D *h = fHAlpha.ProjectionZ("AlphaExc_px", -1, 9999, -1, 9999, "E");
     544    h->SetDirectory(0);
    544545    fFit.Print();
    545546    Bool_t rc = fFit.Fit(*h);
Note: See TracChangeset for help on using the changeset viewer.