From 85feee7076357891e2b9e17e9e772b866b189a6a Mon Sep 17 00:00:00 2001 From: Sebastien Ponce Date: Fri, 11 Dec 2020 07:16:23 +0000 Subject: [PATCH] Merge branch 'pkoppenb-CheckPV' into 'master' CheckPV fix so Print actually works See merge request lhcb/Phys!843 (cherry picked from commit 4e76e910541b448b6d5e92f8b3d909273e086b19) dea49113 CheckPV fix so print actually works 4bebf135 Fixed formatting --- Phys/DaVinciPVTools/src/CheckPV.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Phys/DaVinciPVTools/src/CheckPV.cpp b/Phys/DaVinciPVTools/src/CheckPV.cpp index 678286683..5d54baef1 100644 --- a/Phys/DaVinciPVTools/src/CheckPV.cpp +++ b/Phys/DaVinciPVTools/src/CheckPV.cpp @@ -79,7 +79,10 @@ StatusCode CheckPV::execute() { // count PVs n = PV->size(); - if ( msgLevel( MSG::VERBOSE ) || m_print ) verbose() << "There are " << n << " primary vertices." << endmsg; + if ( msgLevel( MSG::VERBOSE ) ) + verbose() << "There are " << n << " primary vertices." << endmsg; + else if ( m_print ) + always() << "There are " << n << " primary vertices." << endmsg; counter( "PVs" ) += n; -- GitLab