Changeset 8988 for trunk/MagicSoft/Mars/mhflux
- Timestamp:
- 06/30/08 10:37:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/MHThreshold.cc
r8911 r8988 116 116 TH1D h(fHEnergy); 117 117 118 #if ROOT_VERSION_CODE<ROOT_VERSION(5,20,00) 118 119 Int_t min=1; 119 120 while (min<h.GetNbinsX() && h.GetBinContent(min)==0) … … 127 128 128 129 h.Smooth(1, min, max); 130 #else 131 h.Smooth(1); 132 #endif 129 133 130 134 const Int_t bin = h.GetMaximumBin();
Note:
See TracChangeset
for help on using the changeset viewer.