Skip to content
Snippets Groups Projects
Commit 78ce9dc8 authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

FlavorTagDiscriminants: Fix clang 10 warning.

Spurious copy in range for.
parent fecd3f8e
No related branches found
No related tags found
No related merge requests found
...@@ -413,7 +413,7 @@ void BTagJetAugmenter::augment(const xAOD::Jet &jet) { ...@@ -413,7 +413,7 @@ void BTagJetAugmenter::augment(const xAOD::Jet &jet) {
max_track_flightDirRelEta = track_flightDirRelEta; max_track_flightDirRelEta = track_flightDirRelEta;
} }
if (secondary_jf_vtx_index >= 0) { if (secondary_jf_vtx_index >= 0) {
for (const ElementLink<xAOD::TrackParticleContainer> vertex_track_particle : (**m_jf_vertices(btag).at(secondary_jf_vtx_index)).track_links()) { for (const ElementLink<xAOD::TrackParticleContainer>& vertex_track_particle : (**m_jf_vertices(btag).at(secondary_jf_vtx_index)).track_links()) {
if (*vertex_track_particle == &track_particle) { if (*vertex_track_particle == &track_particle) {
secondaryVtx_track_number++; secondaryVtx_track_number++;
TLorentzVector track_fourVector; TLorentzVector track_fourVector;
......
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