Skip to content
Snippets Groups Projects
Commit 687a2098 authored by Rosen Matev's avatar Rosen Matev :sunny:
Browse files

Merge branch 'rmatev-follow-2337' into 'master'

Fix clang warning (follow up !2337)

See merge request !2344
parents 2f407974 c89ff085
No related branches found
No related tags found
1 merge request!2344Fix clang warning (follow up !2337)
Pipeline #2313348 passed
......@@ -142,10 +142,9 @@ void VPClusterEfficiency::operator()( const LHCb::RawEvent& rawEvent, const std:
// Table linking a LHCb::MCHit* to std::vector<LHCb::VPChannelID>> --orig
std::map<const LHCb::MCHit*, std::vector<unsigned int>> channelIdForMCHit;
links.applyToAllLinks(
[&channelIdForMCHit, &mcHits, &digits]( unsigned int channelId, unsigned int mcHitKey, float ) {
channelIdForMCHit[mcHits[mcHitKey]].emplace_back( channelId );
} );
links.applyToAllLinks( [&channelIdForMCHit, &mcHits]( unsigned int channelId, unsigned int mcHitKey, float ) {
channelIdForMCHit[mcHits[mcHitKey]].emplace_back( channelId );
} );
// split MCHits into modules
std::array<std::vector<LHCb::MCHit*>, 52> hitsInModules;
......
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