Commit 2d5417c0 authored by Jochen Meyer's avatar Jochen Meyer Committed by Graeme Stewart
Browse files

addressing coverity defects (MuonCalibStandAloneTools-01-00-01)

	* addressing coverity defects 14576, 13457
	* tagging MuonCalibStandAloneTools-01-00-01
parent 33b718cb
......@@ -89,7 +89,9 @@ class HitCounter
};
//==============================================================================
/** default constructor */
inline HitCounter() : m_is_initialized(false), p_hits_per_segments(NULL), p_wd(NULL)
inline HitCounter() : m_is_initialized(false), m_per_chamber(0), n_dead_tubes(0),
n_dead_mezz(0), n_dead_ml(0), m_fit_by_int(0), p_hits_per_segments(NULL),
p_wd(NULL)
{
}
/** initialize class */
......
......@@ -562,7 +562,7 @@ double low_bin[15] = {52.1363,59.5508,72.9139,79.8775,82.4582,82.4905,81.2233,80
m_MDT_residual_vs_radius[0][station_identifier]->Fill(r0,fabs(r0)-fabs(d0),1.0);
}
segment_fitter->fit(*(segments[k])) ;
if( !(segment_fitter->fit(*(segments[k])) ) ) log << MSG::WARNING << "Segment fit failed. Just going on." << endreq;
Double_t oldchi2 = segments[k]->chi2() ;
m_MDT_segment_hits[1][station_identifier]->Fill(segment_fitter->numberOfTrackHits(), 1.0);
m_MDT_segment_chi2[1][station_identifier]->Fill(segments[k]->chi2(),1.0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment