Ignore:
Timestamp:
03/29/05 11:42:03 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhflux
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhflux/FluxLinkDef.h

    r6890 r6892  
    1010#pragma link C++ class MHEnergyEst+;
    1111#pragma link C++ class MHFalseSource+;
    12 #pragma link C++ class MHEnergyEst+;
    1312#pragma link C++ class MHEffectiveOnTime+;
    1413
  • trunk/MagicSoft/Mars/mhflux/MAlphaFitter.h

    r6891 r6892  
    3232        kSignificanceChi2,
    3333        kSignificanceLogExcess,
    34         kSignificanceChi2,
    3534        kSignificanceExcess,
    3635        kExcess
  • trunk/MagicSoft/Mars/mhflux/MHFalseSource.cc

    r6890 r6892  
    611611                fHistOff->ProjectionZ("AlphaOff_z", maxx, maxx, maxy, maxy);
    612612
     613                /* ============= local scaling ================ */
    613614                const Int_t f = h0->GetXaxis()->FindFixBin(fBgMean-1.5*fAlphaCut);
    614615                const Int_t l = h0->GetXaxis()->FindFixBin(fAlphaCut*3)+f-1;
     
    616617                //h0->Scale(h1->GetEntries()/h0->GetEntries());
    617618
     619                /* ============= global scaling ================
     620                const Int_t f = fHistOff->GetZaxis()->FindFixBin(fBgMean-1.5*fAlphaCut);
     621                const Int_t l = fHistOff->GetZaxis()->FindFixBin(fAlphaCut*3)+f-1;
     622
     623                Double_t c0 = fHist.Integral(0, 9999, 0, 9999, f, l);
     624                Double_t c1 = fHistOff->Integral(0, 9999, 0, 9999, f, l);
     625
     626                h0->Scale(c0/c1);
     627                */
    618628            }
    619629        }
Note: See TracChangeset for help on using the changeset viewer.