Skip to content
Snippets Groups Projects
Commit 545b38ae authored by Peter Berta's avatar Peter Berta
Browse files

Merge branch 'LowBetaAlg_22.0-mc20_fix_use_after_destruction' into '22.0-mc20'

Do not use a reference to a temporary.

See merge request atlas/athena!46745
parents a07a3c0b 284ec79c
No related branches found
No related tags found
No related merge requests found
......@@ -116,10 +116,9 @@ namespace InDet
if (origtrack) {
double Trk_pt = trk->pt();
if ((Trt_hits != 0) && (Trk_pt > 400.0) ){
const Trk::Track& newtrack = Trk::Track(*origtrack);
CSMP_indicators.clear();
CSMP_indicators = ChargedSMPindicators(newtrack);
CSMP_indicators = ChargedSMPindicators(*origtrack);
if (CSMP_indicators.size() > 10){
if( ( (CSMP_indicators[5] > 15000.0) || ((int)CSMP_indicators[4] > 10)) && ((unsigned int)CSMP_indicators[6] > m_minTRThits) ) {
......
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