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

Merge branch 'clang.JetMonitoring-20201116' into 'master'

JetMonitoring: Fix clang warning.

See merge request atlas/athena!38316
parents 36a2c6b9 c616c908
No related branches found
No related tags found
No related merge requests found
/* /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/ */
#include "JetMonitoring/JetKinematicHistos.h" #include "JetMonitoring/JetKinematicHistos.h"
...@@ -107,7 +107,7 @@ int JetKinematicHistos::fillHistosFromContainer(const xAOD::JetContainer & cont) ...@@ -107,7 +107,7 @@ int JetKinematicHistos::fillHistosFromContainer(const xAOD::JetContainer & cont)
int JetKinematicHistos::fillHistosFromJet(const xAOD::Jet &j){ int JetKinematicHistos::fillHistosFromJet(const xAOD::Jet &j){
if(j.isAvailable<float>((m_jetScale)+"_pt")){ {
// m_jetScale is a property of the base tool // m_jetScale is a property of the base tool
const xAOD::JetFourMom_t p4 = j.jetP4( (xAOD::JetScale) m_jetScale); const xAOD::JetFourMom_t p4 = j.jetP4( (xAOD::JetScale) m_jetScale);
m_pt->Fill( p4.Pt()*toGeV ); m_pt->Fill( p4.Pt()*toGeV );
......
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