Ignore:
Timestamp:
06/23/03 11:19:04 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mranforest
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mranforest/MRanForestCalc.cc

    r2173 r2207  
    9191// number of columns (with the same meaning).
    9292//
    93 Bool_t MRanForestCalc::PreProcess(MParList *plist)
     93Int_t MRanForestCalc::PreProcess(MParList *plist)
    9494{
    9595    fRanForest = (MRanForest*)plist->FindObject("MRanForest");
     
    137137//
    138138//
    139 Bool_t MRanForestCalc::Process()
     139Int_t MRanForestCalc::Process()
    140140{
    141141    // first copy the data from the data array to a vector event
  • trunk/MagicSoft/Mars/mranforest/MRanForestCalc.h

    r2071 r2207  
    2424    MRanTree    *fRanTree;
    2525
     26    Int_t PreProcess(MParList *plist);
     27    Int_t Process();
     28
    2629public:
    2730    MRanForestCalc(const char *name=NULL, const char *title=NULL);
     
    3336    void SetUseNumTrees(UShort_t n=100) { fNum = n; }
    3437
    35     Bool_t PreProcess(MParList *plist);
    36     Bool_t Process();
    37 
    3838    ClassDef(MRanForestCalc, 0) // Task
    3939};
  • trunk/MagicSoft/Mars/mranforest/MRanForestFill.cc

    r2173 r2207  
    7272
    7373// --------------------------------------------------------------------------
    74 Bool_t MRanForestFill::PreProcess(MParList *plist)
     74Int_t MRanForestFill::PreProcess(MParList *plist)
    7575{
    7676    fRanTree = (MRanTree*)plist->FindObject("MRanTree");
     
    9696//
    9797//
    98 Bool_t MRanForestFill::Process()
     98Int_t MRanForestFill::Process()
    9999{
    100100    fNum++;
     
    105105}
    106106
    107 Bool_t MRanForestFill::PostProcess()
     107Int_t MRanForestFill::PostProcess()
    108108{
    109109    fRanForest->SetNumTrees(fNum);
  • trunk/MagicSoft/Mars/mranforest/MRanForestFill.h

    r2173 r2207  
    2020    Int_t fNum;
    2121
     22    Int_t PreProcess(MParList *plist);
     23    Int_t Process();
     24    Int_t PostProcess();
     25
    2226public:
    2327    MRanForestFill(const char *name=NULL, const char *title=NULL);
     
    2630    void SetNumTrees(UShort_t n=100) { fNumTrees = n; }
    2731
    28     Bool_t PreProcess(MParList *plist);
    29     Bool_t Process();
    30     Bool_t PostProcess();
    31 
    3232    ClassDef(MRanForestFill, 0) // Task
    3333};
  • trunk/MagicSoft/Mars/mranforest/MRanForestGrow.cc

    r2173 r2207  
    7575// number of columns (with the same meaning).
    7676//
    77 Bool_t MRanForestGrow::PreProcess(MParList *plist)
     77Int_t MRanForestGrow::PreProcess(MParList *plist)
    7878{
    7979    fMGammas = (MHMatrix*)plist->FindObject("MatrixGammas", "MHMatrix");
     
    122122//
    123123//
    124 Bool_t MRanForestGrow::Process()
     124Int_t MRanForestGrow::Process()
    125125{
    126126    Bool_t not_last=fRanForest->GrowForest();
     
    130130}
    131131
    132 Bool_t MRanForestGrow::PostProcess()
     132Int_t MRanForestGrow::PostProcess()
    133133{
    134134    fRanTree->SetReadyToSave();
  • trunk/MagicSoft/Mars/mranforest/MRanForestGrow.h

    r2071 r2207  
    3131    Int_t fNdSize;
    3232
     33    Int_t PreProcess(MParList *pList);
     34    Int_t Process();
     35    Int_t PostProcess();
     36
    3337public:
    3438    MRanForestGrow(const char *name=NULL, const char *title=NULL);
     
    3842    void SetNdSize(Int_t n)  {    fNdSize=n;  }
    3943
    40     Bool_t PreProcess(MParList *pList);
    41     Bool_t Process();
    42     Bool_t PostProcess();
    43 
    4444    ClassDef(MRanForestGrow, 0) // Task to grow a random forest
    4545};
Note: See TracChangeset for help on using the changeset viewer.