Skip to content
Snippets Groups Projects
Commit 5cb00eba authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Merge branch 'gcc11.TrigEgammaHypo-20201218' into 'master'

TrigEgammaHypo: Fix gcc11 warning.

See merge request atlas/athena!39304
parents 651217ba 737878ac
No related branches found
No related tags found
No related merge requests found
// -*- C++ -*-
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/
/**************************************************************************
......@@ -155,7 +155,7 @@ HLT::ErrorCode TrigL2CaloLayersHypo::hltExecute(const HLT::TriggerElement* outpu
const xAOD::TrigEMCluster* pClus = vectorOfClusters.front();
m_preSampFrac=m_preSamp=m_monEta=m_monPhi=m_Energy=-9999.0;
if ( !pClus && (pClus->energy()>0.1) && (fabsf(pClus->eta())<2.1) ) {
if ( ! ( pClus && (pClus->energy()>0.1) && (fabsf(pClus->eta())<2.1) ) ) {
msg() << MSG::WARNING << "No EM cluster in RoI" << endmsg;
return HLT::OK;
}
......
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