56 while(oldd>d && steps<100){
60 TVector3 point2, norm2;
66 rep1->GFAbsTrackRep::extrapolate(plane1);
70 rep2->GFAbsTrackRep::extrapolate(plane2);
81 rep1->GFAbsTrackRep::extrapolate(plane1);
85 rep2->GFAbsTrackRep::extrapolate(plane2);
90 if(TMath::Abs(m1)<1E-4)
break;
93 if(TMath::Abs(s1)>200)s1= s1>0 ? 180 : -180;
99 TVector3 point2, norm2;
104 rep1->GFAbsTrackRep::extrapolate(plane1);
108 rep2->GFAbsTrackRep::extrapolate(plane2);
118 rep1->GFAbsTrackRep::extrapolate(plane1);
122 rep2->GFAbsTrackRep::extrapolate(plane2);
129 rep1->GFAbsTrackRep::extrapolate(plane1);
133 rep2->GFAbsTrackRep::extrapolate(plane2);
138 double denom=2.*(d1+d2-2*d0);
140 TVector3 posA=rep1->GFAbsTrackRep::getPos();
141 TVector3 posB=rep2->GFAbsTrackRep::getPos();
142 TVector3 poca=(posB+posA)*0.5;
154 rep1->GFAbsTrackRep::extrapolate(plane1);
158 rep2->GFAbsTrackRep::extrapolate(plane2);
162 TVector3 posA=rep1->GFAbsTrackRep::getPos();
163 TVector3 posB=rep2->GFAbsTrackRep::getPos();
165 TVector3 poca=(posB+posA)*0.5;