diff --git a/EventFilter/CTPPSRawToDigi/interface/CTPPSPixelErrorSummary.h b/EventFilter/CTPPSRawToDigi/interface/CTPPSPixelErrorSummary.h index 0fef713ac2cc1..9c314cc3d1ba8 100644 --- a/EventFilter/CTPPSRawToDigi/interface/CTPPSPixelErrorSummary.h +++ b/EventFilter/CTPPSRawToDigi/interface/CTPPSPixelErrorSummary.h @@ -6,8 +6,8 @@ class CTPPSPixelErrorSummary { public: -CTPPSPixelErrorSummary(const std::string& category, const std::string& name, bool debug = false) - : m_debug(debug), m_category(category), m_name(name) {} + CTPPSPixelErrorSummary(const std::string& category, const std::string& name, bool debug = false) + : m_debug(debug), m_category(category), m_name(name) {} void add(const std::string& message, const std::string& details = ""); void printSummary() const; @@ -18,4 +18,4 @@ CTPPSPixelErrorSummary(const std::string& category, const std::string& name, boo std::string m_name; std::map m_errors; }; -#endif +#endif diff --git a/EventFilter/CTPPSRawToDigi/plugins/CTPPSPixelRawToDigi.cc b/EventFilter/CTPPSRawToDigi/plugins/CTPPSPixelRawToDigi.cc index a82202bc6d978..972732c703f08 100644 --- a/EventFilter/CTPPSRawToDigi/plugins/CTPPSPixelRawToDigi.cc +++ b/EventFilter/CTPPSRawToDigi/plugins/CTPPSPixelRawToDigi.cc @@ -122,8 +122,6 @@ void CTPPSPixelRawToDigi::produce(edm::Event& ev, const edm::EventSetup& es) { } } -void CTPPSPixelRawToDigi::endStream() { - eSummary_.printSummary(); -} +void CTPPSPixelRawToDigi::endStream() { eSummary_.printSummary(); } DEFINE_FWK_MODULE(CTPPSPixelRawToDigi); diff --git a/EventFilter/CTPPSRawToDigi/src/CTPPSPixelErrorSummary.cc b/EventFilter/CTPPSRawToDigi/src/CTPPSPixelErrorSummary.cc index fc2dea1899144..dc968ed0bc1a5 100644 --- a/EventFilter/CTPPSRawToDigi/src/CTPPSPixelErrorSummary.cc +++ b/EventFilter/CTPPSRawToDigi/src/CTPPSPixelErrorSummary.cc @@ -8,9 +8,9 @@ void CTPPSPixelErrorSummary::add(const std::string& message, const std::string& if (eIt == m_errors.end()) { m_errors.emplace(message, 1); edm::LogError(m_category) << message << ": " << details - << (m_debug ? "" - : "\nNote: further warnings of this type will be suppressed (this can be " - "changed by enabling debugging printout)"); + << (m_debug ? "" + : "\nNote: further warnings of this type will be suppressed (this can be " + "changed by enabling debugging printout)"); } else { ++(eIt->second); if (m_debug) {