Changeset 3156 for trunk/MagicSoft


Ignore:
Timestamp:
02/15/04 17:42:51 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhbase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhbase/MH.cc

    r3153 r3156  
    941941    if (nbins > 0)
    942942      {
    943         const Int_t ngroup = (int)(nbins2*h->GetNbinsX()/nbins/(max1-min1));
     943        const Int_t ngroup = (Int_t)(nbins2*h->GetNbinsX()/nbins/(max1-min1));
    944944        if (ngroup > 1)
    945945          {
  • trunk/MagicSoft/Mars/mhbase/MH.h

    r3112 r3156  
    9090    static void FindGoodLimits(Int_t nbins, Int_t &newbins, Double_t &xmin, Double_t &xmax, Bool_t isInteger);
    9191    static Double_t GetMinimumGT(const TH1 &h, Double_t gt=0);
    92     static Int_t CutEdges(TH1 *h, Int_t nbins);
     92    static Int_t StripZeros(TH1 *h, Int_t nbins);
    9393
    9494    static TH1I* ProjectArray(const TArrayF &array, Int_t nbins=30,
Note: See TracChangeset for help on using the changeset viewer.