Changeset 1866
- Timestamp:
- 03/24/03 15:13:14 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MRanTree.cc
r1859 r1866 32 32 ///////////////////////////////////////////////////////////////////////////// 33 33 #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 35 43 ClassImp(MRanTree); 36 44 … … 49 57 // minimum nodesize of terminal nodes 50 58 fNdSize=TMath::Max(1,n);//at least 1 event per node 51 52 return;53 59 } 54 60 … … 61 67 if(fData) 62 68 fNumTry=TMath::Min(fData->GetNumEntries(),n); 63 64 return;65 69 } 66 70 … … 128 132 fTreeMap2.Set(fNumNodes); 129 133 fBestSplit.Set(fNumNodes); 130 131 return;132 134 } 133 135 … … 450 452 { 451 453 fData=rules; 452 453 return;454 454 } 455 455 -
trunk/MagicSoft/Mars/manalysis/MRanTree.h
r1858 r1866 4 4 #ifndef MARS_MParContainer 5 5 #include "MParContainer.h" 6 #endif7 8 #ifndef MARS_MDataArray9 #include "MDataArray.h"10 #endif11 12 #ifndef ROOT_TRandom13 #include <TRandom.h>14 6 #endif 15 7 … … 22 14 #endif 23 15 24 #ifndef ROOT_TMatrix 25 #include <TMatrix.h> 26 #endif 27 28 #ifndef ROOT_TVector 29 #include <TVector.h> 30 #endif 16 class TMatrix; 17 class TVector; 18 class TRandom; 19 class MDataArray; 31 20 32 21 class MRanTree : public MParContainer -
trunk/MagicSoft/Mars/mhist/MHRanForest.cc
r1859 r1866 214 214 } 215 215 } 216 void MHRanForest::Print(Option_t *) const217 {218 return;219 } -
trunk/MagicSoft/Mars/mhist/MHRanForest.h
r1859 r1866 6 6 #endif 7 7 8 #ifndef TArrayF9 #include "TArrayF.h"8 #ifndef ROOT_TArrayF 9 #include <TArrayF.h> 10 10 #endif 11 11 … … 19 19 { 20 20 private: 21 const MMcEvt *fMcEvt; 22 const MRanForest *fRanForest; 21 const MMcEvt *fMcEvt; //! 22 const MRanForest *fRanForest; //! 23 23 24 TArrayF fSigma; 25 Int_t fNumEvent; 26 TGraph *fGraphSigma; 24 TArrayF fSigma; //! 25 Int_t fNumEvent; //! 26 TGraph *fGraphSigma; //-> 27 27 28 28 public: … … 30 30 ~MHRanForest(); 31 31 32 TGraph *GetGr phSigma() const { return fGraphSigma; }32 TGraph *GetGraphSigma() const { return fGraphSigma; } 33 33 34 34 Bool_t SetupFill(const MParList *plist); 35 35 Bool_t Fill(const MParContainer *par); 36 36 Bool_t Finalize(); 37 38 void Print(Option_t *option="") const;39 37 40 38 void Draw(Option_t *opt=""); -
trunk/MagicSoft/Mars/mhist/MHRanForestGini.cc
r1859 r1866 202 202 } 203 203 } 204 void MHRanForestGini::Print(Option_t *) const205 {206 return;207 } -
trunk/MagicSoft/Mars/mhist/MHRanForestGini.h
r1859 r1866 6 6 #endif 7 7 8 #ifndef TArrayF9 #include "TArrayF.h"8 #ifndef ROOT_TArrayF 9 #include <TArrayF.h> 10 10 #endif 11 11 … … 19 19 { 20 20 private: 21 const MMcEvt *fMcEvt; 22 const MRanForest *fRanForest; 21 const MMcEvt *fMcEvt; //! 22 const MRanForest *fRanForest; //! 23 23 24 TArrayF fGini; 25 TGraph *fGraphGini; 24 TArrayF fGini; //! 25 TGraph *fGraphGini; //-> 26 26 27 27 public: … … 29 29 ~MHRanForestGini(); 30 30 31 TGraph *GetGr phGini() const { return fGraphGini; }31 TGraph *GetGraphGini() const { return fGraphGini; } 32 32 33 33 Bool_t SetupFill(const MParList *plist); 34 34 Bool_t Fill(const MParContainer *par); 35 35 Bool_t Finalize(); 36 37 void Print(Option_t *option="") const;38 36 39 37 void Draw(Option_t *opt="");
Note:
See TracChangeset
for help on using the changeset viewer.