From 46502f8d0c6c9e6cba0e37748361b76f431b3c5d Mon Sep 17 00:00:00 2001 From: Bartosz Sobol <bartosz.sobol@doctoral.uj.edu.pl> Date: Fri, 31 Jan 2025 13:29:55 +0100 Subject: [PATCH] [PASTA] fix format --- algo/detectors/pasta/ReadoutConfig.cxx | 2 +- algo/detectors/pasta/Unpack.cxx | 2 +- algo/qa/unpack/PastaDigiQa.cxx | 10 +++++----- algo/qa/unpack/PastaDigiQa.h | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/algo/detectors/pasta/ReadoutConfig.cxx b/algo/detectors/pasta/ReadoutConfig.cxx index b03a0246ba..5056ed97d7 100644 --- a/algo/detectors/pasta/ReadoutConfig.cxx +++ b/algo/detectors/pasta/ReadoutConfig.cxx @@ -15,4 +15,4 @@ namespace cbm::algo::pasta uint8_t ReadoutConfig::GetSystemVersion() const { return fgSystemVersion; } -} // namespace cbm::algo::pasta \ No newline at end of file +} // namespace cbm::algo::pasta diff --git a/algo/detectors/pasta/Unpack.cxx b/algo/detectors/pasta/Unpack.cxx index c63a81c064..d80af3cc5e 100644 --- a/algo/detectors/pasta/Unpack.cxx +++ b/algo/detectors/pasta/Unpack.cxx @@ -24,4 +24,4 @@ namespace cbm::algo::pasta Unpack::Result_t Unpack::operator()(const fles::Timeslice& ts) const { return DoUnpack(fles::Subsystem::RICH, ts); } -} // namespace cbm::algo::pasta \ No newline at end of file +} // namespace cbm::algo::pasta diff --git a/algo/qa/unpack/PastaDigiQa.cxx b/algo/qa/unpack/PastaDigiQa.cxx index 0b3bed6e14..745a62f14b 100644 --- a/algo/qa/unpack/PastaDigiQa.cxx +++ b/algo/qa/unpack/PastaDigiQa.cxx @@ -1,6 +1,6 @@ /* Copyright (C) 2025 Jagiellonian University, Krakow -SPDX-License-Identifier: GPL-3.0-only -Authors: Bartosz Sobol [committer] */ + SPDX-License-Identifier: GPL-3.0-only + Authors: Bartosz Sobol [committer] */ #include "PastaDigiQa.h" @@ -13,7 +13,7 @@ namespace cbm::algo::pasta , fpSender{pSender} , fReadoutSetup(config) { - if (fpSender.get() == nullptr) { + if (fpSender == nullptr) { return; } @@ -45,7 +45,7 @@ namespace cbm::algo::pasta void DigiQa::Exec(const PODVector<CbmPastaDigi>& digis, const uint64_t tsIndex) { - if (fpSender.get() == nullptr) { + if (fpSender == nullptr) { return; } @@ -68,4 +68,4 @@ namespace cbm::algo::pasta void DigiQa::operator()(const PODVector<CbmPastaDigi>& digis, const uint64_t tsIndex) { Exec(digis, tsIndex); } -} // namespace cbm::algo::pasta \ No newline at end of file +} // namespace cbm::algo::pasta diff --git a/algo/qa/unpack/PastaDigiQa.h b/algo/qa/unpack/PastaDigiQa.h index 875a226951..ab4f11fa7f 100644 --- a/algo/qa/unpack/PastaDigiQa.h +++ b/algo/qa/unpack/PastaDigiQa.h @@ -1,6 +1,6 @@ /* Copyright (C) 2025 Jagiellonian University, Krakow -SPDX-License-Identifier: GPL-3.0-only -Authors: Bartosz Sobol [committer] */ + SPDX-License-Identifier: GPL-3.0-only + Authors: Bartosz Sobol [committer] */ #pragma once @@ -48,4 +48,4 @@ namespace cbm::algo::pasta ReadoutConfig fReadoutSetup; }; -} // namespace cbm::algo::pasta \ No newline at end of file +} // namespace cbm::algo::pasta -- GitLab