Skip to content
Snippets Groups Projects
Commit 61bdde1c authored by marco aparo's avatar marco aparo
Browse files

bug fix

parent c685f67d
No related branches found
No related tags found
No related merge requests found
Pipeline #8294052 passed
......@@ -89,7 +89,7 @@ StatusCode IDTPM::TrackParametersPlots::fillPlots(
float pnSiHits = nSiHits( particle );
float pchi2 = chiSquared( particle );
float pndof = ndof( particle );
float pchi2OverNdof = pchi2 / pndof;
float pchi2OverNdof = ( pndof > 0 ) ? pchi2 / pndof : 0.;
std::vector< unsigned int > pauthor = author( particle );
/// Fill the histograms
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment