Changeset 18957 for trunk/Mars/mhflux


Ignore:
Timestamp:
03/25/18 16:32:05 (7 years ago)
Author:
tbretz
Message:
Improved compiler warnings.
File:
1 edited

Legend:

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

    r18888 r18957  
    583583                if (hoff)
    584584                {
    585                     TH1D *dum = fOffData->ProjectionZ("dumxy", 0, fOffData->GetNbinsX()+1, 0, fOffData->GetNbinsY()+1);
    586                     dum->SetDirectory(0);
     585                    TH1D *dum2 = fOffData->ProjectionZ("dumxy", 0, fOffData->GetNbinsX()+1, 0, fOffData->GetNbinsY()+1);
     586                    dum2->SetDirectory(0);
    587587                    hoff->Reset();
    588                     hoff->Add(dum);
    589                     delete dum;
     588                    hoff->Add(dum2);
     589                    delete dum2;
    590590
    591591                    const Double_t alpha = fFit.Scale(*hoff, *hon);
Note: See TracChangeset for help on using the changeset viewer.