int initOfActalSegment = this.obtainTheStartOfSegment(rawSignal,
initPos);
int endOfActualSegment = this.obtainTheEndOfSegment(rawSignal, initOfActalSegment + this.maxLengthOfSegment);//initOfActalSegment+this.maxLengthOfSegment;
Segment segment = rawSignal.subSegment(initOfActalSegment,
endOfActualSegment);
segment = segment.normalize();
int posOfMax = segment.getPosOfMax();
int fiftyPos = segment.looksPositionOfNearestValueOnSubSegment(fifty, 0, posOfMax);
int dif = fiftyPos - 10;
if (dif > 0) {
segment = segment.subSegment(dif, endOfActualSegment);