Changeset 7424 for trunk/MagicSoft/Mars/mranforest/MRanForest.h
- Timestamp:
- 11/22/05 16:42:11 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mranforest/MRanForest.h
r7420 r7424 73 73 MRanForest(const char *name=NULL, const char *title=NULL); 74 74 MRanForest(const MRanForest &rf); 75 ~MRanForest(); 75 76 76 ~MRanForest();77 void Print(Option_t *o="") const; //*MENU* 77 78 78 79 void SetGrid(const TArrayD &grid); … … 94 95 95 96 // getter methods 96 TObjArray *GetForest() { return fForest; }97 MRanTree *GetCurTree() { return fRanTree; }98 MRanTree *GetTree(Int_t i) ;99 MDataArray *GetRules() { return fRules; }97 TObjArray *GetForest() const { return fForest; } 98 MRanTree *GetCurTree() const { return fRanTree; } 99 MRanTree *GetTree(Int_t i) const { return static_cast<MRanTree*>(fForest->UncheckedAt(i)); } 100 MDataArray *GetRules() const { return fRules; } 100 101 101 102
Note:
See TracChangeset
for help on using the changeset viewer.