Skip to content
Snippets Groups Projects
Commit 77a3744c authored by Nils Erik Krumnack's avatar Nils Erik Krumnack
Browse files

Merge branch 'VKalVrt_BadTrackCovar' into '21.2'

Protect VKalVrt against negative track covariance

See merge request atlas/athena!24469
parents a753ec22 5ace0e20
No related branches found
No related tags found
34 merge requests!76035Updated rel21 number,!63304adding missing electron iso WPs (Tight_VarRad, Loose_VarRad, TightTrackOnly_VarRad),!62053Merge branch 'sh_xrd_warning' into 'master',!61521fix maxPVrefit,!59663fixed a typo in HIGG8D1 format (followup of https://gitlab.cern.ch/atlas/athena/-/merge_requests/59575),!50754Return TruthTaus from truth matching tool in SUSY tools,!48850Added new HDBS derivation (HDBS3),!46643Draft:Adding MET Significance in AT,!46320Draft: Adding support for Leading3SignalJets strategy,!45689Bug fix: Use wrong vector to calculate largest bin number in findBin(),!45211Update in the FFJetSmearingTool,!44864Draft: WIP- MuonUncorrelateSystematics,!43718Modification of EXOT17.py for fractionally charged particle search,!40581Fix crash in egamma topocluster decorator,!37848Add TrigRingerRings to EGAM3, EGAM4 and EGAM9,!36766Truth class fallback max dr,!35816Add HardScatterParticles into the EXOT8 Derivation,!35273Fix JETM1: add back TruthEvents,!34244WIP: 21.2 topq1 add rc jets 2020 06 27,!34182Merge new MCTruthClassifier developments into master,!34164Use allMuons instead oc combinedOnly for BPHY15,!33109Add delta-R to nearest VR track jet decoration,!33012Adding Prompt Lepton Improved Veto to TOPQ,!32637WIP: Add tracks in R=0.4 jets to STDM11,!32353WIP: Fix rare bug in jet smearing RNG seed,!32051Fix of compilation warnings in CPAnalysisExamples,!31361WIP: AnalysisTop Update - New Muon Isolation WPs included,!30796Reducing number of warnings in MuonEfficiencyCorrections when missing dRJet decoration,!30295Move from boost::filesystem to std::filesystem,!29180WIP: Add multiplicity calculations to JetEtMiss code,!27299WIP: Turning b-jet thinning off in SUSY1 (permanent?),!27094JETM8 UFO fix,!26641Rename member functions to start with lower case,!24469Protect VKalVrt against negative track covariance
......@@ -298,9 +298,9 @@ long int fitVertex(VKVertex * vk, long int iflag)
myPropagator.Propagate(vk->TrackList[tk], vk->refV, targV, tmpPer, tmpCov);
cfTrkCovarCorr(tmpCov);
double eig5=cfSmallEigenvalue(tmpCov,5 );
if(eig5<1.e-15 ){
if(eig5>0 && eig5<1.e-15 ){
tmpCov[0]+=1.e-15; tmpCov[2]+=1.e-15; tmpCov[5]+=1.e-15; tmpCov[9]+=1.e-15; tmpCov[14]+=1.e-15;
}else if(tmpCov[0]>1.e9) { //Bad propagation with material. Try without it.
}else if(tmpCov[0]>1.e9 || eig5<0.) { //Bad propagation with material. Try without it.
myPropagator.Propagate(-999, vk->TrackList[tk]->Charge,
vk->TrackList[tk]->refPerig,vk->TrackList[tk]->refCovar,
vk->refV, targV, tmpPer, tmpCov);
......
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