Changeset 1465 for trunk/MagicSoft/Mars/mhist/MBinning.h
- Timestamp:
- 08/01/02 09:31:18 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MBinning.h
r1215 r1465 10 10 #endif 11 11 12 class TH1; 13 12 14 class MBinning : public MParContainer 13 15 { … … 20 22 void SetEdges(const TArrayD &arr) 21 23 { 22 fEdges = arr;/* 23 const Int_t nbins = arr.GetSize(); 24 fEdges.Set(nbins); 25 for (int i=0; i<nbins; i++) 26 fEdges[i] = (*(TArrayD*)(&arr))[i];*/ 24 fEdges = arr; 27 25 } 28 26 … … 54 52 Double_t *GetEdges() const { return fEdges.GetArray(); } 55 53 54 void Apply(TH1 &); 55 56 56 ClassDef(MBinning, 1) //Container to store the binning of a histogram 57 57 };
Note:
See TracChangeset
for help on using the changeset viewer.