diff --git a/Tracking/TrkVertexFitter/TrkVertexBilloirTools/TrkVertexBilloirTools/FastVertexFitter.h b/Tracking/TrkVertexFitter/TrkVertexBilloirTools/TrkVertexBilloirTools/FastVertexFitter.h index 447fb5c89986742d55b02eded88785f6303e5916..15adbcd479277a6a73e4768d13b51a8efecf8faf 100755 --- a/Tracking/TrkVertexFitter/TrkVertexBilloirTools/TrkVertexBilloirTools/FastVertexFitter.h +++ b/Tracking/TrkVertexFitter/TrkVertexBilloirTools/TrkVertexBilloirTools/FastVertexFitter.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration */ #ifndef TRKVERTEXFITTERBILLOIR_FASTVERTEXFITTER_H @@ -39,7 +39,6 @@ namespace Trk StatusCode initialize(); StatusCode finalize(); - enum FitError {FITOK,MATINV,NEGTRCHI2,MAXCHI2,MAXTRCHI2,NOTRKS,NOFIT}; FastVertexFitter(const std::string& t, const std::string& n, const IInterface* p); virtual ~FastVertexFitter(); //!< standard destructor @@ -112,9 +111,6 @@ namespace Trk unsigned int m_maxIterations; double m_maxDchi2PerNdf; - /** Data members to store the results */ - FitError m_error; - ToolHandle< Trk::IExtrapolator > m_extrapolator; ToolHandle< Trk::IVertexLinearizedTrackFactory > m_linFactory; }; diff --git a/Tracking/TrkVertexFitter/TrkVertexBilloirTools/src/FastVertexFitter.cxx b/Tracking/TrkVertexFitter/TrkVertexBilloirTools/src/FastVertexFitter.cxx index c2ea75afd96a713d41e7e95f81c19d63d4d79277..63ddc6a426a6bf6d62fedf76ccc24e7625f3ec8f 100755 --- a/Tracking/TrkVertexFitter/TrkVertexBilloirTools/src/FastVertexFitter.cxx +++ b/Tracking/TrkVertexFitter/TrkVertexBilloirTools/src/FastVertexFitter.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration */ /*************************************************************************** @@ -91,7 +91,6 @@ namespace Trk FastVertexFitter::FastVertexFitter ( const std::string& t, const std::string& n, const IInterface* p ) : AthAlgTool ( t,n,p ), m_maxIterations ( 3 ), m_maxDchi2PerNdf ( 0.000001 ), - m_error (NOTRKS), m_extrapolator ( "Trk::Extrapolator" ), m_linFactory ( "Trk::FullLinearizedTrackFactory" ) @@ -223,7 +222,6 @@ namespace Trk { if ( originalPerigees.empty() ) { - m_error = NOTRKS; ATH_MSG_VERBOSE("No tracks to fit in this event."); return 0; } @@ -356,7 +354,6 @@ namespace Trk if ( ( *BTIter ).chi2 < 0 ) { std::cout << "VxFastFit::calculate: error in chi2_per_track\n"; - m_error = NEGTRCHI2; return 0; } chi2New += ( *BTIter ).chi2;