Skip to content
Snippets Groups Projects

tauRecTools+JetTagCalibration+TrkValAlgs: Fix gcc11 compilation warnings.

Merged Scott Snyder requested to merge ssnyder/athena:gcc11.tauRecTools-20201214 into master
4 files
+ 23
14
Compare changes
  • Side-by-side
  • Inline
Files
4
/*
/*
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/
*/
#include "JetTagCalibration/CalibrationBroker.h"
#include "JetTagCalibration/CalibrationBroker.h"
@@ -173,8 +173,10 @@ namespace Analysis {
@@ -173,8 +173,10 @@ namespace Analysis {
if((*hI).second.first) {
if((*hI).second.first) {
if(((*hI).second.first)->InheritsFrom("TH1")){
if(((*hI).second.first)->InheritsFrom("TH1")){
if( msgLvl(MSG::VERBOSE) ){
if( msgLvl(MSG::VERBOSE) ){
msg(MSG::VERBOSE)<< " entries: "
if (auto th1 = dynamic_cast<TH1*>(((*hI).second).first)) {
<< dynamic_cast<TH1*>(((*hI).second).first)->GetEntries();
msg(MSG::VERBOSE)<< " entries: "
 
<< th1->GetEntries();
 
}
}
}
}
}
} else {
} else {
Loading