Changeset 2207 for trunk/MagicSoft/Mars/mranforest
- Timestamp:
- 06/23/03 11:19:04 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/mranforest
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mranforest/MRanForestCalc.cc
r2173 r2207 91 91 // number of columns (with the same meaning). 92 92 // 93 Bool_t MRanForestCalc::PreProcess(MParList *plist)93 Int_t MRanForestCalc::PreProcess(MParList *plist) 94 94 { 95 95 fRanForest = (MRanForest*)plist->FindObject("MRanForest"); … … 137 137 // 138 138 // 139 Bool_t MRanForestCalc::Process()139 Int_t MRanForestCalc::Process() 140 140 { 141 141 // first copy the data from the data array to a vector event -
trunk/MagicSoft/Mars/mranforest/MRanForestCalc.h
r2071 r2207 24 24 MRanTree *fRanTree; 25 25 26 Int_t PreProcess(MParList *plist); 27 Int_t Process(); 28 26 29 public: 27 30 MRanForestCalc(const char *name=NULL, const char *title=NULL); … … 33 36 void SetUseNumTrees(UShort_t n=100) { fNum = n; } 34 37 35 Bool_t PreProcess(MParList *plist);36 Bool_t Process();37 38 38 ClassDef(MRanForestCalc, 0) // Task 39 39 }; -
trunk/MagicSoft/Mars/mranforest/MRanForestFill.cc
r2173 r2207 72 72 73 73 // -------------------------------------------------------------------------- 74 Bool_t MRanForestFill::PreProcess(MParList *plist)74 Int_t MRanForestFill::PreProcess(MParList *plist) 75 75 { 76 76 fRanTree = (MRanTree*)plist->FindObject("MRanTree"); … … 96 96 // 97 97 // 98 Bool_t MRanForestFill::Process()98 Int_t MRanForestFill::Process() 99 99 { 100 100 fNum++; … … 105 105 } 106 106 107 Bool_t MRanForestFill::PostProcess()107 Int_t MRanForestFill::PostProcess() 108 108 { 109 109 fRanForest->SetNumTrees(fNum); -
trunk/MagicSoft/Mars/mranforest/MRanForestFill.h
r2173 r2207 20 20 Int_t fNum; 21 21 22 Int_t PreProcess(MParList *plist); 23 Int_t Process(); 24 Int_t PostProcess(); 25 22 26 public: 23 27 MRanForestFill(const char *name=NULL, const char *title=NULL); … … 26 30 void SetNumTrees(UShort_t n=100) { fNumTrees = n; } 27 31 28 Bool_t PreProcess(MParList *plist);29 Bool_t Process();30 Bool_t PostProcess();31 32 32 ClassDef(MRanForestFill, 0) // Task 33 33 }; -
trunk/MagicSoft/Mars/mranforest/MRanForestGrow.cc
r2173 r2207 75 75 // number of columns (with the same meaning). 76 76 // 77 Bool_t MRanForestGrow::PreProcess(MParList *plist)77 Int_t MRanForestGrow::PreProcess(MParList *plist) 78 78 { 79 79 fMGammas = (MHMatrix*)plist->FindObject("MatrixGammas", "MHMatrix"); … … 122 122 // 123 123 // 124 Bool_t MRanForestGrow::Process()124 Int_t MRanForestGrow::Process() 125 125 { 126 126 Bool_t not_last=fRanForest->GrowForest(); … … 130 130 } 131 131 132 Bool_t MRanForestGrow::PostProcess()132 Int_t MRanForestGrow::PostProcess() 133 133 { 134 134 fRanTree->SetReadyToSave(); -
trunk/MagicSoft/Mars/mranforest/MRanForestGrow.h
r2071 r2207 31 31 Int_t fNdSize; 32 32 33 Int_t PreProcess(MParList *pList); 34 Int_t Process(); 35 Int_t PostProcess(); 36 33 37 public: 34 38 MRanForestGrow(const char *name=NULL, const char *title=NULL); … … 38 42 void SetNdSize(Int_t n) { fNdSize=n; } 39 43 40 Bool_t PreProcess(MParList *pList);41 Bool_t Process();42 Bool_t PostProcess();43 44 44 ClassDef(MRanForestGrow, 0) // Task to grow a random forest 45 45 };
Note:
See TracChangeset
for help on using the changeset viewer.