Skip to content
Snippets Groups Projects
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 !47455
parents 0b8271c8 ef4e48ce
No related branches found
No related tags found
5 merge requests!69091Fix correlated smearing bug in JER in JetUncertainties in 22.0,!58791DataQualityConfigurations: Modify L1Calo config for web display,!51674Fixing hotSpotInHIST for Run3 HIST,!50012RecExConfig: Adjust log message levels from GetRunNumber and GetLBNumber,!47455ISF_Algorithms+JetUncertainties: Fix clang warnings.
......@@ -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; }
......
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