From 8e5b5e3a7897e5a3f51be4564d4d453d1eb15732 Mon Sep 17 00:00:00 2001 From: iarsene Date: Thu, 25 Nov 2021 09:18:51 +0100 Subject: [PATCH] Change the name of the MCSignal::Print() function to avoid hiding the virtual Print() function --- PWGDQ/Core/MCSignal.cxx | 2 +- PWGDQ/Core/MCSignal.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PWGDQ/Core/MCSignal.cxx b/PWGDQ/Core/MCSignal.cxx index 9a752ab074f..9d9e8520dfb 100644 --- a/PWGDQ/Core/MCSignal.cxx +++ b/PWGDQ/Core/MCSignal.cxx @@ -61,7 +61,7 @@ void MCSignal::AddProng(MCProng prong, short commonAncestor) } //________________________________________________________________________________________________ -void MCSignal::Print() +void MCSignal::PrintConfig() { cout << "Name/Title: " << fName << " / " << fTitle << endl; cout << "Printing " << fNProngs << "/" << fProngs.size() << " prongs:" << endl; diff --git a/PWGDQ/Core/MCSignal.h b/PWGDQ/Core/MCSignal.h index 5178352597e..4c3dc9a0a93 100644 --- a/PWGDQ/Core/MCSignal.h +++ b/PWGDQ/Core/MCSignal.h @@ -97,7 +97,7 @@ class MCSignal : public TNamed return CheckMC(0, checkSources, mcStack, args...); }; - void Print(); + void PrintConfig(); private: std::vector fProngs;