From a721b315cff5adc7d2be5d9dd5a228177a6248ec Mon Sep 17 00:00:00 2001 From: Felice Pantaleo Date: Fri, 17 Aug 2018 18:26:25 +0200 Subject: [PATCH] Take in account circle fit chi2 in RFit result (#137) --- .../PixelTrackFitting/src/PixelFitterByRiemannParaboloid.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RecoPixelVertexing/PixelTrackFitting/src/PixelFitterByRiemannParaboloid.cc b/RecoPixelVertexing/PixelTrackFitting/src/PixelFitterByRiemannParaboloid.cc index a87da4e3bfc8e..78a993b213d9f 100644 --- a/RecoPixelVertexing/PixelTrackFitting/src/PixelFitterByRiemannParaboloid.cc +++ b/RecoPixelVertexing/PixelTrackFitting/src/PixelFitterByRiemannParaboloid.cc @@ -104,7 +104,7 @@ std::unique_ptr PixelFitterByRiemannParaboloid::run( float errValCotTheta = std::sqrt(fittedTrack.cov(3, 3)); float errValZip = std::sqrt(fittedTrack.cov(4, 4)); - float chi2 = fittedTrack.chi2_line; + float chi2 = fittedTrack.chi2_line + fittedTrack.chi2_circle; PixelTrackBuilder builder; Measurement1D phi(valPhi, errValPhi);