From 2462e01c3a4ce21fbde4cf3493b00022dd3890c5 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Thu, 5 Jun 2025 08:49:18 +0000 Subject: [PATCH] Please consider the following formatting changes --- Common/DataModel/ZDCInterCalib.h | 8 ++++---- Common/TableProducer/zdcTaskInterCalib.cxx | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Common/DataModel/ZDCInterCalib.h b/Common/DataModel/ZDCInterCalib.h index a8040f28e4c..d7b66575340 100644 --- a/Common/DataModel/ZDCInterCalib.h +++ b/Common/DataModel/ZDCInterCalib.h @@ -20,7 +20,7 @@ namespace o2::aod { -namespace znoutput // o2-linter: disable=name/workflow-file +namespace znoutput // o2-linter: disable=name/workflow-file { DECLARE_SOA_COLUMN(ZNApmc, commonPMZNA, float); //! PMC ZNA // o2-linter: disable=name/o2-column DECLARE_SOA_COLUMN(ZNApm1, ZNAPM1, float); //! PM1 ZNA // o2-linter: disable=name/o2-column @@ -34,9 +34,9 @@ DECLARE_SOA_COLUMN(ZNCpm2, ZNCPM2, float); //! PM2 ZNC / DECLARE_SOA_COLUMN(ZNCpm3, ZNCPM3, float); //! PM3 ZNC // o2-linter: disable=name/o2-column DECLARE_SOA_COLUMN(ZNCpm4, ZNCPM4, float); //! PM4 ZNC // o2-linter: disable=name/o2-column DECLARE_SOA_COLUMN(ZNCtdc, ZNCTDC, float); //! TDC ZNC // o2-linter: disable=name/o2-column -DECLARE_SOA_COLUMN(Centrality, centrality, float); //! Centrality -DECLARE_SOA_COLUMN(Timestamp, timestamp, uint64_t); //! Timestamp -DECLARE_SOA_COLUMN(SelectionBits, selectionBits, uint8_t); //! Selection Flags +DECLARE_SOA_COLUMN(Centrality, centrality, float); //! Centrality +DECLARE_SOA_COLUMN(Timestamp, timestamp, uint64_t); //! Timestamp +DECLARE_SOA_COLUMN(SelectionBits, selectionBits, uint8_t); //! Selection Flags } // namespace znoutput DECLARE_SOA_TABLE(ZDCInterCalib, "AOD", "ZDCIC", o2::soa::Index<>, diff --git a/Common/TableProducer/zdcTaskInterCalib.cxx b/Common/TableProducer/zdcTaskInterCalib.cxx index 2e2f0f1ed9b..8b39ff81564 100644 --- a/Common/TableProducer/zdcTaskInterCalib.cxx +++ b/Common/TableProducer/zdcTaskInterCalib.cxx @@ -22,7 +22,7 @@ #include "Common/CCDB/TriggerAliases.h" #include "Common/DataModel/Centrality.h" #include "Common/DataModel/Multiplicity.h" -#include "Common/DataModel/ZDCInterCalib.h" +#include "Common/DataModel/ZDCInterCalib.h" #include "TH1F.h" #include "TH2F.h" @@ -99,7 +99,6 @@ struct ZdcTaskInterCalib { registry.get(HIST("hEventCount"))->GetXaxis()->SetBinLabel(evSel_kIsGoodITSLayersAll + 1, "kkIsGoodITSLayersAll"); } - template uint8_t eventSelected(TCollision collision) { @@ -109,7 +108,7 @@ struct ZdcTaskInterCalib { registry.fill(HIST("hEventCount"), evSel_allEvents); selected = std::fabs(collision.posZ()) < cfgEvSelVtxZ; - if (selected){ + if (selected) { selectionBits |= (uint8_t)(0x1u << evSel_zvtx); registry.fill(HIST("hEventCount"), evSel_zvtx); } @@ -251,4 +250,5 @@ WorkflowSpec defineDataProcessing(ConfigContext const& cfgc) // o2-linter: disab { return WorkflowSpec{ adaptAnalysisTask(cfgc)}; -} \ No newline at end of file +} + \ No newline at end of file