Changeset 7724 for trunk/MagicSoft/Mars/mranforest
- Timestamp:
- 05/21/06 16:17:05 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mranforest/MRanForest.cc
r7693 r7724 590 590 591 591 // control sorting 592 for(int n=1;n<numdata;n++) 593 if(v[isort[n-1]]>v[isort[n]]) 592 /* 593 for(int n=0;n<numdata-1;n++) 594 if(v[isort[n]]>v[isort[n+1]]) 594 595 { 595 596 *fLog << err <<"Event no. "<<n<<", matrix column no. "<<mvar; … … 597 598 return kFALSE; 598 599 } 599 600 */ 601 602 // DataRang is similar to the isort index starting from 0 it is 603 // increased by one for each event which is greater, but stays 604 // the same for the same value. (So to say it counts how many 605 // different values we have) 600 606 for(Int_t n=0;n<numdata-1;n++) 601 607 { … … 603 609 const Int_t n2=isort[n+1]; 604 610 611 // FIXME: Copying isort[n] to fDataSort[mvar*numdata] can be accelerated! 605 612 fDataSort[mvar*numdata+n]=n1; 606 613 if(n==0) fDataRang[mvar*numdata+n1]=0;
Note:
See TracChangeset
for help on using the changeset viewer.