Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Common/DataModel/ZDCInterCalib.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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<>,
Expand Down
10 changes: 5 additions & 5 deletions Common/TableProducer/zdcTaskInterCalib.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -103,7 +103,6 @@
registry.get<TH1>(HIST("hEventCount"))->GetXaxis()->SetBinLabel(evSel_kIsGoodITSLayersAll + 1, "kkIsGoodITSLayersAll");
}


template <typename TCollision>
uint8_t eventSelected(TCollision collision)
{
Expand All @@ -113,7 +112,7 @@
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);
}
Expand Down Expand Up @@ -255,4 +254,5 @@
{
return WorkflowSpec{
adaptAnalysisTask<ZDCCalibTower>(cfgc)};
}
}

Check failure on line 258 in Common/TableProducer/zdcTaskInterCalib.cxx

View workflow job for this annotation

GitHub Actions / PR formatting / whitespace

Trailing spaces

Remove the trailing spaces at the end of the line.
Loading