From 9cfdf2ad1abc4260dd55e67a9a9e5ccf277fa7b0 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Thu, 5 Jun 2025 08:41:06 +0000 Subject: [PATCH] Please consider the following formatting changes --- Common/DataModel/ZDCInterCalib.h | 8 ++++---- Common/TableProducer/zdcTaskInterCalib.cxx | 10 +++++----- 2 files changed, 9 insertions(+), 9 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 beb05e214de..7ddacedcd18 100644 --- a/Common/TableProducer/zdcTaskInterCalib.cxx +++ b/Common/TableProducer/zdcTaskInterCalib.cxx @@ -15,7 +15,7 @@ // o2-linter: disable=name/workflow-file // o2-linter: disable=name/file-cpp -// o2-linter: disable=doc/file +// o2-linter: disable=doc/file #include "Framework/AnalysisTask.h" #include "Framework/AnalysisDataModel.h" @@ -26,7 +26,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" @@ -103,7 +103,6 @@ struct ZDCCalibTower { registry.get(HIST("hEventCount"))->GetXaxis()->SetBinLabel(evSel_kIsGoodITSLayersAll + 1, "kkIsGoodITSLayersAll"); } - template uint8_t eventSelected(TCollision collision) { @@ -113,7 +112,7 @@ struct ZDCCalibTower { 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); } @@ -255,4 +254,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