Skip to content
Snippets Groups Projects
Commit c3b943e6 authored by Johannes Junggeburth's avatar Johannes Junggeburth :dog2: Committed by Tomasz Bold
Browse files

MuonHoughTools - Fix out of bound access FPE in cosmic reconstruction

MuonHoughTools - Fix out of bound access FPE in cosmic reconstruction
parent 4370e472
No related branches found
No related tags found
2 merge requests!64541Daily merge of 23.0 into main,!64414MuonHoughTools - Fix out of bound access FPE in cosmic reconstruction
......@@ -807,7 +807,9 @@ namespace Muon {
} else if constexpr (std::is_same<CollContainer, RpcPrepDataCollection>::value) {
channel_max = m_idHelperSvc->rpcIdHelper().stripMax();
} else if constexpr(std::is_same<CollContainer, sTgcPrepDataCollection>::value) {
channel_max = m_idHelperSvc->stgcIdHelper().channelMax(cont.front()->identify());
/// Enlarge the vector artifically by 3 to make enough space for Pads, strip and wires which
/// are all aligned in the same channel vector
channel_max = m_idHelperSvc->stgcIdHelper().channelMax(cont.front()->identify()) * 3;
} else if constexpr(std::is_same<CollContainer, MMPrepDataCollection>::value) {
channel_max = m_idHelperSvc->mmIdHelper().channelMax(cont.front()->identify());
}
......
......@@ -51,6 +51,7 @@ filter_bs.args += ' -s Main ' + find_file('*_HLTMPPy_output.*.data')
tzrecoPreExec = ' '.join([
"flags.Trigger.triggerMenuSetup=\'Cosmic_run3_v1\';",
"flags.Trigger.AODEDMSet=\'AODFULL\';",
"flags.Exec.FPE=500;",
])
tzreco = ExecStep.ExecStep('Tier0Reco')
......
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