Changeset 9944 for trunk/Mars


Ignore:
Timestamp:
09/28/10 10:12:09 (14 years ago)
Author:
tbretz
Message:
Changed number of bins of the 2D histograms to an odd value to get a bin at 0
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/msim/MHPhotonEvent.cc

    r9936 r9944  
    146146    Init(name, title);
    147147
    148     const MBinning binsd(50, -max, max);
    149     const MBinning binsa(50, -1,   1);
     148    const MBinning binsd(51, -max, max);
     149    const MBinning binsa(51, -1,   1);
    150150
    151151    SetBinning(fHistXY, binsd, binsd);
     
    165165    Init(name, title);
    166166
    167     const MBinning bins(50, -1, 1);
     167    const MBinning bins(51, -1, 1);
    168168
    169169    SetBinning(fHistUV, bins, bins);
     
    182182    MH::FindGoodLimits(num, num, min, max, kFALSE);
    183183
    184     const MBinning binsd(num, min, max);
     184    const MBinning binsd(num+1, min, max);
    185185
    186186    SetBinning(fHistXY, binsd, binsd);
Note: See TracChangeset for help on using the changeset viewer.