23.0-coverity-TrkParticleCreator
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>>>>.