From 5c27ac19cbcac0413a09e5c70461907b9c790007 Mon Sep 17 00:00:00 2001 From: Michal Bluj Date: Wed, 20 May 2020 13:21:53 +0200 Subject: [PATCH] use "this" instead of prefix --- .../TauDiscriminationAgainstElectronDeadECAL.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/RecoTauTag/RecoTau/plugins/TauDiscriminationAgainstElectronDeadECAL.cc b/RecoTauTag/RecoTau/plugins/TauDiscriminationAgainstElectronDeadECAL.cc index 2905fb0401124..c0433ff38fe4b 100644 --- a/RecoTauTag/RecoTau/plugins/TauDiscriminationAgainstElectronDeadECAL.cc +++ b/RecoTauTag/RecoTau/plugins/TauDiscriminationAgainstElectronDeadECAL.cc @@ -36,12 +36,12 @@ class TauDiscriminationAgainstElectronDeadECAL : public TauDiscriminationProduce double discriminate(const TauRef& tau) const override { if (verbosity_) { - edm::LogPrint(TauDiscriminationProducerBase::getTauTypeString() + "AgainstEleDeadECAL") - << "<" + TauDiscriminationProducerBase::getTauTypeString() + + edm::LogPrint(this->getTauTypeString() + "AgainstEleDeadECAL") + << "<" + this->getTauTypeString() + "AgainstElectronDeadECAL::discriminate>:"; - edm::LogPrint(TauDiscriminationProducerBase::getTauTypeString() + "AgainstEleDeadECAL") + edm::LogPrint(this->getTauTypeString() + "AgainstEleDeadECAL") << " moduleLabel = " << moduleLabel_; - edm::LogPrint(TauDiscriminationProducerBase::getTauTypeString() + "AgainstEleDeadECAL") + edm::LogPrint(this->getTauTypeString() + "AgainstEleDeadECAL") << " tau: Pt = " << tau->pt() << ", eta = " << tau->eta() << ", phi = " << tau->phi(); } double discriminator = 1.; @@ -49,7 +49,7 @@ class TauDiscriminationAgainstElectronDeadECAL : public TauDiscriminationProduce discriminator = 0.; } if (verbosity_) { - edm::LogPrint(TauDiscriminationProducerBase::getTauTypeString() + "AgainstEleDeadECAL") + edm::LogPrint(this->getTauTypeString() + "AgainstEleDeadECAL") << "--> discriminator = " << discriminator; } return discriminator;