Skip to content
Snippets Groups Projects
Commit 9ab49e9b authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'ATLASRECTS-6136' into 'master'

MuonStauRecTool remove FPE

See merge request !42118
parents 88139a9c 4098bca9
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!42118MuonStauRecTool remove FPE
......@@ -610,7 +610,8 @@ namespace MuonCombined {
TrkDriftCircleMath::Segment segment = result;
segment.hitsOnTrack(dcs.size());
unsigned int ndofFit = segment.ndof();
double chi2NdofSegmentFit = segment.chi2()/(double)(ndofFit);
if (ndofFit < 1) continue;
double chi2NdofSegmentFit = segment.chi2()/ndofFit;
bool hasDropHit = false;
unsigned int dropDepth = 0;
if( !segmentFinder.dropHits(segment, hasDropHit, dropDepth) ){
......@@ -698,8 +699,8 @@ namespace MuonCombined {
if( !isSelected ) continue;
hits.push_back(Muon::TimePointBetaFitter::Hit(distance,time,er));
candidate.stauHits.push_back(MuGirlNS::StauHit(MuGirlNS::MDTT_STAU_HIT, time+tof, ix, iy, iz, id, ie, er,sh, isEta, propTime));
hits.emplace_back(distance,time,er);
candidate.stauHits.emplace_back(MuGirlNS::MDTT_STAU_HIT, time+tof, ix, iy, iz, id, ie, er,sh, isEta, propTime);
}
}
// fit data
......
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