diff --git a/src/THcDriftChamber.cxx b/src/THcDriftChamber.cxx index 6f2dac9964fdd2e2362f6684e90c53980b6e3c0e..27e1440e410c950edc453021e55cf6cc8a6da0fe 100644 --- a/src/THcDriftChamber.cxx +++ b/src/THcDriftChamber.cxx @@ -1194,7 +1194,7 @@ void THcDriftChamber::LeftRight() iswhit <<= 1; } } - if (nplaneshit >= fNPlanes-1) { + if ( (nplaneshit >= fNPlanes-1) || (nplaneshit >= fNPlanes-2 && !fHMSStyleChambers)) { Double_t chi2; chi2 = FindStub(nhits, sp,plane_list, bitpat, plusminus, stub); if (fdebugstubchisq) cout << " pmloop = " << pmloop << " chi2 = " << chi2 << endl;