Skip to content

23.0-coverity-TrkParticleCreator

Shaun Roe requested to merge sroe/athena:23.0-coverity-TrkParticleCreator into master

Solve coverity defect (uninitialised variable) by using 'rule of zero' for DetailedHitInfo. Extract common code to a templated method for counting hits, layers in DetailedHitInfo (accumulate_if) and use that. Try to improve readability using structured bindings to the complex data structure which is vector<pair<DetectorRegion, vector<tuple<int, int, int>>>>.

Merge request reports

Loading