Changeset 5692 for trunk/MagicSoft/Mars/mhbase
- Timestamp:
- 01/03/05 12:02:16 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mhbase
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhbase/MBinning.h
r5143 r5692 38 38 MBinning(const char *name=NULL, const char *title=NULL); 39 39 MBinning(Int_t nbins, Axis_t lo, Axis_t hi, const char *name=0, const char *opt="", const char *title=NULL); 40 MBinning(const MBinning &bins) { SetEdges(bins); } 41 42 void Copy(TObject &named) const 43 { 44 MBinning &bins = (MBinning&)named; 45 bins.SetEdges(*this); 46 } 40 47 41 48 void SetEdges(const TArrayD &arr) 42 49 { 43 50 fEdges = arr; 44 fType = kIsUserArray;51 fType = kIsUserArray; 45 52 } 46 53 47 54 void SetEdges(const TAxis &axe); 48 void SetEdges(const MBinning &bins) { SetEdges( fEdges); }55 void SetEdges(const MBinning &bins) { SetEdges(bins.fEdges); fType = bins.fType; } 49 56 void SetEdges(const TH1 &h, const Char_t axis='x'); 50 57 void SetEdges(const Int_t nbins, const Axis_t lo, Axis_t up); -
trunk/MagicSoft/Mars/mhbase/MHMatrix.cc
r5100 r5692 160 160 } 161 161 162 const Int_t idx = fData->FindRule(rule); 163 if (idx>=0) 164 return idx; 165 162 166 fData->AddEntry(rule); 163 167 return fData->GetNumEntries()-1; -
trunk/MagicSoft/Mars/mhbase/MHMatrix.h
r4646 r5692 115 115 void ReduceRows(UInt_t num); 116 116 117 ClassDef(MHMatrix, 1) // Multidimensional Matrix to store events117 ClassDef(MHMatrix, 1) // Multidimensional Matrix (TMatrix) to store events 118 118 }; 119 119
Note:
See TracChangeset
for help on using the changeset viewer.