Changeset 3156 for trunk/MagicSoft/Mars/mhbase
- Timestamp:
- 02/15/04 17:42:51 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mhbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhbase/MH.cc
r3153 r3156 941 941 if (nbins > 0) 942 942 { 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)); 944 944 if (ngroup > 1) 945 945 { -
trunk/MagicSoft/Mars/mhbase/MH.h
r3112 r3156 90 90 static void FindGoodLimits(Int_t nbins, Int_t &newbins, Double_t &xmin, Double_t &xmax, Bool_t isInteger); 91 91 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); 93 93 94 94 static TH1I* ProjectArray(const TArrayF &array, Int_t nbins=30,
Note:
See TracChangeset
for help on using the changeset viewer.