From 533f84a013a184569cab7cf00c10505fbf33d980 Mon Sep 17 00:00:00 2001 From: Srecko Morovic Date: Thu, 24 Feb 2022 11:07:32 +0100 Subject: [PATCH] code-format --- EventFilter/Utilities/plugins/GlobalEvFOutputModule.cc | 3 ++- EventFilter/Utilities/src/EvFOutputModule.cc | 3 ++- IOPool/Streamer/interface/StreamerOutputModuleCommon.h | 4 +++- IOPool/Streamer/src/StreamerOutputModuleCommon.cc | 5 +++-- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/EventFilter/Utilities/plugins/GlobalEvFOutputModule.cc b/EventFilter/Utilities/plugins/GlobalEvFOutputModule.cc index 0517ab1f3b123..358e84e9712be 100644 --- a/EventFilter/Utilities/plugins/GlobalEvFOutputModule.cc +++ b/EventFilter/Utilities/plugins/GlobalEvFOutputModule.cc @@ -276,7 +276,8 @@ namespace evf { } std::unique_ptr GlobalEvFOutputModule::beginStream(edm::StreamID) const { - return std::make_unique(ps_, &keptProducts()[edm::InEvent], description().moduleLabel()); + return std::make_unique( + ps_, &keptProducts()[edm::InEvent], description().moduleLabel()); } std::shared_ptr GlobalEvFOutputModule::globalBeginRun(edm::RunForOutput const& run) const { diff --git a/EventFilter/Utilities/src/EvFOutputModule.cc b/EventFilter/Utilities/src/EvFOutputModule.cc index e5f8d97d570df..92ae138f39247 100644 --- a/EventFilter/Utilities/src/EvFOutputModule.cc +++ b/EventFilter/Utilities/src/EvFOutputModule.cc @@ -148,7 +148,8 @@ namespace evf { void EvFOutputModule::beginRun(edm::RunForOutput const& run) { //create run Cache holding JSON file writer and variables - jsonWriter_ = std::make_unique(ps_, &keptProducts()[edm::InEvent], streamLabel_, description().moduleLabel()); + jsonWriter_ = std::make_unique( + ps_, &keptProducts()[edm::InEvent], streamLabel_, description().moduleLabel()); //output INI file (non-const). This doesn't require globalBeginRun to be finished const std::string openIniFileName = edm::Service()->getOpenInitFilePath(streamLabel_); diff --git a/IOPool/Streamer/interface/StreamerOutputModuleCommon.h b/IOPool/Streamer/interface/StreamerOutputModuleCommon.h index f212ea96bd48c..f8de3c4bc1d64 100644 --- a/IOPool/Streamer/interface/StreamerOutputModuleCommon.h +++ b/IOPool/Streamer/interface/StreamerOutputModuleCommon.h @@ -20,7 +20,9 @@ namespace edm { class StreamerOutputModuleCommon { public: - explicit StreamerOutputModuleCommon(ParameterSet const& ps, SelectedProducts const* selections, std::string const& moduleLabel); + explicit StreamerOutputModuleCommon(ParameterSet const& ps, + SelectedProducts const* selections, + std::string const& moduleLabel); ~StreamerOutputModuleCommon(); static void fillDescription(ParameterSetDescription& desc); diff --git a/IOPool/Streamer/src/StreamerOutputModuleCommon.cc b/IOPool/Streamer/src/StreamerOutputModuleCommon.cc index bf586d57f57d6..51843e2940ec0 100644 --- a/IOPool/Streamer/src/StreamerOutputModuleCommon.cc +++ b/IOPool/Streamer/src/StreamerOutputModuleCommon.cc @@ -23,7 +23,9 @@ #include namespace edm { - StreamerOutputModuleCommon::StreamerOutputModuleCommon(ParameterSet const& ps, SelectedProducts const* selections, std::string const& moduleLabel) + StreamerOutputModuleCommon::StreamerOutputModuleCommon(ParameterSet const& ps, + SelectedProducts const* selections, + std::string const& moduleLabel) : serializer_(selections), @@ -93,7 +95,6 @@ namespace edm { Bytef const* buf = (Bytef const*)(moduleLabel.data()); crc = crc32(crc, buf, moduleLabel.length()); outputModuleId_ = static_cast(crc); - } StreamerOutputModuleCommon::~StreamerOutputModuleCommon() {}