Changeset 1871 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 03/27/03 13:42:00 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MRanForest.cc
r1870 r1871 226 226 { 227 227 if(!gRandom) 228 gRandom=new TRandom3(0); 228 { 229 *fLog << err << dbginf << "gRandom not initialized... aborting." << endl; 230 return kFALSE; 231 } 232 229 233 Int_t k=Int_t(fNumData*gRandom->Rndm()); 230 234 -
trunk/MagicSoft/Mars/manalysis/MRanTree.cc
r1870 r1871 41 41 #include "MDataArray.h" 42 42 43 #include "MLog.h" 44 #include "MLogManip.h" 45 43 46 ClassImp(MRanTree); 44 47 … … 178 181 179 182 // random split selection, number of trials = fNumTry 183 if(!gRandom) 184 { 185 *fLog << err << dbginf << "gRandom not initialized... aborting." << endl; 186 return kFALSE; 187 } 180 188 for(Int_t mt=0;mt<fNumTry;mt++) 181 189 {
Note:
See TracChangeset
for help on using the changeset viewer.