Ignore:
Timestamp:
03/27/03 11:37:39 (22 years ago)
Author:
hengsteb
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhist/MHRanForestGini.cc

    r1866 r1870  
    4141#include "MParList.h"
    4242#include "MBinning.h"
     43#include "MRanTree.h"
    4344#include "MRanForest.h"
    4445
    4546#include "MLog.h"
    4647#include "MLogManip.h"
    47 
    48 #include "MMcEvt.hxx"
    4948
    5049ClassImp(MHRanForestGini);
     
    8483Bool_t MHRanForestGini::SetupFill(const MParList *plist)
    8584{
    86     fMcEvt = (MMcEvt*)plist->FindObject("MMcEvt");
    87     if (!fMcEvt)
    88     {
    89         *fLog << err << dbginf << "MMcEvt not found... aborting." << endl;
    90         return kFALSE;
    91     }
    92 
    9385    fRanForest = (MRanForest*)plist->FindObject("MRanForest");
    9486    if (!fRanForest)
     
    111103{
    112104    for (Int_t i=0;i<fRanForest->GetNumDim();i++)
    113         fGini[i]+=fRanForest->GetGiniDec(i);
     105        fGini[i]+=fRanForest->GetCurTree()->GetGiniDec(i);
    114106
    115107    return kTRUE;
     
    163155    {
    164156        g.GetXaxis()->SetRangeUser(0, fRanForest->GetNumTrees());
    165         g.GetXaxis()->SetTitle("No. of RF-input parameter parameter");
     157        g.GetXaxis()->SetTitle("No. of RF-input parameter");
    166158        g.GetYaxis()->SetTitle("Mean decrease in Gini-index [a.u.]");
    167159        g.SetMarkerStyle(kFullDotlarge);
     
    193185    {
    194186        fGraphGini->GetXaxis()->SetRangeUser(0, 1);
    195         fGraphGini->GetXaxis()->SetTitle("No. of parameter");
     187        fGraphGini->GetXaxis()->SetTitle("No. of RF-input parameter");
    196188        fGraphGini->GetYaxis()->SetTitle("Mean decrease in Gini-index [a.u.]");
    197189
Note: See TracChangeset for help on using the changeset viewer.