Skip to content
73 changes: 73 additions & 0 deletions PWGLF/DataModel/LFPhotonDeuteronTables.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
// 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 LFPhotonDeuteronTables.h
/// \brief Tables for photon-deuteron correlation analysis
/// \author Arvind Khuntia <arvind.khuntia@cern.ch> and Francesco Noferini <francesco.noferini@cern.ch>

#ifndef PWGLF_DATAMODEL_LFPHOTONDEUTERONTABLES_H_
#define PWGLF_DATAMODEL_LFPHOTONDEUTERONTABLES_H_

#include "Framework/AnalysisDataModel.h"

namespace o2::aod
{
namespace photondeuteron
{
DECLARE_SOA_COLUMN(PhotonPt, photonPt, float); //! Photon transverse momentum
DECLARE_SOA_COLUMN(PhotonEta, photonEta, float); //! Photon pseudorapidity
DECLARE_SOA_COLUMN(PhotonPhi, photonPhi, float); //! Photon azimuthal angle
DECLARE_SOA_COLUMN(PhotonMass, photonMass, float); //! Photon invariant mass
DECLARE_SOA_COLUMN(PhotonPosPt, photonPosPt, float); //! Positive daughter (e+) transverse momentum
DECLARE_SOA_COLUMN(PhotonPosEta, photonPosEta, float); //! Positive daughter (e+) pseudorapidity
DECLARE_SOA_COLUMN(PhotonPosPhi, photonPosPhi, float); //! Positive daughter (e+) azimuthal angle
DECLARE_SOA_COLUMN(PhotonPosNSigmaElTPC, photonPosNSigmaElTPC, float); //! Positive daughter (e+) NSigma electron TPC
DECLARE_SOA_COLUMN(PhotonNegPt, photonNegPt, float); //! Negative daughter (e-) transverse momentum
DECLARE_SOA_COLUMN(PhotonNegEta, photonNegEta, float); //! Negative daughter (e-) pseudorapidity
DECLARE_SOA_COLUMN(PhotonNegPhi, photonNegPhi, float); //! Negative daughter (e-) azimuthal angle
DECLARE_SOA_COLUMN(PhotonNegNSigmaElTPC, photonNegNSigmaElTPC, float); //! Negative daughter (e-) NSigma electron TPC
DECLARE_SOA_COLUMN(DeuteronPt, deuteronPt, float); //! Deuteron transverse momentum
DECLARE_SOA_COLUMN(DeuteronEta, deuteronEta, float); //! Deuteron pseudorapidity
DECLARE_SOA_COLUMN(DeuteronPhi, deuteronPhi, float); //! Deuteron azimuthal angle
DECLARE_SOA_COLUMN(DeuteronNSigmaTPC, deuteronNSigmaTPC, float); //! Deuteron NSigma TPC
DECLARE_SOA_COLUMN(DeuteronNSigmaTOF, deuteronNSigmaTOF, float); //! Deuteron NSigma TOF
DECLARE_SOA_COLUMN(DeltaPhi, deltaPhi, float); //! Delta phi between photon and deuteron
DECLARE_SOA_COLUMN(DeltaEta, deltaEta, float); //! Delta eta between photon and deuteron
DECLARE_SOA_COLUMN(InvMass, invMass, float); //! Photon-deuteron invariant mass
DECLARE_SOA_COLUMN(RelativeMomentum, relativeMomentum, float); //! Relative momentum k*_pn
} // namespace photondeuteron

DECLARE_SOA_TABLE(PhotonDeuteronPairs, "AOD", "PHOTONDPAIRS", //! Table for photon-deuteron pairs
photondeuteron::PhotonPt,
photondeuteron::PhotonEta,
photondeuteron::PhotonPhi,
photondeuteron::PhotonMass,
photondeuteron::PhotonPosPt,
photondeuteron::PhotonPosEta,
photondeuteron::PhotonPosPhi,
photondeuteron::PhotonPosNSigmaElTPC,
photondeuteron::PhotonNegPt,
photondeuteron::PhotonNegEta,
photondeuteron::PhotonNegPhi,
photondeuteron::PhotonNegNSigmaElTPC,
photondeuteron::DeuteronPt,
photondeuteron::DeuteronEta,
photondeuteron::DeuteronPhi,
photondeuteron::DeuteronNSigmaTPC,
photondeuteron::DeuteronNSigmaTOF,
photondeuteron::DeltaPhi,
photondeuteron::DeltaEta,
photondeuteron::InvMass,
photondeuteron::RelativeMomentum);
} // namespace o2::aod

#endif // PWGLF_DATAMODEL_LFPHOTONDEUTERONTABLES_H_
5 changes: 5 additions & 0 deletions PWGLF/TableProducer/Nuspex/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DCAFitter KFParticle::KFParticle O2::TOFBase O2::DetectorsVertexing O2Physics::EventFilteringUtils
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(hyhefour-builder

Check failure on line 17 in PWGLF/TableProducer/Nuspex/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-workflow]

Workflow name hyhefour-builder does not match its file name hyhe4builder.cxx. (Matches hyhefourBuilder.cxx.)
SOURCES hyhe4builder.cxx
PUBLIC_LINK_LIBRARIES O2::DCAFitter O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(hypertriton-reco-task

Check failure on line 22 in PWGLF/TableProducer/Nuspex/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-workflow]

Workflow name hypertriton-reco-task does not match its file name hyperRecoTask.cxx. (Matches hypertritonRecoTask.cxx.)
SOURCES hyperRecoTask.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DCAFitter O2Physics::EventFilteringUtils
COMPONENT_NAME Analysis)
Expand All @@ -29,12 +29,12 @@
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DCAFitter
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(nucleustreecreator

Check failure on line 32 in PWGLF/TableProducer/Nuspex/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-workflow]

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

o2physics_add_dpl_workflow(he3hadronfemto

Check failure on line 37 in PWGLF/TableProducer/Nuspex/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-workflow]

Workflow name he3hadronfemto does not match its file name he3HadronFemto.cxx. (Matches he3hadronfemto.cxx.)
SOURCES he3HadronFemto.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::EventFilteringUtils
COMPONENT_NAME Analysis)
Expand All @@ -44,7 +44,7 @@
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DetectorsBase O2Physics::EventFilteringUtils
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(spectra-derived

Check failure on line 47 in PWGLF/TableProducer/Nuspex/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-workflow]

Workflow name spectra-derived does not match its file name spectraDerivedMaker.cxx. (Matches spectraDerived.cxx.)
SOURCES spectraDerivedMaker.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)
Expand All @@ -59,22 +59,22 @@
PUBLIC_LINK_LIBRARIES O2::DCAFitter O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(cluster-studies-tree-creator

Check failure on line 62 in PWGLF/TableProducer/Nuspex/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-workflow]

Workflow name cluster-studies-tree-creator does not match its file name LFTreeCreatorClusterStudies.cxx. (Matches clusterStudiesTreeCreator.cxx.)
SOURCES LFTreeCreatorClusterStudies.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(pidtof-generic

Check failure on line 67 in PWGLF/TableProducer/Nuspex/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-workflow]

Workflow name pidtof-generic does not match its file name pidTOFGeneric.cxx. (Matches pidtofGeneric.cxx.)
SOURCES pidTOFGeneric.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::TOFBase
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(hypernuclei-kf-reco-task

Check failure on line 72 in PWGLF/TableProducer/Nuspex/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-workflow]

Workflow name hypernuclei-kf-reco-task does not match its file name hypKfRecoTask.cxx. (Matches hypernucleiKfRecoTask.cxx.)
SOURCES hypKfRecoTask.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore KFParticle::KFParticle
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(hypernuclei-kf-tree-creator

Check failure on line 77 in PWGLF/TableProducer/Nuspex/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-workflow]

Workflow name hypernuclei-kf-tree-creator does not match its file name hypKfTreeCreator.cxx. (Matches hypernucleiKfTreeCreator.cxx.)
SOURCES hypKfTreeCreator.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)
Expand All @@ -89,7 +89,7 @@
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore KFParticle::KFParticle O2::TOFBase O2Physics::EventFilteringUtils
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(nuclei-flow-trees

Check failure on line 92 in PWGLF/TableProducer/Nuspex/CMakeLists.txt

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-workflow]

Workflow name nuclei-flow-trees does not match its file name nucleiFlowTree.cxx. (Matches nucleiFlowTrees.cxx.)
SOURCES nucleiFlowTree.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DetectorsBase O2Physics::EventFilteringUtils
COMPONENT_NAME Analysis)
Expand All @@ -113,3 +113,8 @@
SOURCES particleCompositionCorrection.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::MLCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(photon-deuteron
SOURCES photonDeuteron.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)
Loading
Loading