Skip to content
Open
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
54 changes: 54 additions & 0 deletions PWGLF/DataModel/ZDC2StageCalibrationTables.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
// This software is distributed under the terms of the GNU General Public
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
//
// In applying this license CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.

/// \author Sourav Kundu <sourav.kundu@cern.ch>

#ifndef PWGLF_DATAMODEL_ZDC2STAGECALIBRATIONTABLES_H_
#define PWGLF_DATAMODEL_ZDC2STAGECALIBRATIONTABLES_H_

#include <Framework/AnalysisDataModel.h>

#include <cstdint>

namespace o2::aod
{
namespace zdc2stagecalib
{
DECLARE_SOA_INDEX_COLUMN(Collision, collision);
DECLARE_SOA_COLUMN(TriggerSP, triggerSP, bool);
DECLARE_SOA_COLUMN(RunNumber, runNumber, int32_t);
DECLARE_SOA_COLUMN(GlobalBC, globalBC, uint64_t);
DECLARE_SOA_COLUMN(Centrality, centrality, float);
DECLARE_SOA_COLUMN(Vx, vx, float);
DECLARE_SOA_COLUMN(Vy, vy, float);
DECLARE_SOA_COLUMN(Vz, vz, float);
DECLARE_SOA_COLUMN(QxZDCA, qxZDCA, float);
DECLARE_SOA_COLUMN(QxZDCC, qxZDCC, float);
DECLARE_SOA_COLUMN(QyZDCA, qyZDCA, float);
DECLARE_SOA_COLUMN(QyZDCC, qyZDCC, float);
} // namespace zdc2stagecalib

DECLARE_SOA_TABLE(ZDC2StageCalibs, "AOD", "ZDC2STGCAL",
zdc2stagecalib::CollisionId,
zdc2stagecalib::TriggerSP,
zdc2stagecalib::RunNumber,
zdc2stagecalib::GlobalBC,
zdc2stagecalib::Centrality,
zdc2stagecalib::Vx,
zdc2stagecalib::Vy,
zdc2stagecalib::Vz,
zdc2stagecalib::QxZDCA,
zdc2stagecalib::QxZDCC,
zdc2stagecalib::QyZDCA,
zdc2stagecalib::QyZDCC);
} // namespace o2::aod

#endif // PWGLF_DATAMODEL_ZDC2STAGECALIBRATIONTABLES_H_
5 changes: 5 additions & 0 deletions PWGLF/TableProducer/Common/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2019-2020 CERN and copyright holders of ALICE O2.

Check failure on line 1 in PWGLF/TableProducer/Common/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-workflow]

Use kebab-case for names of workflows and match the name of the workflow file.
# See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
# All rights not expressly granted are reserved.
#
Expand All @@ -25,12 +25,12 @@
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DetectorsVertexing
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(tpcpid

Check failure on line 28 in PWGLF/TableProducer/Common/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-workflow]

Workflow name tpcpid does not match its file name lfTPCPID.cxx. (Matches tpcpid.cxx.)
SOURCES lfTPCPID.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(zdcsp

Check failure on line 33 in PWGLF/TableProducer/Common/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-workflow]

Workflow name zdcsp does not match its file name zdcSP.cxx. (Matches zdcsp.cxx.)
SOURCES zdcSP.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::AnalysisCCDB
COMPONENT_NAME Analysis)
Expand All @@ -44,3 +44,8 @@
SOURCES kinkBuilder.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DCAFitter
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(zdc2stagecalibration
SOURCES zdc2stagecalibration.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DetectorsVertexing
COMPONENT_NAME Analysis)
Loading
Loading