Changeset 1866 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 03/24/03 15:13:14 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 2 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
Note:
See TracChangeset
for help on using the changeset viewer.