Commit 7bcba452 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Merge branch 'cherry-pick-545b38aebeb-master' into 'master'

Sweeping !46745 from 22.0-mc20 to master.
Do not use a reference to a temporary.

See merge request atlas/athena!46798
parents f02648da 82b8e046
......@@ -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) ) {
......
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