Skip to content
Merged
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
111 changes: 0 additions & 111 deletions PWGCF/Femto/DataModel/PionDeuteronTables.h

This file was deleted.

133 changes: 133 additions & 0 deletions PWGCF/Femto/DataModel/PionNucleiTables.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
// 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.

///
/// \file PionNucleiTables.h
/// \brief Slim tables for piNuclei
/// \author CMY
/// \date 2025-04-10

#include "Framework/ASoAHelpers.h"
#include "Framework/AnalysisDataModel.h"

#ifndef PWGCF_FEMTO_DATAMODEL_PIONNUCLEITABLES_H_
#define PWGCF_FEMTO_DATAMODEL_PIONNUCLEITABLES_H_

namespace o2::aod
{
namespace pion_nuclei_tables
{

DECLARE_SOA_COLUMN(PtNu, ptNu, float);
DECLARE_SOA_COLUMN(EtaNu, etaNu, float);
DECLARE_SOA_COLUMN(PhiNu, phiNu, float);
DECLARE_SOA_COLUMN(PtHyp, ptHyp, float);
DECLARE_SOA_COLUMN(EtaHyp, etaHyp, float);
DECLARE_SOA_COLUMN(PhiHyp, phiHyp, float);
DECLARE_SOA_COLUMN(PtPi, ptPi, float);
DECLARE_SOA_COLUMN(EtaPi, etaPi, float);
DECLARE_SOA_COLUMN(PhiPi, phiPi, float);

DECLARE_SOA_COLUMN(DcaxyNu, dcaxyNu, float);
DECLARE_SOA_COLUMN(DcazNu, dcazNu, float);
DECLARE_SOA_COLUMN(DcaxyPi, dcaxyPi, float);
DECLARE_SOA_COLUMN(DcazPi, dcazPi, float);

DECLARE_SOA_COLUMN(SignalTPCNu, signalTPCNu, float);
DECLARE_SOA_COLUMN(InnerParamTPCNu, innerParamTPCNu, float);
DECLARE_SOA_COLUMN(SignalTPCPi, signalTPCPi, float);
DECLARE_SOA_COLUMN(InnerParamTPCPi, innerParamTPCPi, float);
DECLARE_SOA_COLUMN(NClsTPCNu, nClsTPCNu, uint8_t);
DECLARE_SOA_COLUMN(NSigmaTPCNu, nSigmaTPCNu, float);
DECLARE_SOA_COLUMN(NSigmaTPCPi, nSigmaTPCPi, float);
DECLARE_SOA_COLUMN(Chi2TPCNu, chi2TPCNu, float);
DECLARE_SOA_COLUMN(Chi2TPCPi, chi2TPCPi, float);
DECLARE_SOA_COLUMN(MassTOFNu, massTOFNu, float);
DECLARE_SOA_COLUMN(MassTOFPi, massTOFPi, float);
DECLARE_SOA_COLUMN(PidTrkNu, pidTrkNu, uint32_t);
DECLARE_SOA_COLUMN(PidTrkPi, pidTrkPi, uint32_t);

DECLARE_SOA_COLUMN(ItsClusterSizeNu, itsClusterSizeNu, uint32_t);
DECLARE_SOA_COLUMN(ItsClusterSizePi, itsClusterSizePi, uint32_t);

DECLARE_SOA_COLUMN(SharedClustersNu, sharedClustersNu, uint8_t);
DECLARE_SOA_COLUMN(SharedClustersPi, sharedClustersPi, uint8_t);

DECLARE_SOA_COLUMN(IsBkgUS, isBkgUS, bool);
DECLARE_SOA_COLUMN(IsBkgEM, isBkgEM, bool);

DECLARE_SOA_COLUMN(CollisionId, collisionId, int64_t);
DECLARE_SOA_COLUMN(ZVertex, zVertex, float);
DECLARE_SOA_COLUMN(Multiplicity, multiplicity, uint16_t);
DECLARE_SOA_COLUMN(CentFT0C, centFT0C, float);
DECLARE_SOA_COLUMN(MultiplicityFT0C, multiplicityFT0C, float);

} // namespace pion_nuclei_tables

DECLARE_SOA_TABLE(PionNucleiTable, "AOD", "PINUCLEITABLE",
pion_nuclei_tables::PtNu,
pion_nuclei_tables::EtaNu,
pion_nuclei_tables::PhiNu,
pion_nuclei_tables::PtPi,
pion_nuclei_tables::EtaPi,
pion_nuclei_tables::PhiPi,
pion_nuclei_tables::DcaxyNu,
pion_nuclei_tables::DcazNu,
pion_nuclei_tables::DcaxyPi,
pion_nuclei_tables::DcazPi,
pion_nuclei_tables::SignalTPCNu,
pion_nuclei_tables::InnerParamTPCNu,
pion_nuclei_tables::SignalTPCPi,
pion_nuclei_tables::InnerParamTPCPi,
pion_nuclei_tables::NClsTPCNu,
pion_nuclei_tables::NSigmaTPCNu,
pion_nuclei_tables::NSigmaTPCPi,
pion_nuclei_tables::Chi2TPCNu,
pion_nuclei_tables::Chi2TPCPi,
pion_nuclei_tables::MassTOFNu,
pion_nuclei_tables::MassTOFPi,
pion_nuclei_tables::PidTrkNu,
pion_nuclei_tables::PidTrkPi,
pion_nuclei_tables::ItsClusterSizeNu,
pion_nuclei_tables::ItsClusterSizePi,
pion_nuclei_tables::SharedClustersNu,
pion_nuclei_tables::SharedClustersPi,
pion_nuclei_tables::IsBkgUS,
pion_nuclei_tables::IsBkgEM)
DECLARE_SOA_TABLE(PionHyperTable, "AOD", "PIHYPERTABLE",
pion_nuclei_tables::PtHyp,
pion_nuclei_tables::EtaHyp,
pion_nuclei_tables::PhiHyp,
pion_nuclei_tables::PtPi,
pion_nuclei_tables::EtaPi,
pion_nuclei_tables::PhiPi,
pion_nuclei_tables::DcaxyPi,
pion_nuclei_tables::DcazPi,
pion_nuclei_tables::SignalTPCPi,
pion_nuclei_tables::InnerParamTPCPi,
pion_nuclei_tables::NSigmaTPCPi,
pion_nuclei_tables::Chi2TPCPi,
pion_nuclei_tables::MassTOFPi,
pion_nuclei_tables::PidTrkPi,
pion_nuclei_tables::ItsClusterSizePi,
pion_nuclei_tables::SharedClustersPi,
pion_nuclei_tables::IsBkgUS,
pion_nuclei_tables::IsBkgEM)
DECLARE_SOA_TABLE(PionNucleiMult, "AOD", "PINUCLEIMULT",
pion_nuclei_tables::CollisionId,
pion_nuclei_tables::ZVertex,
pion_nuclei_tables::Multiplicity,
pion_nuclei_tables::CentFT0C,
pion_nuclei_tables::MultiplicityFT0C)

} // namespace o2::aod

#endif // PWGCF_FEMTO_DATAMODEL_PIONNUCLEITABLES_H_
4 changes: 2 additions & 2 deletions PWGCF/Femto/TableProducer/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2019-2025 CERN and copyright holders of ALICE O2.

Check failure on line 1 in PWGCF/Femto/TableProducer/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 @@ -9,7 +9,7 @@
# granted to it by virtue of its status as an Intergovernmental Organization
# or submit itself to any jurisdiction.

o2physics_add_dpl_workflow(pideuteronfemto
SOURCES PiDeuteronFemto.cxx
o2physics_add_dpl_workflow(pinucleifemto

Check failure on line 12 in PWGCF/Femto/TableProducer/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-workflow]

Workflow name pinucleifemto does not match its file name PiNucleiFemto.cxx. (Matches pinucleifemto.cxx.)
SOURCES PiNucleiFemto.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::EventFilteringUtils
COMPONENT_NAME Analysis)
Loading
Loading