- Timestamp:
- 11/03/19 14:17:22 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/fact/analysis/gain/fit_spectra.C
r17199 r19860 331 331 //--------------------- fill sum spectrum -------------------------------- 332 332 333 d->SetStatusLine ("Calculating sum spectrum", 0);333 d->SetStatusLine1("Calculating sum spectrum"); 334 334 335 335 // Begin of Loop over Pixels … … 434 434 { 435 435 // User information 436 d->SetStatusLine (Form("Fitting pixel #%d", pixel), 0);436 d->SetStatusLine1(Form("Fitting pixel #%d", pixel)); 437 437 d->SetProgressBarPosition((pixel+1.)/hsignal->GetNbinsX(), 1); 438 438 … … 605 605 hCoeffR1.Fill( fCoeffR); 606 606 607 if ( !pmap.index(pixel).isTM())607 if (pmap.index(pixel).pixel()!=8) 608 608 { 609 609 hRate2.Fill( fRate); … … 624 624 hSumScale1.Fill((hist->GetBinCenter(b)-fOffset)/fGain, hist->GetBinContent(b)); 625 625 626 if ( !pmap.index(pixel).isTM())626 if (pmap.index(pixel).pixel()!=8) 627 627 for (int b=1; b<=hist->GetNbinsX(); b++) 628 628 hSumScale2.Fill((hist->GetBinCenter(b)-fOffset)/fGain, hist->GetBinContent(b)); … … 633 633 hist = hsignal->ProjectionY("proj", pixel+1, pixel+1); 634 634 hSumClear1.Add(hist); 635 if ( !pmap.index(pixel).isTM())635 if (pmap.index(pixel).pixel()!=8) 636 636 hSumClear2.Add(hist); 637 637 delete hist;
Note:
See TracChangeset
for help on using the changeset viewer.