Changeset 6892 for trunk/MagicSoft/Mars/mhflux
- Timestamp:
- 03/29/05 11:42:03 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mhflux
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/FluxLinkDef.h
r6890 r6892 10 10 #pragma link C++ class MHEnergyEst+; 11 11 #pragma link C++ class MHFalseSource+; 12 #pragma link C++ class MHEnergyEst+;13 12 #pragma link C++ class MHEffectiveOnTime+; 14 13 -
trunk/MagicSoft/Mars/mhflux/MAlphaFitter.h
r6891 r6892 32 32 kSignificanceChi2, 33 33 kSignificanceLogExcess, 34 kSignificanceChi2,35 34 kSignificanceExcess, 36 35 kExcess -
trunk/MagicSoft/Mars/mhflux/MHFalseSource.cc
r6890 r6892 611 611 fHistOff->ProjectionZ("AlphaOff_z", maxx, maxx, maxy, maxy); 612 612 613 /* ============= local scaling ================ */ 613 614 const Int_t f = h0->GetXaxis()->FindFixBin(fBgMean-1.5*fAlphaCut); 614 615 const Int_t l = h0->GetXaxis()->FindFixBin(fAlphaCut*3)+f-1; … … 616 617 //h0->Scale(h1->GetEntries()/h0->GetEntries()); 617 618 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 */ 618 628 } 619 629 }
Note:
See TracChangeset
for help on using the changeset viewer.