Changeset 1866


Ignore:
Timestamp:
03/24/03 15:13:14 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MRanTree.cc

    r1859 r1866  
    3232/////////////////////////////////////////////////////////////////////////////
    3333#include "MRanTree.h"
    34 #include <iostream>
     34
     35#include <ostream.h>
     36
     37#include <TVector.h>
     38#include <TMatrix.h>
     39#include <TRandom.h>
     40
     41#include "MDataArray.h"
     42
    3543ClassImp(MRanTree);
    3644
     
    4957    // minimum nodesize of terminal nodes
    5058    fNdSize=TMath::Max(1,n);//at least 1 event per node
    51 
    52     return;
    5359}
    5460
     
    6167    if(fData)
    6268        fNumTry=TMath::Min(fData->GetNumEntries(),n);
    63 
    64     return;
    6569}
    6670
     
    128132    fTreeMap2.Set(fNumNodes);
    129133    fBestSplit.Set(fNumNodes);
    130 
    131     return;
    132134}
    133135
     
    450452{
    451453    fData=rules;
    452 
    453     return;
    454454}
    455455
  • trunk/MagicSoft/Mars/manalysis/MRanTree.h

    r1858 r1866  
    44#ifndef MARS_MParContainer
    55#include "MParContainer.h"
    6 #endif
    7 
    8 #ifndef MARS_MDataArray
    9 #include "MDataArray.h"
    10 #endif
    11 
    12 #ifndef ROOT_TRandom
    13 #include <TRandom.h>
    146#endif
    157
     
    2214#endif
    2315
    24 #ifndef ROOT_TMatrix
    25 #include <TMatrix.h>
    26 #endif
    27 
    28 #ifndef ROOT_TVector
    29 #include <TVector.h>
    30 #endif
     16class TMatrix;
     17class TVector;
     18class TRandom;
     19class MDataArray;
    3120
    3221class MRanTree : public MParContainer
  • trunk/MagicSoft/Mars/mhist/MHRanForest.cc

    r1859 r1866  
    214214    }   
    215215}
    216 void MHRanForest::Print(Option_t *) const
    217 {
    218     return;
    219 }
  • trunk/MagicSoft/Mars/mhist/MHRanForest.h

    r1859 r1866  
    66#endif
    77
    8 #ifndef TArrayF
    9 #include "TArrayF.h"
     8#ifndef ROOT_TArrayF
     9#include <TArrayF.h>
    1010#endif
    1111
     
    1919{
    2020private:
    21     const MMcEvt *fMcEvt;
    22     const MRanForest *fRanForest;
     21    const MMcEvt *fMcEvt;           //!
     22    const MRanForest *fRanForest;   //!
    2323
    24     TArrayF fSigma;
    25     Int_t fNumEvent;
    26     TGraph *fGraphSigma;
     24    TArrayF fSigma;                 //!
     25    Int_t fNumEvent;                //!
     26    TGraph *fGraphSigma;            //->
    2727
    2828public:
     
    3030    ~MHRanForest();
    3131
    32     TGraph *GetGrphSigma() const  { return fGraphSigma; }
     32    TGraph *GetGraphSigma() const  { return fGraphSigma; }
    3333
    3434    Bool_t SetupFill(const MParList *plist);
    3535    Bool_t Fill(const MParContainer *par);
    3636    Bool_t Finalize();
    37 
    38     void Print(Option_t *option="") const;
    3937
    4038    void Draw(Option_t *opt="");
  • trunk/MagicSoft/Mars/mhist/MHRanForestGini.cc

    r1859 r1866  
    202202    }
    203203}
    204 void MHRanForestGini::Print(Option_t *) const
    205 {
    206     return;
    207 }
  • trunk/MagicSoft/Mars/mhist/MHRanForestGini.h

    r1859 r1866  
    66#endif
    77
    8 #ifndef TArrayF
    9 #include "TArrayF.h"
     8#ifndef ROOT_TArrayF
     9#include <TArrayF.h>
    1010#endif
    1111
     
    1919{
    2020private:
    21     const MMcEvt *fMcEvt;
    22     const MRanForest *fRanForest;
     21    const MMcEvt *fMcEvt;          //!
     22    const MRanForest *fRanForest;  //!
    2323
    24     TArrayF fGini;
    25     TGraph *fGraphGini;
     24    TArrayF fGini;                 //!
     25    TGraph *fGraphGini;            //->
    2626
    2727public:
     
    2929    ~MHRanForestGini();
    3030
    31     TGraph *GetGrphGini() const  { return fGraphGini; }
     31    TGraph *GetGraphGini() const  { return fGraphGini; }
    3232
    3333    Bool_t SetupFill(const MParList *plist);
    3434    Bool_t Fill(const MParContainer *par);
    3535    Bool_t Finalize();
    36 
    37     void Print(Option_t *option="") const;
    3836
    3937    void Draw(Option_t *opt="");
Note: See TracChangeset for help on using the changeset viewer.