Changeset 9318 for trunk/MagicSoft/Mars/mbase/MLut.h
- Timestamp:
- 02/11/09 17:35:54 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MLut.h
r9255 r9318 13 13 { 14 14 private: 15 UInt_t fMinEntries; 16 UInt_t fMaxEntries; 15 UInt_t fMinEntries; // The minimum entries per row 16 UInt_t fMaxEntries; // The maximum entries per row 17 17 18 Int_t fMaxIndex; 18 Int_t fMaxIndex; // The maximum index fount in the lut 19 19 20 20 MLut *GetInverse(Bool_t uniq=kTRUE) const; 21 21 22 22 public: 23 MLut() : fMinEntries(0), fMaxEntries(0) { SetOwner(); } 23 MLut() : fMinEntries(0), fMaxEntries(0), fMaxIndex(0) { SetOwner(); } 24 25 // TObjArry 26 void Delete(Option_t *option=""); 24 27 25 28 // MLut Getter 26 29 const MArrayI &GetRow(UInt_t i) const; 30 31 Int_t GetNumRows() const { return GetEntriesFast(); } 27 32 28 33 UInt_t GetMaxEntries() const { return fMaxEntries; } … … 31 36 Bool_t HasConstantLength() const { return fMinEntries==fMaxEntries; } 32 37 Bool_t IsEmpty() const { return fMaxEntries==0; } 38 Bool_t IsDefault() const; 33 39 34 // MLut conver tions40 // MLut conversions 35 41 void SetInverse(const MLut &lut, Bool_t uniq=kTRUE); 36 42 void Invert(Bool_t uniq=kTRUE); 43 44 // Setter 45 void SetDefault(UInt_t n); 37 46 38 47 // MLut I/O
Note:
See TracChangeset
for help on using the changeset viewer.