Skip to content
Snippets Groups Projects
Commit ebf3d9a9 authored by Adam Edward Barton's avatar Adam Edward Barton
Browse files

Merge branch 'clang.JetSubStructureUtils-20180703' into 'master'

JetSubStructureUtils: Fix clang warning.

See merge request atlas/athena!12480

Former-commit-id: 1b54c7fa
parents 47035e11 577c43c4
No related branches found
No related tags found
No related merge requests found
...@@ -430,7 +430,7 @@ int BoostedXbbTag::result(const xAOD::Jet& jet, std::string algorithm_name, cons ...@@ -430,7 +430,7 @@ int BoostedXbbTag::result(const xAOD::Jet& jet, std::string algorithm_name, cons
// filter out the track jets we do not want (pT > 10 GeV and |eta| < 2.5 and at least 2 constituents) // filter out the track jets we do not want (pT > 10 GeV and |eta| < 2.5 and at least 2 constituents)
associated_trackJets.erase( associated_trackJets.erase(
std::remove_if(associated_trackJets.begin(), associated_trackJets.end(), [this](const xAOD::Jet* jet) -> bool { return (jet->pt()/1.e3 < 10.0 || fabs(jet->eta()) > 2.5 || jet->numConstituents() < 2); }), std::remove_if(associated_trackJets.begin(), associated_trackJets.end(), [](const xAOD::Jet* jet) -> bool { return (jet->pt()/1.e3 < 10.0 || fabs(jet->eta()) > 2.5 || jet->numConstituents() < 2); }),
associated_trackJets.end()); associated_trackJets.end());
if(associated_trackJets.size() < 2){ if(associated_trackJets.size() < 2){
if(m_working_point.find("single") == std::string::npos){ if(m_working_point.find("single") == std::string::npos){
......
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