55 fPrecisionCut(TMath::
Sqrt(std::numeric_limits<
double>::
epsilon()))
63 fPrecisionCut(TMath::
Sqrt(std::numeric_limits<double>::
epsilon()))
79 if ( (nTotS-nSelS)==nSelS && (nTotB-nSelB)==nSelB)
return 0.;
88 Double_t parentIndex = this->GetSeparationIndex(nTotS,nTotB);
90 Double_t leftIndex = ( ((nTotS - nSelS) + (nTotB - nSelB))/(nTotS+nTotB)
91 * this->GetSeparationIndex(nTotS-nSelS,nTotB-nSelB) );
92 Double_t rightIndex = (nSelS+nSelB)/(nTotS+nTotB) * this->GetSeparationIndex(nSelS,nSelB);
94 Double_t diff = parentIndex - leftIndex - rightIndex;
97 if(diff<fPrecisionCut ) {
Double_t Sqrt(Double_t x)
virtual Double_t GetSeparationGain(const Double_t &nSelS, const Double_t &nSelB, const Double_t &nTotS, const Double_t &nTotB)
Separation Gain: the measure of how the quality of separation of the sample increases by splitting th...