Changeset 19860


Ignore:
Timestamp:
Nov 3, 2019, 2:17:22 PM (11 months ago)
Author:
tbretz
Message:
Fixed some compile issues.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/fact/analysis/gain/fit_spectra.C

    r17199 r19860  
    331331    //--------------------- fill sum spectrum --------------------------------
    332332
    333     d->SetStatusLine("Calculating sum spectrum", 0);
     333    d->SetStatusLine1("Calculating sum spectrum");
    334334
    335335    // Begin of Loop over Pixels
     
    434434    {
    435435        // User information
    436         d->SetStatusLine(Form("Fitting pixel #%d", pixel), 0);
     436        d->SetStatusLine1(Form("Fitting pixel #%d", pixel));
    437437        d->SetProgressBarPosition((pixel+1.)/hsignal->GetNbinsX(), 1);
    438438
     
    605605        hCoeffR1.Fill(    fCoeffR);
    606606
    607         if (!pmap.index(pixel).isTM())
     607        if (pmap.index(pixel).pixel()!=8)
    608608        {
    609609            hRate2.Fill(      fRate);
     
    624624            hSumScale1.Fill((hist->GetBinCenter(b)-fOffset)/fGain, hist->GetBinContent(b));
    625625
    626         if (!pmap.index(pixel).isTM())
     626        if (pmap.index(pixel).pixel()!=8)
    627627            for (int b=1; b<=hist->GetNbinsX(); b++)
    628628                hSumScale2.Fill((hist->GetBinCenter(b)-fOffset)/fGain, hist->GetBinContent(b));
     
    633633        hist = hsignal->ProjectionY("proj", pixel+1, pixel+1);
    634634        hSumClear1.Add(hist);
    635         if (!pmap.index(pixel).isTM())
     635        if (pmap.index(pixel).pixel()!=8)
    636636            hSumClear2.Add(hist);
    637637        delete hist;
Note: See TracChangeset for help on using the changeset viewer.