Commit 9d09d24e authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'clang.ISF_Algorithms-20211021' into 'master'

ISF_Algorithms+JetUncertainties: Fix clang warnings.

See merge request atlas/athena!47455
parents 0b8271c8 ef4e48ce
......@@ -435,7 +435,7 @@ StatusCode FFJetSmearingTool::getMatchedTruthJet(xAOD::Jet& jet_reco, xAOD::Jet&
//Loop over the truth jets in the event to match
const xAOD::Jet* close_jet = nullptr;
for (const auto& jet_truth : *jets_truth) {
for (const auto jet_truth : *jets_truth) {
float dR_Test = jet_reco.p4().DeltaR(jet_truth->p4());
if ( dR_Test < dRmax_truthJet){
if(dR_Test < dRmin){
......
......@@ -86,7 +86,7 @@ StatusCode ISF::SimEventFilter::execute(const EventContext &ctx) const
bool pass = false;
for ( const auto& eventPtr : *inputHardScatterEvgen ) {
for ( const HepMC::GenEvent* eventPtr : *inputHardScatterEvgen ) {
// skip empty events
if (eventPtr == nullptr) { continue; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment